Skip to content

ROS topics: Net Monitor#

Network Usage#

/diagnostics/net_monitor: Network Usage

[summary]

level message
OK OK

[values]

key value (example)
Network [0-9]: status OK
Network [0-9]: interface name wlp82s0
Network [0-9]: rx_usage 0.00%
Network [0-9]: tx_usage 0.00%
Network [0-9]: rx_traffic 0.00 MB/s
Network [0-9]: tx_traffic 0.00 MB/s
Network [0-9]: capacity 400.0 MB/s
Network [0-9]: mtu 1500
Network [0-9]: rx_bytes 58455228
Network [0-9]: rx_errors 0
Network [0-9]: tx_bytes 11069136
Network [0-9]: tx_errors 0
Network [0-9]: collisions 0

Network Traffic#

/diagnostics/net_monitor: Network Traffic

[summary]

level message
OK OK

[values] program

key value (example)
nethogs [0-9]: PROGRAM /lambda/greengrassSystemComponents/1384/999
nethogs [0-9]: SENT (KB/Sec) 1.13574
nethogs [0-9]: RECEIVED (KB/Sec) 0.261914

[values] all

key value (example)
nethogs: all (KB/Sec) python3.7/1520/999 0.274414 0.354883
/lambda/greengrassSystemComponents/1299/999 0.487305 0.0966797
sshd: muser@pts/5/15917/1002 0.396094 0.0585938
/usr/bin/python3.7/2371/999 0 0
/greengrass/ggc/packages/1.10.0/bin/daemon/906/0 0 0
python3.7/4362/999 0 0
unknown TCP/0/0 0 0

[values] error

key value (example)
error [nethogs -t] execve failed: No such file or directory