Can I access Realtime Graphs in ssh?


Can I access these realtime value of upload and download speed in my bash script?

Google says

/sys/class/net/$1/statistics/rx_packets
/sys/class/net/$1/statistics/tx_packets

or

/proc/$1/net/netstat

But I haven't verified it.

2 Likes

This worked easily, before I was parsing ifconfig command.
Your are awesome. Thanks.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.