Looking for a way to monitor kernel parameter usage (112 Views)
Reply
Exalted Contributor
Steven E. Protter
Posts: 33,806
Registered: ‎08-15-2002
Message 1 of 1 (112 Views)

Looking for a way to monitor kernel parameter usage

Shalom,

 

This is how I'd monitor file system handles:

[root@moon linux]# sysctl -a | grep file
fs.file-nr = 1472       0       6815744
fs.file-max = 6815744

 

 

I can see there are 1472 file handles in use.

 

But what about other parameters?

 

[root@lxpsapmoon linux]# sysctl -a | grep shm
kernel.shmmax = 4294967295
kernel.shmall = 4294967296
kernel.shmmni = 4096
kernel.shm_rmid_forced = 0
vm.hugetlb_shm_group = 0

 

I am lookint for a scripted (hopefully), reliable solution for monitoring important usage of important kernel parameters.

 

I am looking for functionality similar to the kcusage/kcalarm suite of tools on HP-UX

 

Regards,

 

Steven

 

 

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
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation