Revert "Revert "and added files""
[bcm963xx.git] / userapps / opensource / net-snmp / man / snmpdelta.1
1 .TH SNMPDELTA 1 "12 Mar 2001" "" "Net-SNMP"
2 .UC 4
3 .SH NAME
4 snmpdelta \- Monitor deltas of integer valued SNMP variables
5 .SH SYNOPSIS
6 snmpdelta [ common arguments ] [ -Ct ] [ -Cs ] [ -CS ] [ -Cm ] [ -CF configfile ] [ -Cl ] [ -CL SumFileName ] [ -Cp period ] [ -CP Peaks ] [ -Ck ] [ -CT ] oid [ oid ... ]
7 .SH "DESCRIPTION"
8 .B snmpdelta
9 will monitor the specified integer valued OIDs, and report changes
10 over time.
11 .PP
12 The
13 .I -Ct
14 flag will determine time interval from the monitored entity.
15 .PP
16 The
17 .I -Cs
18 flag will display a timestamp.
19 .PP
20 The
21 .I -CS
22 flag causes data to be logged into a Sum file.
23 .PP
24 .I -Cm
25 prints the max value ever attained.
26 .PP
27 .I -CF configfile
28 tells
29 .B snmpdelta
30 to read it's configuration from the specified file.
31 .PP
32 .I -Cl
33 tells
34 .B snmpdelta
35 to write it's configuration to files.
36 .PP
37 .I -CL
38 specified the sum filename.
39 .PP
40 .I -Cp period
41 specifies the poll period.
42 .PP
43 .I -CP peaks
44 specifies the reporting period in number of polling periods
45 .PP
46 .I -Ck
47 tells
48 .B snmpdelta
49 to keep seconds in it's output time format.
50 .PP
51 .I -CT
52 makes 
53 .B snmpdelta
54 print its output in tabular form.
55 .SH EXAMPLES
56 .nf
57 $ snmpdelta -c public -v 1 -Cs localhost IF-MIB::ifinucastpkts.3 IF-MIB::ifoutucastpkts.3
58 [20:15:43 6/14] ifInUcastPkts.3 /1 sec: 158
59 [20:15:43 6/14] ifOutUcastPkts.3 /1 sec: 158
60 [20:15:44 6/14] ifInUcastPkts.3 /1 sec: 184
61 [20:15:44 6/14] ifOutUcastPkts.3 /1 sec: 184
62 [20:15:45 6/14] ifInUcastPkts.3 /1 sec: 184
63 [20:15:45 6/14] ifOutUcastPkts.3 /1 sec: 184
64 [20:15:46 6/14] ifInUcastPkts.3 /1 sec: 158
65 [20:15:46 6/14] ifOutUcastPkts.3 /1 sec: 158
66 [20:15:47 6/14] ifInUcastPkts.3 /1 sec: 184
67 [20:15:47 6/14] ifOutUcastPkts.3 /1 sec: 184
68 [20:15:48 6/14] ifInUcastPkts.3 /1 sec: 184
69 [20:15:48 6/14] ifOutUcastPkts.3 /1 sec: 184
70 [20:15:49 6/14] ifInUcastPkts.3 /1 sec: 158
71 [20:15:49 6/14] ifOutUcastPkts.3 /1 sec: 158
72 ^C
73 $ snmpdelta -c public -v 1 -Cs -CT localhost IF-MIB:ifinucastpkts.3 IF-MIB:ifoutcastpkts.3
74 localhost       ifInUcastPkts.3 ifOutUcastPkts.3
75 [20:15:59 6/14] 184.00  184.00
76 [20:16:00 6/14] 158.00  158.00
77 [20:16:01 6/14] 184.00  184.00
78 [20:16:02 6/14] 184.00  184.00
79 [20:16:03 6/14] 158.00  158.00
80 [20:16:04 6/14] 184.00  184.00
81 [20:16:05 6/14] 184.00  184.00
82 [20:16:06 6/14] 158.00  158.00
83 ^C
84 .fi
85 $ snmpdelta -c public -v 1 -Ct -Cs -CS -Cm -Cl -Cp 60 -CP 60 interlink.sw.net.cmu.edu .1.3.6.1.2.1.2.2.1.16.3 .1.3.6.1.2.1.2.2.1.16.4
86 .SH "SEE ALSO"
87 snmpcmd(1), variables(5).