Operating System - Linux
1847178 Members
5949 Online
110263 Solutions
New Discussion

Regarding "totsck" meanings at sar output

 
Minoru Asano
Frequent Advisor

Regarding "totsck" meanings at sar output

Hello,

I would like to know the meaning of "totsck"
at sar output.
[ENVIRONMENT]
RHEL 3 AS up8

[SITUATION]
I know that "totsck" means "Total number of used sockets" according to online manual.
But totsck does not match with total of tcpsck
and udpsck.

00:00:01 totsck tcpsck udpsck rawsck ip-frag
00:10:01 198 35 14 0 0
00:20:01 198 35 14 0 0
00:30:01 198 35 14 0 0
......

[QUESTION]
- What total value is "totsck" ?
Can we confirm using any command ?
e.g. netstat.

Thank you for advice.
Best Regards.
/Minoru.Asano


2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: Regarding "totsck" meanings at sar output

Shalom Minoru,

It can probably be confirmed with netstat -an and the proper grep filter passed to wc -l

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Vitaly Karasik_1
Honored Contributor

Re: Regarding "totsck" meanings at sar output

>Can we confirm using any command ?

sysctl fs.file-nr

the first number is a number of open files + sockets.