Synchronet monitoring methods and utilities.
It can often be helpful to monitor Synchronet's TCP/IP socket and thread utilization. On Unix-like operating systems, you can do this by combining the use of included tools like
$ watch 'netstat -nap | grep /sbbs'
$ top -o -COMMAND -H -p "$(pidof sbbs)"
$ htop -p "$(pidof sbbs)"
To include the Synchronet thread names in the
htop output, make sure the “Show custom thread names” Setup option is enabled:
Setup Display options Meters [x] Tree view Display options [ ] Shadow other users' processes Colors [x] Hide kernel threads Columns [x] Hide userland threads [ ] Display threads in a different color [x] Show custom thread names [ ] Highlight program "basename" [x] Highlight large numbers in memory counters [x] Leave a margin around header [ ] Detailed CPU time (System/IO-Wait/Hard-IRQ/Soft-IRQ/Steal/Guest) [ ] Count CPUs from 0 instead of 1 [x] Update process names on every refresh
Windows comes with a version of
netstat as well.