netinfo
- show interfaces stat (using /proc/net/dev)
- -w option to watch. Watching for file descriptor will provide stream of events
- search for process should include:
- systemd service
- process name
- PID
- reduce.count functionality
- socket state
- foreign address
ni # display all sockets for the user
ni -w -n 2 # watch for all sockets (refresh every 2sec)
ni -p kafka.service # display all sockets for kafka unit
ni -p python # display for all sockets for process name containing python
ni -p 1234 # display all sockets for PID 1234
ni -s # statistic for interfaces