getid(1M) getid(1M)
NAME
getid - retrieve system MIB variables from an SNMP entity
SYNOPSIS
getid [-T timeout] entity_addr community_string
DESCRIPTION
The getid command is an SNMP application that retrieves the
variables sysDescr.0, sysObjectID.0, and sysUpTime.0 from an
SNMP entity.
The arguments are the entity's address and the community
string needed for access to the SNMP entity.
The entity address can be either an IP address or entity name
(if name-to-address resolution is enabled).
The community string used must be valid on the given entity.
On UnixWare, community strings are kept in
/etc/netmgt/snmpd.comm.
By default, getid waits 20 seconds for a response from the
entity specified by entity_addr. Use the -T timeout option to
specify a different number of seconds for the command to wait
for a response.
The primary purpose of this application is to illustrate the
use of the SNMP library routines.
REFERENCES
getmany(1M), getone(1M), getnext(1M), snmp(1M), snmpstat(1M),
snmpd.comm(4), RFC 1155, RFC 1157, RFC 1213.
Copyright 1994 Novell, Inc. Page 1