SirDice said:Oh wait. Vmstat doesn't show the number of sockets in use. It shows the amount of socket memory (buffers) in use.
# sockstat | wc -l
486
# vmstat -z | grep socket
socket: 416, 25605, 613, 3032, 201205440, 0