For When You Can't Have The Real Thing
[ start | index | login ]
start > Linux > Detecting Sockets

Detecting Sockets

Created by dave. Last edited by dave, 10 years and 43 days ago. Viewed 2,381 times. #1
[edit] [rdf]

Quick way to detect the active number of sockets in a Linux machine:

# cat /proc/cpuinfo | grep "physical id" | sort -n | uniq | wc -l
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt