Synchronet v3.19b-Win32 (install) has been released (Jan-2022).

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
monitor:index [2010/02/26 17:14] – created digitalmanmonitor:index [2020/01/03 17:03] – [Threads] Added htop example digital man
Line 3: Line 3:
 Synchronet monitoring methods and utilities. Synchronet monitoring methods and utilities.
  
-{{indexmenu>.}}+{{indexmenu>.|tsort msort}} 
 + 
 +===== UNIX ===== 
 + 
 +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'', ''grep'', ''pgrep'', and ''top''.  
 + 
 +==== Sockets ====  
 +  $ watch 'netstat -nap | grep /sbbs' 
 + 
 +==== Threads ==== 
 +=== Using Top === 
 +  $ top -o -COMMAND -H -p "$(pgrep sbbs)" 
 +   
 +=== Using htop === 
 +  $ htop -p "$(pgrep sbbs)" 
 + 
 +To include the Synchronet thread names in the ''htop'' output, make sure the "Show custom thread names" Setup option is enabled: 
 + 
 +<code> 
 +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 
 +</code> 
 +===== Windows =====  
 + 
 +On Windows, you can monitor Synchronet's TCP/IP socket and thread utilization using the [[wp>Task Manager (Windows)]] and utilities like [[https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer|Process Explorer]], [[https://docs.microsoft.com/en-us/sysinternals/downloads/pslist|pslist]] and [[https://docs.microsoft.com/en-us/sysinternals/downloads/tcpview|TCPView]]. 
 + 
 +Windows comes with a version of ''netstat'' as well. 
 + 
 +===== See Also ===== 
 + 
 +  * [[util:node|Node Monitor/Control Utility]]
  
 {{tag>monitor}} {{tag>monitor}}