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, 4 years and 332 days ago. Viewed 1,289 times. #1
[edit] [rdf]
labels
attachments
(2014-01-14)

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

# cat /proc/cpuinfo | grep "physical id" | sort -n | uniq | wc -l
1
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:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt