Skip to content

SQL Buddy

techstuff: mysql, apache, linux & worpdress …

  • Start
  • Tutorials
  • WordPress
  • MySQL
  • Apache
  • Linux
  • Shell
  • Contact
  • Support
  • Download SQL Buddy

netstat

Linux: Count open socket connections

February 23, 2015 by karlos

Get the process ID using ps faux: ps faux Now you may count the open socket connections of the process (including child processes): netstat -nap | grep 2772| wc -l You may also want to count all socket connections with state: CLOSE_WAIT netstat -nap | grep CLOSE_WAIT | wc -l  

Categories Linux, Shell Tags netstat, ps faux Leave a comment
sqlbuddy in action

Impressum | Datenschutzerklärung

© 2023 SQL Buddy • Built with GeneratePress