Operating System - Linux
1745786 Members
3360 Online
108722 Solutions
New Discussion

Looking for a way to monitor kernel parameter usage

 
Steven E. Protter
Exalted Contributor

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