Operating System - HP-UX
1832999 Members
2417 Online
110048 Solutions
New Discussion

Monitoring Kernel system tables

 
SOLVED
Go to solution
Oliver White
Occasional Advisor

Monitoring Kernel system tables

Can anyone tell me a way to monitor the current usage of kernel tables such as nfile and nflocks WITHOUT using Glance?

The System Tables Report in Glance is extremely useful, and was able to tell us we'd reached our nflocks limit on one of our machines, but management won't spring for the cost of Glance on all our systems just yet.

I'd like just a simple command to tell me how much of these tables is currently in use.
5 REPLIES 5
Michael Tully
Honored Contributor

Re: Monitoring Kernel system tables

Hi Oliver,

Try this out out if you can't use 'glance'.

# sar -v 10 5

Output like this.

HP-UX beaver B.11.00 A 9000/800 08/09/01

14:59:10 text-sz ov proc-sz ov inod-sz ov file-sz ov
14:59:20 N/A N/A 132/2068 0 1239/2772 0 476/4426 0
14:59:30 N/A N/A 132/2068 0 1195/2772 0 476/4426 0
14:59:40 N/A N/A 132/2068 0 1178/2772 0 476/4426 0
14:59:50 N/A N/A 132/2068 0 1168/2772 0 476/4426 0
15:00:00 N/A N/A 132/2068 0 1161/2772 0 476/4426 0

Unfortunately it does not show 'nflocks'

HTH
-Michael
Anyone for a Mutiny ?
Sundar_7
Honored Contributor

Re: Monitoring Kernel system tables


YEs

# sar -v is always going to give U the

Process table,File Table
Learn What to do ,How to do and more importantly When to do ?
Michael Tully
Honored Contributor

Re: Monitoring Kernel system tables

Hi Oliver,

One last suggestion....
You can actually remove the trial version of glance using 'swremove' and then re-install it to give you another 60 days.... shush! don't tell HP!

HTH
-Michael
Anyone for a Mutiny ?
Thierry Poels_1
Honored Contributor

Re: Monitoring Kernel system tables

hi,
FYI I've heard that you can't reinstall the trial version from the recent application CD's. Never tried it though.
regards,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Carsten Krege
Honored Contributor
Solution

Re: Monitoring Kernel system tables

kernel tables can also be monitored with the EMS monitor krmond that comes with the OnlineDiag bundle.

See http://docs.fc.hp.com//hpux/onlinedocs/diag/ems/emd_kern.htm

and

http://docs.fc.hp.com/hpux/pdf/B6191-90024.pdf


The advantage is that tresholds can be defined to notify the user/sysadmin by mail, syslog, textlog, snmp, tcp message etc.

Carsten
-------------------------------------------------------------------------------------------------
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG