1SNMPPS(1)                          Net-SNMP                          SNMPPS(1)
2
3
4

NAME

6       snmpps - display process table on a network entity via SNMP
7

SYNOPSIS

9       snmpps [COMMON OPTIONS] [-Cp] [-Ca] [-C n | m | t ] AGENT
10
11       snmptop [COMMON OPTIONS] [-Cp] [-Ca] [-C n | m | t ] AGENT
12

DESCRIPTION

14       snmpps  is  a  networked  version of a simple ps command. It checks the
15       processes on the remote machine by examining  the  HOST-RESOURCES-MIB's
16       hrSWRunTable and the hrSWRunPerfTable.
17
18       AGENT  identifies a target SNMP agent, which is instrumented to monitor
19       the given objects.  At its simplest, the AGENT specification will  con‐
20       sist  of a hostname or an IPv4 address.  In this situation, the command
21       will attempt communication with the agent, using UDP/IPv4 to  port  161
22       of  the  given  target  host. See the snmpcmd(1) manual page for a full
23       list of the possible formats for AGENT.
24
25       snmptop emulates the top command using SNMP. While  running,  the  key‐
26       board  inputs  of 'c', 'n', 'm', 't' switches sorting between cpu, pid,
27       memory, or total runtime.  Typing 'i' toggles  hiding  idle  processes,
28       while  'o'  toggles hiding Os processes.  Typing 'a' toggles display of
29       hrSWRunParameters, 'p' toggles display of hrSWRunPath.
30
31

OPTIONS

33       COMMON OPTIONS
34               Please see snmpcmd(1) for a list of possible values for  COMMON
35               OPTIONS as well as their descriptions.
36
37       -Cp     Show hrSWRunPath in addition to hrSWRunName
38
39       -Ca     Show hrSWRunParameters in addition to hrSWRunName
40
41       -Ct     Sort display by total CPU usage
42
43       -Cm     Sort display by memory usage
44
45       -Cn     Sort display numeric by PID
46

EXAMPLES

48       % snmpps -v 2c -c public localhost
49
50       Index Type Status     Memory         CPU Command
51           1 Appl   Wait     1.00MB        1.29 init
52         554 Appl   Wait   364.00kB        0.03 udevd
53        1813 Appl    Run     6.73MB        0.41 snmpd
54        1833 Appl   Wait     1.27MB        3.49 rsyslogd
55        1871 Appl   Wait   496.00kB       47.92 irqbalance
56        1890 Appl   Wait   648.00kB        0.62 rpcbind
57        2121 Appl   Wait     1.89MB        0.00 bash
58        2150 Appl   Wait     3.49MB        0.16 vim
59        2185 Appl   Wait   556.00kB        0.00 sleep
60

SEE ALSO

62       snmpcmd(1), snmp.conf(5)
63
64
65
66V5.8                              04 Nov 2013                        SNMPPS(1)
Impressum