Hi i like to create a item to monitoring the Kilobytes IN and OUT in a agent AIX 5.3 whit key
system.run
I like to use these command netstat -v these is the result
Transmit Statistics: Receive Statistics:
-------------------- -------------------
Packets: 683113 Packets: 2034057
Bytes: 2559976 Bytes: 890201743
Interrupts: 1165 Interrupts: 1802362
Transmit Errors: 0 Receive Errors: 0
Packets Dropped: 0 Packets Dropped: 0
Im taked the result whit these command
netstat -v en0 | grep ^Bytes | awk '{ print $ 2 }'
I Capure a number 2559976 correct but my question is how a can tho see these results in MB and if these a correct value for I need
i like see the result same the linux item
Thanks
system.run
I like to use these command netstat -v these is the result
Transmit Statistics: Receive Statistics:
-------------------- -------------------
Packets: 683113 Packets: 2034057
Bytes: 2559976 Bytes: 890201743
Interrupts: 1165 Interrupts: 1802362
Transmit Errors: 0 Receive Errors: 0
Packets Dropped: 0 Packets Dropped: 0
Im taked the result whit these command
netstat -v en0 | grep ^Bytes | awk '{ print $ 2 }'
I Capure a number 2559976 correct but my question is how a can tho see these results in MB and if these a correct value for I need
i like see the result same the linux item
Thanks
Comment