Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
monitor:index [2018/10/14 20:51] – Moved the socket and thread monitoring examples (for *nix) here digital manmonitor:index [2023/02/08 23:48] – [Threads] Use pidof instead of pgrep digital man
Line 13: Line 13:
  
 ==== Threads ==== ==== Threads ====
-  $ top -o -COMMAND -H -p "$(pgrep sbbs)"+=== Using Top === 
 +  $ top -o -COMMAND -H -p "$(pidof sbbs)" 
 +   
 +=== Using htop === 
 +  $ 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:
 +
 +<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 ===== ===== See Also =====
monitor/index.txt · Last modified: 2023/02/08 23:49 by digital man
Back to top
CC Attribution 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0