AIX - snmpd version

Hi,

I have a P595 server with AIX 5.3 and i need to know what version of snmpd i use on this:
Example: On solaris i use Net-snmpd 5.4.2.1 (netsnmp-5.4.2.1-sol9-sparc-local) because i can see the package.

How can i see what snmpd package is installed on the AIX?

Thanks...

You can grep the output of

$> lslpp -l| grep -i snmp

Also you could check where it is, if it is installed with

$> which snmpd
/usr/sbin/snmpd

and then which package it is

$> lslpp -w /usr/sbin/snmpd

No offence, but if you have further basic AIX questions, you might want to have a look here (in case you come from another OS):
Rosetta Stone for Unix

Btw.: apart from the AIX-specific commands which colleague zaxxon already explained you could resort to basic Unix utilities, namely "what", which tells you the revision code. The following example is from a AIX 6.1-system at ML 5, your output should look similar to this:

bakunin@aix # which snmpd
/usr/sbin/snmpd

bakunin@aix # what /usr/sbin/snmpd
/usr/sbin/snmpd:
        61      1.16  src/bos/usr/ccs/lib/libc/__threads_init.c, libcthrd, bos61B, b2007_33A0 8/2/07 13:09:21
        76 1.17 src/tcpip/usr/sbin/snmpdv3/s_agv123.c, snmp, tcpip61B, b2007_40A7 9/21/07 17:00:12
        03 1.2 src/tcpip/usr/sbin/snmpdv3/snmpd_newlog.c, snmp, tcpip610 2/24/02 11:24:33
        86 1.1 src/tcpip/usr/sbin/snmpdv3/s_cfv123.c, snmp, tcpip610 10/2/01 15:06:56
        98 1.1 src/tcpip/usr/sbin/snmpdv3/s_ourcnf.c, snmp, tcpip610 10/2/01 15:14:23
        93 1.3 src/tcpip/usr/sbin/snmpdv3/s_dynini.c, snmp, tcpip610 6/18/02 17:05:50
        94 1.5 src/tcpip/usr/sbin/snmpdv3/s_dynlst.c, snmp, tcpip61B, b2007_40A7 9/6/07 14:38:27
        91 1.4 src/tcpip/usr/sbin/snmpdv3/s_dynfre.c, snmp, tcpip61B, b2007_40A7 9/6/07 14:38:03
        90 1.5 src/tcpip/usr/sbin/snmpdv3/s_dyncfy.c, snmp, tcpip61B, b2007_40A7 9/7/07 16:44:48
        95 1.6 src/tcpip/usr/sbin/snmpdv3/s_mtable.c, snmp, tcpip610 10/31/06 14:02:06
        02 1.3 src/tcpip/usr/sbin/snmpdv3/snmp_log.c, snmp, tcpip610 6/17/02 19:44:44
        89 1.4 src/tcpip/usr/sbin/snmpdv3/s_dynbas.c, snmp, tcpip61B, b2007_40A7 9/6/07 14:37:21
        01 1.1 src/tcpip/usr/sbin/snmpdv3/snmp_dll.c, snmp, tcpip610 10/2/01 15:16:08
        92 1.7 src/tcpip/usr/sbin/snmpdv3/s_dynfup.c, snmp, tcpip61B, b2007_40A7 9/7/07 16:50:55
        05 1.4 src/tcpip/usr/sbin/snmpdv3/src.c, snmp, tcpip610 6/19/02 12:21:00

I hope this helps.

bakunin

Hi,

I solve it, thanks for the help.