Download here - Fognet Consulting

Transcript
Status Polling - netmon
net mon troubleshooting, tracing and dumping
Ru n: netmon -M <mask> to send an event to the ru nning netmon to
tu rn on tracing. Once tracing is enabled , ru n: nmdemandpoll <node
name> or p erform som e other action to get netmon to p erform the task
to trace. Trace ou tp u t is w ritten $OV_LOG/ netm on.trace. Ru n:
netmon -M 0 to tu rn off tracing as netmon.trace grow s w ithou t bou nd s
and can easily fill u p a d isk w ith m ore ver bose tracem asks. Tracem asks
are ad d itive, so to trace both SN MP requ ests and SN MP rep lies and
tim eou ts, u se a tracem ask of 12 (4+8). Several tracem asks are listed in
the netmon m an/ ref p age; the follow ing are som e ad d itional
tracem asks:
0x00000100
0xffffffff
Trace effects of netmon.cm str file
Turn on all m asks – uses lots of d isk/ CPU
netmon –a <action-number> d u m p s netmon internal d ata stru ctu res
su ch as p ing lists and SN MP lists to $OV_LOG/ netm on.trace. Use the
follow ing com m and to d u m p a list of all action-nu m bers and their
m eanings: netmon –a ?
netmon –n <target> d u m p s verbose inform ation abou t the target
nod e to $OV_LOG/ netm on.trace, inclu d ing the critical p ath.
netmon
–i <IP> d u m p s verbose inform ation abou t the target
Interface to $OV_LOG/ netm on.trace inclu d ing the critical p ath.
67