1847411 Members
2583 Online
110264 Solutions
New Discussion

nproc table

 
SOLVED
Go to solution
Luigi Manto
Occasional Contributor

nproc table

Hi everyone! Is there any command that will display information about the process table. Like for example, how much is being used and how much is free? Thanks in advance!
3 REPLIES 3
Steven Sim Kok Leong
Honored Contributor
Solution

Re: nproc table

Hi,

One straightforward way:

1) How much nproc is configured:

# kmtune | grep nproc

2) How much is currently used:

# expr `ps -fae|wc -l` - 1

3) How much is left:

Minus 2) from 1).

Hope this helps. Regards.

Steven Sim Kok Leong
Michael Tully
Honored Contributor

Re: nproc table

Hi,

If you glance installed use it. It shows many kernel based parameters being used etc.

/opt/perf/bin/glance
F5 NextKeys
F3 SysTabls
and page down

If you don't have it installed, there is a 60 day trial copy on your application CD set.

Michael
Anyone for a Mutiny ?
Michael Tully
Honored Contributor

Re: nproc table

Also have a look at these:

# sar -v 2 5

HP-UX psprd1 B.11.11 U 9000/800 07/02/02

11:39:52 text-sz ov proc-sz ov inod-sz ov file-sz ov
11:39:54 N/A N/A 307/8212 0 0/10084 0 7817/20989 0
11:39:56 N/A N/A 307/8212 0 0/10084 0 7817/20989 0
11:39:58 N/A N/A 307/8212 0 0/10084 0 7817/20989 0
11:40:00 N/A N/A 307/8212 0 0/10084 0 7817/20989 0
11:40:02 N/A N/A 311/8212 0 0/10084 0 7825/20989 0

Also sadc, vmstat, iostat, q4, adb

There are also man pages for these


Anyone for a Mutiny ?