The Tru64 UNIX Simple Network Management Protocol (SNMP) agent implements the Host Resources MIB as described in RFC 1514. Although the RFC describes conceptual objects for management of host systems, it describes them in very general terms.
This appendix describes the Tru64 UNIX Host MIB implementation, including
each group or table defined in RFC 1514 (with sample data).
The formatting
of SNMP data is specific to the implementation of an application.
Compaq
currently does not ship an application that presents SNMP data in this manner
with Tru64 UNIX.
G.1 Tru64 UNIX Implementation Summary
The basic Tru64 UNIX implementation of RFC 1514 is as follows:
The RFC specifies that when a product registry does not exist,
all MIB variables of type
ProductID
return an object identifier
of 0.0.
The values of the
hrDeviceIndex
and
hrFSIndex
parameters remain unique between system reboots.
Write access is not implemented for any Host MIB object.
The system group object implementation notes are as follows:
The
hrSystemInitialLoadDevice
parameter
is not implemented.
The
hrSystemInitialLoadParameters
parameter
returns the name of the booted kernel.
The following are sample data:
{hrSystemUptime.0 , TimeTicks, 0d 23:00:20.00} {hrSystemDate.0 , OCTET STRING, 1995-11-28,15:31:52.01} {hrSystemInitialLoadParameters.0 , OCTET STRING, vmunix} {hrSystemNumUsers.0 , Gauge, 0} {hrSystemProcesses.0 , Gauge, 20} {hrSystemMaxProcesses.0 , INTEGER, 1024}
The operating system software represents three types of logical storage: swap space, kernel memory, and file systems. The storage group object implementation is as follows:
One entry in the
hrStorageTable
group is
the total kernel memory being used.
One entry is the current total swap space.
(The value of
the
hrStorageAllocationFailures
parameter for this entry
is always 0.)
There are several entries that each describe a specific type
of kernel memory (the kernel malloc table).
There is an entry for each memory
type listed in the
<sys/malloc.h>
header file that is
implemented on that particular host.
(The value of the
hrStorageDescr
parameter is derived from the
malloc.h
file).
Note
These entries do not represent actual fixed-size memory pools that could be exhausted. They do, however, indicate how system memory is being utilized amongst the various subsystems.
The value of the
hrStorageSize
parameter for the
kernel memory entries is always 0, since there is no actual limit.
There is one entry in the
hrStorageTable
group for each locally mounted file system.
As specified in RFC 1514, remotely
mounted file systems are not represented in the
hrStorageTable
group.
The value of the
hrStorageDescr
parameter
for file system-related entries is the same as the the
hrFSMountedPoint
parameter for the same file system in the
hrFSTable
group.
The values of the
hrStorageIndex
parameter
for file system-related entries is returned in the
hrFSStorageIndex
variable for the same file system in the
hrFSTable
group.
The value of the
hrStorageType
parameter
for file system storage entries is always
hrStorageOther
.
See Section G.5 for information on the file system implementation.
The following are sample storage group data:
{hrStorageIndex.1 , INTEGER, 1} {hrStorageType.1 , OBJECT IDENTIFIER, hrStorageRam} {hrStorageDescr.1 , OCTET STRING, Total Kernel Memory} {hrStorageAllocationUnits.1 , INTEGER, 1024} {hrStorageSize.1 , INTEGER, 2088960} {hrStorageUsed.1 , INTEGER, 261112} {hrStorageAllocationFailures.1 , Counter, 0} {hrStorageIndex.2 , INTEGER, 2} {hrStorageType.2 , OBJECT IDENTIFIER, hrStorageVirtualMemory} {hrStorageDescr.2 , OCTET STRING, Total Swap Space} {hrStorageAllocationUnits.2 , INTEGER, 1024} {hrStorageSize.2 , INTEGER, 200704} {hrStorageUsed.2 , INTEGER, 11920} {hrStorageAllocationFailures.2 , Counter, 0} {hrStorageIndex.3 , INTEGER, 3} {hrStorageType.3 , OBJECT IDENTIFIER, hrStorageRam} {hrStorageDescr.3 , OCTET STRING, MBUF} {hrStorageAllocationUnits.3 , INTEGER, 1} {hrStorageSize.3 , INTEGER, 0} {hrStorageUsed.3 , INTEGER, 4096} {hrStorageAllocationFailures.3 , Counter, 0} {hrStorageIndex.4 , INTEGER, 4} {hrStorageType.4 , OBJECT IDENTIFIER, hrStorageRam} {hrStorageDescr.4 , OCTET STRING, MCLUSTER} {hrStorageAllocationUnits.4 , INTEGER, 1} {hrStorageSize.4 , INTEGER, 0} {hrStorageUsed.4 , INTEGER, 32768} {hrStorageAllocationFailures.4 , Counter, 0}
.
.
.
{hrStorageIndex.99 , INTEGER, 99} {hrStorageType.99 , OBJECT IDENTIFIER, hrStorageOther} {hrStorageDescr.99 , OCTET STRING, /} {hrStorageAllocationUnits.99 , INTEGER, 1024} {hrStorageSize.99 , INTEGER, 63167} {hrStorageUsed.99 , INTEGER, 46098} {hrStorageAllocationFailures.99 , Counter, 0} {hrStorageIndex.100 , INTEGER, 100} {hrStorageType.100 , OBJECT IDENTIFIER, hrStorageOther} {hrStorageDescr.100 , OCTET STRING, /proc} {hrStorageAllocationUnits.100 , INTEGER, 8192} {hrStorageSize.100 , INTEGER, 0} {hrStorageUsed.100 , INTEGER, 0} {hrStorageAllocationFailures.100, Counter, 0} {hrStorageIndex.101 , INTEGER, 101} {hrStorageType.101 , OBJECT IDENTIFIER, hrStorageOther} {hrStorageDescr.101 , OCTET STRING, /usr} {hrStorageAllocationUnits.101 , INTEGER, 1024} {hrStorageSize.101 , INTEGER, 866102} {hrStorageUsed.101 , INTEGER, 596323} {hrStorageAllocationFailures.101, Counter, 0}
This implementation supports CPUs, network interfaces, and disks in the device-related tables; printers are not supported. The CPU support is as follows:
Each CPU physically attached to the system is represented
in both the
hrDevice
and
hrProcessor
tables.
The value of the
hrDeviceIndex
parameter for these
entries is the processor number plus 1.
The value of the
hrDeviceErrors
parameter
is always 0.
The value of the
hrDeviceStatus
parameter
is either
running
or
down
.
The value of the
hrProcessorLoad
parameter
is accurately determined for each processor running on the system.
Processor
idle time is any time spent in the IDLE or WAIT states.
Busy time is time
spent in any other state.
A background task records CPU time every 30 seconds, retaining 2 snapshots.
When an SNMP request is received, CPU times are fetched immediately and the
load average is calculated as the difference between this current data and
the least recent snapshot.
In this manner the values returned for the
hrProcessorLoad
parameter are current load averages over a period
of at least 30 seconds, but not more than 1 minute.
The value of the
hrProcessorLoad
parameter is calculated as follows:
(delta busy/( delta busy+ delta idle)) * 100
The disk support is as follows:
Each
re
,
ra
, and
rz
type disk whose special file is present in the
/dev
directory is represented in the
hrDeviceTable
group, the
hrdiskStorageTable
group, and the
hrPartitionTable
group.
The value of the
hrDeviceStatus
parameter
is
running
if the disk is online, or
down
if the disk is offline.
The value of the
hrDeviceErrors
parameter
is the sum of hard and soft errors reported for the disk.
The value of the
hrDiskStorageMedia
parameter
is always
unknown
.
Data cannot be retrieved currently for offline devices (for
instance, an empty CD-ROM drive).
In these cases, the
hrDiskStorage
entry is as follows:
media = 'unknown' capacity = 0 removable = 'false' access = 'readWrite'
The value of the
hrPartitionFSIndex
parameter is either zero (0) or the value of the
hrFSIndex
parameter for the
hrFSTable
entry corresponding
to the offline file system.
The network device support is as follows:
Each network interface is represented in both the
hrDeviceTable
group and
hrNetworkTable
group.
The value of the
hrDeviceStatus
parameter
is
running
if the interface is running,
down
if the interface is not up, or
unknown
.
The value of the
hrDeviceErrors
parameter
is the sum of inbound and outbound packet errors on that interface.
The value of the
hrNetworkIfIndex
parameter
is the same as the MIB-II value of the
ifIndex
parameter
for that interface.
The following are sample device table data:
{hrDeviceIndex.1 , INTEGER, 1} {hrDeviceType.1 , OBJECT IDENTIFIER, hrDeviceProcessor} {hrDeviceDescr.1 , OCTET STRING, Digital 2100 Server Model A500MP} {hrDeviceID.1 , OBJECT IDENTIFIER, 0.0} {hrDeviceStatus.1 , INTEGER, running} {hrDeviceErrors.1 , Counter, 0} {hrDeviceIndex.2 , INTEGER, 2} {hrDeviceType.2 , OBJECT IDENTIFIER, hrDeviceProcessor} {hrDeviceDescr.2 , OCTET STRING, Digital 2100 Server Model A500MP} {hrDeviceID.2 , OBJECT IDENTIFIER, 0.0} {hrDeviceStatus.2 , INTEGER, running} {hrDeviceErrors.2 , Counter, 0} {hrDeviceIndex.3 , INTEGER, 3} {hrDeviceType.3 , OBJECT IDENTIFIER, hrDeviceProcessor} {hrDeviceDescr.3 , OCTET STRING, Digital 2100 Server Model A500MP} {hrDeviceID.3 , OBJECT IDENTIFIER, 0.0} {hrDeviceStatus.3 , INTEGER, running} {hrDeviceErrors.3 , Counter, 0} {hrDeviceIndex.4 , INTEGER, 4} {hrDeviceType.4 , OBJECT IDENTIFIER, hrDeviceProcessor} {hrDeviceDescr.4 , OCTET STRING, Digital 2100 Server Model A500MP} {hrDeviceID.4 , OBJECT IDENTIFIER, 0.0} {hrDeviceStatus.4 , INTEGER, running} {hrDeviceErrors.4 , Counter, 0} {hrDeviceIndex.5 , INTEGER, 5} {hrDeviceType.5 , OBJECT IDENTIFIER, hrDeviceNetwork} {hrDeviceDescr.5 , OCTET STRING, tu0 - DEC TULIP Ethernet Interface} {hrDeviceID.5 , OBJECT IDENTIFIER, 0.0} {hrDeviceStatus.5 , INTEGER, running} {hrDeviceErrors.5 , Counter, 9} {hrDeviceIndex.6 , INTEGER, 6} {hrDeviceType.6 , OBJECT IDENTIFIER, hrDeviceNetwork} {hrDeviceDescr.6 , OCTET STRING, tra0 - DEC DW300 Token Ring Interface} {hrDeviceID.6 , OBJECT IDENTIFIER, 0.0} {hrDeviceStatus.6 , INTEGER, down} {hrDeviceErrors.6 , Counter, 0} {hrDeviceIndex.7 , INTEGER, 7} {hrDeviceType.7 , OBJECT IDENTIFIER, hrDeviceNetwork} {hrDeviceDescr.7 , OCTET STRING, ln0 - DEC LANCE Ethernet Interface} {hrDeviceID.7 , OBJECT IDENTIFIER, 0.0} {hrDeviceStatus.7 , INTEGER, running} {hrDeviceErrors.7 , Counter, 40} {hrDeviceIndex.8 , INTEGER, 8} {hrDeviceType.8 , OBJECT IDENTIFIER, hrDeviceNetwork} {hrDeviceDescr.8 , OCTET STRING, sl0 - Serial Line Interface} {hrDeviceID.8 , OBJECT IDENTIFIER, 0.0} {hrDeviceStatus.8 , INTEGER, down} {hrDeviceErrors.8 , Counter, 0} {hrDeviceIndex.9 , INTEGER, 9} {hrDeviceType.9 , OBJECT IDENTIFIER, hrDeviceNetwork} {hrDeviceDescr.9 , OCTET STRING, lo0 - Local Loopback Interface.} {hrDeviceID.9 , OBJECT IDENTIFIER, 0.0} {hrDeviceStatus.9 , INTEGER, unknown} {hrDeviceErrors.9 , Counter, 0} {hrDeviceIndex.10 , INTEGER, 10} {hrDeviceType.10 , OBJECT IDENTIFIER, hrDeviceNetwork} {hrDeviceDescr.10 , OCTET STRING, ppp0 - 2.2} {hrDeviceID.10 , OBJECT IDENTIFIER, 0.0} {hrDeviceStatus.10 , INTEGER, down} {hrDeviceErrors.10 , Counter, 0} {hrDeviceIndex.11 , INTEGER, 11} {hrDeviceType.11 , OBJECT IDENTIFIER, hrDeviceDiskStorage} {hrDeviceDescr.11 , OCTET STRING, /dev/rz0 - SCSI RZ28} {hrDeviceID.11 , OBJECT IDENTIFIER, 0.0} {hrDeviceStatus.11 , INTEGER, running} {hrDeviceErrors.11 , Counter, 0} {hrDeviceIndex.12 , INTEGER, 12} {hrDeviceType.12 , OBJECT IDENTIFIER, hrDeviceDiskStorage} {hrDeviceDescr.12 , OCTET STRING, /dev/rz1 - SCSI RZ28} {hrDeviceID.12 , OBJECT IDENTIFIER, 0.0} {hrDeviceStatus.12 , INTEGER, running} {hrDeviceErrors.12 , Counter, 0} {hrDeviceIndex.13 , INTEGER, 13} {hrDeviceType.13 , OBJECT IDENTIFIER, hrDeviceDiskStorage} {hrDeviceDescr.13 , OCTET STRING, /dev/rz6 - SCSI RRD43} {hrDeviceID.13 , OBJECT IDENTIFIER, 0.0} {hrDeviceStatus.13 , INTEGER, down} {hrDeviceErrors.13 , Counter, 0} {hrProcessorFrwID.1 , OBJECT IDENTIFIER, 0.0} {hrProcessorLoad.1 , INTEGER, 4} {hrProcessorFrwID.2 , OBJECT IDENTIFIER, 0.0} {hrProcessorLoad.2 , INTEGER, 0} {hrProcessorFrwID.3 , OBJECT IDENTIFIER, 0.0} {hrProcessorLoad.3 , INTEGER, 10} {hrProcessorFrwID.4 , OBJECT IDENTIFIER, 0.0} {hrProcessorLoad.4 , INTEGER, 19} {hrDiskStorageAccess.11 , INTEGER, readWrite} {hrDiskStorageMedia.11 , INTEGER, unknown} {hrDiskStorageRemoveble.11 , INTEGER, false} {hrDiskStorageCapacity.11 , INTEGER, 2055240} {hrDiskStorageAccess.12 , INTEGER, readWrite} {hrDiskStorageMedia.12 , INTEGER, unknown} {hrDiskStorageRemoveble.12 , INTEGER, false} {hrDiskStorageCapacity.12 , INTEGER, 2055240} {hrDiskStorageAccess.13 , INTEGER, readWrite} {hrDiskStorageMedia.13 , INTEGER, unknown} {hrDiskStorageRemoveble.13 , INTEGER, false} {hrDiskStorageCapacity.13 , INTEGER, 0} {hrPartitionIndex.11.1 , INTEGER, 1} {hrPartitionLabel.11.1 , OCTET STRING, /dev/rz0a} {hrPartitionID.11.1 , OCTET STRING, } {hrPartitionSize.11.1 , INTEGER, 65536} {hrPartitionFSIndex.11.1 , INTEGER, 1} {hrPartitionIndex.11.2 , INTEGER, 2} {hrPartitionLabel.11.2 , OCTET STRING, /dev/rz0b} {hrPartitionID.11.2 , OCTET STRING, } {hrPartitionSize.11.2 , INTEGER, 200704} {hrPartitionFSIndex.11.2 , INTEGER, 0} {hrPartitionIndex.11.3 , INTEGER, 3} {hrPartitionLabel.11.3 , OCTET STRING, /dev/rz0c} {hrPartitionID.11.3 , OCTET STRING, } {hrPartitionSize.11.3 , INTEGER, 2055240} {hrPartitionFSIndex.11.3 , INTEGER, 0} {hrPartitionIndex.11.4 , INTEGER, 4} {hrPartitionLabel.11.4 , OCTET STRING, /dev/rz0d} {hrPartitionID.11.4 , OCTET STRING, } {hrPartitionSize.11.4 , INTEGER, 595968} {hrPartitionFSIndex.11.4 , INTEGER, 0} {hrPartitionIndex.11.5 , INTEGER, 5} {hrPartitionLabel.11.5 , OCTET STRING, /dev/rz0e} {hrPartitionID.11.5 , OCTET STRING, } {hrPartitionSize.11.5 , INTEGER, 595968} {hrPartitionFSIndex.11.5 , INTEGER, 0} {hrPartitionIndex.11.6 , INTEGER, 6} {hrPartitionLabel.11.6 , OCTET STRING, /dev/rz0f} {hrPartitionID.11.6 , OCTET STRING, } {hrPartitionSize.11.6 , INTEGER, 597064} {hrPartitionFSIndex.11.6 , INTEGER, 0} {hrPartitionIndex.11.7 , INTEGER, 7} {hrPartitionLabel.11.7 , OCTET STRING, /dev/rz0g} {hrPartitionID.11.7 , OCTET STRING, } {hrPartitionSize.11.7 , INTEGER, 893952} {hrPartitionFSIndex.11.7 , INTEGER, 3} {hrPartitionIndex.11.8 , INTEGER, 8} {hrPartitionLabel.11.8 , OCTET STRING, /dev/rz0h} {hrPartitionID.11.8 , OCTET STRING, } {hrPartitionSize.11.8 , INTEGER, 895048} {hrPartitionFSIndex.11.8 , INTEGER, 0} {hrPartitionIndex.12.1 , INTEGER, 1} {hrPartitionLabel.12.1 , OCTET STRING, /dev/rz1a} {hrPartitionID.12.1 , OCTET STRING, } {hrPartitionSize.12.1 , INTEGER, 65536} {hrPartitionFSIndex.12.1 , INTEGER, 0} {hrPartitionIndex.12.2 , INTEGER, 2} {hrPartitionLabel.12.2 , OCTET STRING, /dev/rz1b} {hrPartitionID.12.2 , OCTET STRING, } {hrPartitionSize.12.2 , INTEGER, 200704} {hrPartitionFSIndex.12.2 , INTEGER, 0} {hrPartitionIndex.12.3 , INTEGER, 3} {hrPartitionLabel.12.3 , OCTET STRING, /dev/rz1c} {hrPartitionID.12.3 , OCTET STRING, } {hrPartitionSize.12.3 , INTEGER, 2055240} {hrPartitionFSIndex.12.3 , INTEGER, 0} {hrPartitionIndex.12.4 , INTEGER, 4} {hrPartitionLabel.12.4 , OCTET STRING, /dev/rz1d} {hrPartitionID.12.4 , OCTET STRING, } {hrPartitionSize.12.4 , INTEGER, 595968} {hrPartitionFSIndex.12.4 , INTEGER, 0} {hrPartitionIndex.12.5 , INTEGER, 5} {hrPartitionLabel.12.5 , OCTET STRING, /dev/rz1e} {hrPartitionID.12.5 , OCTET STRING, } {hrPartitionSize.12.5 , INTEGER, 595968} {hrPartitionFSIndex.12.5 , INTEGER, 0} {hrPartitionIndex.12.6 , INTEGER, 6} {hrPartitionLabel.12.6 , OCTET STRING, /dev/rz1f} {hrPartitionID.12.6 , OCTET STRING, } {hrPartitionSize.12.6 , INTEGER, 597064} {hrPartitionFSIndex.12.6 , INTEGER, 0} {hrPartitionIndex.12.7 , INTEGER, 7} {hrPartitionLabel.12.7 , OCTET STRING, /dev/rz1g} {hrPartitionID.12.7 , OCTET STRING, } {hrPartitionSize.12.7 , INTEGER, 893952} {hrPartitionFSIndex.12.7 , INTEGER, 0} {hrPartitionIndex.12.8 , INTEGER, 8} {hrPartitionLabel.12.8 , OCTET STRING, /dev/rz1h} {hrPartitionID.12.8 , OCTET STRING, } {hrPartitionSize.12.8 , INTEGER, 895048} {hrPartitionFSIndex.12.8 , INTEGER, 0} {hrNetworkIfIndex.5 , INTEGER, 1} {hrNetworkIfIndex.6 , INTEGER, 2} {hrNetworkIfIndex.7 , INTEGER, 3} {hrNetworkIfIndex.8 , INTEGER, 4} {hrNetworkIfIndex.9 , INTEGER, 5} {hrNetworkIfIndex.10 , INTEGER, 6}
The file system table implementation is as follows:
Each currently mounted file system is represented in the
hrFSTable
group.
The available values for the
hrFSType
parameter
do not cover all possible file system types in the operating system.
Some
types (for example,
/proc
) report a value of
hrFSOther
for the
hrFSType
object.
The
hrFSRemoteMountPoint
parameter is returned
as a zero-length octet string for local file systems, as specified in RFC
1514.
The
hrFSStorageIndex
parameter returns
a zero (0) for remote file systems, in accordance with RFC 1514.
For local
file systems, the
hrFSStorageIndex
parameter returns the
value of the
hrStorageIndex
parameter for the
hrStorageEntry
entry corresponding to that file system.
The RFC specifies this design, presumably so that all storage-related information is available in one table. However, in order to discover file system full conditions, an SNMP application needs to do the following:
Locate an entry in the the
hrFSTable
group.
Retrieve that entry's value of the
hrFSStorageIndex
parameter.
For example, call it
i.
If
i
is not zero (0), retrieve
the values of the
hrStorageUsed.i
and
hrStorageSize.i
parameters.
The value of the
hrFSBootable
parameter
is always returned as False.
The values of the
hrFSLastFullBackupDate
and
hrFSLastPartialBackupDate
parameters are always returned
as {January 1 year 0 time 0}, in the DateAndTime format, as specified in RFC
1514, when these values are unknown.
The following are sample file system table data:
{hrFSIndex.1 , INTEGER, 1} {hrFSMountPoint.1 , OCTET STRING, /} {hrFSRemoteMountPoint.1 , OCTET STRING, } {hrFSType.1 , OBJECT IDENTIFIER, hrFSBerkeleyFFS} {hrFSAccess.1 , INTEGER, readWrite} {hrFSBootable.1 , INTEGER, false} {hrFSStorageIndex.1 , INTEGER, 99} {hrFSLastFullBackupDate.1 , OCTET STRING, 0-1-1,0:0:0.0} {hrFSLastPartialBackupDate.1 , OCTET STRING, 0-1-1,0:0:0.0} {hrFSIndex.2 , INTEGER, 2} {hrFSMountPoint.2 , OCTET STRING, /proc} {hrFSRemoteMountPoint.2 , OCTET STRING, } {hrFSType.2 , OBJECT IDENTIFIER, hrFSOther} {hrFSAccess.2 , INTEGER, readWrite} {hrFSBootable.2 , INTEGER, false} {hrFSStorageIndex.2 , INTEGER, 100} {hrFSLastFullBackupDate.2 , OCTET STRING, 0-1-1,0:0:0.0} {hrFSLastPartialBackupDate.2 , OCTET STRING, 0-1-1,0:0:0.0} {hrFSIndex.3 , INTEGER, 3} {hrFSMountPoint.3 , OCTET STRING, /usr} {hrFSRemoteMountPoint.3 , OCTET STRING, } {hrFSType.3 , OBJECT IDENTIFIER, hrFSBerkeleyFFS} {hrFSAccess.3 , INTEGER, readWrite} {hrFSBootable.3 , INTEGER, false} {hrFSStorageIndex.3 , INTEGER, 101} {hrFSLastFullBackupDate.3 , OCTET STRING, 0-1-1,0:0:0.0} {hrFSLastPartialBackupDate.3 , OCTET STRING, 0-1-1,0:0:0.0} {hrFSIndex.4 , INTEGER, 4} {hrFSMountPoint.4 , OCTET STRING, /tools} {hrFSRemoteMountPoint.4 , OCTET STRING, /tools@tools} {hrFSType.4 , OBJECT IDENTIFIER, hrFSNFS} {hrFSAccess.4 , INTEGER, readWrite} {hrFSBootable.4 , INTEGER, false} {hrFSStorageIndex.4 , INTEGER, 0} {hrFSLastFullBackupDate.4 , OCTET STRING, 0-1-1,0:0:0.0} {hrFSLastPartialBackupDate.4 , OCTET STRING, 0-1-1,0:0:0.0}
The running software table implementation is as follows:
The
hrSWOSIndex
parameter is always returned
as zero (0), the kernel idle process.
There is no one process that represents
the primary operating system running on this host for Tru64 UNIX.
Each process is represented as an entry in both the
hrSWRunTable
group and the
hrSWRunPerfTable
group.
The value of the
hrSWRunIndex
parameter (used to index
both tables) is the pid of that process.
This means there is an entry whose
hrSWRunIndex
parameter value is 0 (zero), which is not typical of
SNMP tables.
The
hrSWRunName
parameter is always returned
as a zero-length octet string.
The
hrSWRunType
parameter is always returned
as
unknown
.
The
hrSWRunStatus
parameter is returned
as either
running
(processes that are capable of being
run or are waiting for CPU), or
notrunnable
(stopped or
waiting for non-CPU resources).
The
hrSWRunPath
parameter and the
hrSWRunParameters
parameter return the command and parameters, respectively,
that were used to start this process.
This is similar, but not identical,
to the output of the
ps
command.
The
hrSWRunPerfCPU
parameter returns the
sum of accumulated system and user time for all threads running in a process.
This value is equivalent to the value returned by the
ps
cputime specifier (adjusted to units of centiseconds).
The
hrSWRunPerfMem
parameter returns the
current resident set size of the process.
This value is equivalent to the
value returned by the
ps rssize
specifier, adjusted to
units of 1024 bytes (a "Kbyte" as defined in RFC 1514).
The following are sample running software table data:
{hrSWRunIndex.0 , INTEGER, 0} {hrSWRunName.0 , OCTET STRING, } {hrSWRunID.0 , OBJECT IDENTIFIER, 0.0} {hrSWRunPath.0 , OCTET STRING, } {hrSWRunParameters.0 , OCTET STRING, } {hrSWRunType.0 , INTEGER, unknown} {hrSWRunStatus.0 , INTEGER, running} {hrSWRunIndex.1 , INTEGER, 1} {hrSWRunName.1 , OCTET STRING, } {hrSWRunID.1 , OBJECT IDENTIFIER, 0.0} {hrSWRunPath.1 , OCTET STRING, /sbin/init} {hrSWRunParameters.1 , OCTET STRING, -a} {hrSWRunType.1 , INTEGER, unknown} {hrSWRunStatus.1 , INTEGER, notRunnable} {hrSWRunIndex.3 , INTEGER, 3} {hrSWRunName.3 , OCTET STRING, } {hrSWRunID.3 , OBJECT IDENTIFIER, 0.0} {hrSWRunPath.3 , OCTET STRING, /sbin/kloadsrv} {hrSWRunParameters.3 , OCTET STRING, } {hrSWRunType.3 , INTEGER, unknown} {hrSWRunStatus.3 , INTEGER, notRunnable} {hrSWRunIndex.16 , INTEGER, 16} {hrSWRunName.16 , OCTET STRING, } {hrSWRunID.16 , OBJECT IDENTIFIER, 0.0} {hrSWRunPath.16 , OCTET STRING, /sbin/update} {hrSWRunParameters.16 , OCTET STRING, } {hrSWRunType.16 , INTEGER, unknown} {hrSWRunStatus.16 , INTEGER, notRunnable}
.
.
.
{hrSWRunIndex.142 , INTEGER, 142} {hrSWRunName.142 , OCTET STRING, } {hrSWRunID.142 , OBJECT IDENTIFIER, 0.0} {hrSWRunPath.142 , OCTET STRING, /usr/sbin/routed} {hrSWRunParameters.142 , OCTET STRING, -q} {hrSWRunType.142 , INTEGER, unknown} {hrSWRunStatus.142 , INTEGER, notRunnable} {hrSWRunIndex.228 , INTEGER, 228} {hrSWRunName.228 , OCTET STRING, } {hrSWRunID.228 , OBJECT IDENTIFIER, 0.0} {hrSWRunPath.228 , OCTET STRING, /usr/sbin/nfsiod} {hrSWRunParameters.228 , OCTET STRING, 7} {hrSWRunType.228 , INTEGER, unknown} {hrSWRunStatus.228 , INTEGER, notRunnable} {hrSWRunIndex.394 , INTEGER, 394} {hrSWRunName.394 , OCTET STRING, } {hrSWRunID.394 , OBJECT IDENTIFIER, 0.0} {hrSWRunPath.394 , OCTET STRING, /usr/dt/bin/dtlogin} {hrSWRunParameters.394 , OCTET STRING, -daemon} {hrSWRunType.394 , INTEGER, unknown} {hrSWRunStatus.394 , INTEGER, notRunnable} {hrSWRunIndex.395 , INTEGER, 395} {hrSWRunName.395 , OCTET STRING, } {hrSWRunID.395 , OBJECT IDENTIFIER, 0.0} {hrSWRunPath.395 , OCTET STRING, /usr/sbin/getty} {hrSWRunParameters.395 , OCTET STRING, console console vt100} {hrSWRunType.395 , INTEGER, unknown} {hrSWRunStatus.395 , INTEGER, notRunnable} {hrSWRunIndex.396 , INTEGER, 396} {hrSWRunName.396 , OCTET STRING, } {hrSWRunID.396 , OBJECT IDENTIFIER, 0.0} {hrSWRunPath.396 , OCTET STRING, /usr/bin/X11/X} {hrSWRunParameters.396 , OCTET STRING, :0 -auth /var/dt/A:0-aaamka} {hrSWRunType.396 , INTEGER, unknown} {hrSWRunStatus.396 , INTEGER, notRunnable} {hrSWRunIndex.397 , INTEGER, 397} {hrSWRunName.397 , OCTET STRING, } {hrSWRunID.397 , OBJECT IDENTIFIER, 0.0} {hrSWRunPath.397 , OCTET STRING, dtlogin} {hrSWRunParameters.397 , OCTET STRING, <:0> -daemon} {hrSWRunType.397 , INTEGER, unknown} {hrSWRunStatus.397 , INTEGER, notRunnable}
.
.
.
{hrSWRunPerfCPU.0 , INTEGER, 9288} {hrSWRunPerfMem.0 , INTEGER, 10024} {hrSWRunPerfCPU.1 , INTEGER, 34} {hrSWRunPerfMem.1 , INTEGER, 64} {hrSWRunPerfCPU.3 , INTEGER, 17} {hrSWRunPerfMem.3 , INTEGER, 2000} {hrSWRunPerfCPU.16 , INTEGER, 4476} {hrSWRunPerfMem.16 , INTEGER, 88}
.
.
.
{hrSWRunPerfCPU.142 , INTEGER, 891} {hrSWRunPerfMem.142 , INTEGER, 112} {hrSWRunPerfCPU.228 , INTEGER, 0} {hrSWRunPerfMem.228 , INTEGER, 56} {hrSWRunPerfCPU.394 , INTEGER, 51} {hrSWRunPerfMem.394 , INTEGER, 264} {hrSWRunPerfCPU.395 , INTEGER, 7} {hrSWRunPerfMem.395 , INTEGER, 80} {hrSWRunPerfCPU.396 , INTEGER, 4329} {hrSWRunPerfMem.396 , INTEGER, 2648} {hrSWRunPerfCPU.397 , INTEGER, 8} {hrSWRunPerfMem.397 , INTEGER, 232}
.
.
.