Operating System - HP-UX
1753852 Members
7754 Online
108807 Solutions
New Discussion юеВ

Command for private bytes, page faults and swap ratio?

 
ashokkumars
New Member

Command for private bytes, page faults and swap ratio?

How to find the private bytes, page faults and swap ratio of a particular process?

Thanks in Advance
S. Ashok Kumar
6 REPLIES 6
Mark Ellzey
Valued Contributor

Re: Command for private bytes, page faults and swap ratio?

Ashok,

I'm not sure what you mean by 'private bytes', perhaps process stack?

In any event, you can examine the swap statistics by using the swapinfo -tam command.

To look at paging, use vmstat.

More information is available in the man pages: swapinfo(1M) and vmstat(1).

Regards,
Mark
Kapil Jha
Honored Contributor

Re: Command for private bytes, page faults and swap ratio?

vmstat -s and -S
and swapinfo -tam

are the command u r looking at.
BR,
Kapil
I am in this small bowl, I wane see the real world......
ashokkumars
New Member

Re: Command for private bytes, page faults and swap ratio?

Mark,

I mean private bytes is a memory allocated to a process, which is not shared with other process.

Kapil,

I want to know the page faults for a particular process, but vmstat is giving generally.

Thanks
S. Ashok Kumar
Dennis Handly
Acclaimed Contributor

Re: Command for private bytes, page faults and swap ratio?

>I want to know the page faults for a particular process

You'll probably need a tool like glance or on IPF, caliper.
ashokkumars
New Member

Re: Command for private bytes, page faults and swap ratio?

Dennis,

I'm new to hpux, can you little bit explain about the tools like glance, IPF or caliper.

Tx
Ashok
Dennis Handly
Acclaimed Contributor

Re: Command for private bytes, page faults and swap ratio?

>I'm new to hp-ux, can you little bit explain about the tools like glance, IPF or caliper.

Is your machine PA-RISC or Integrity?
(uname -a)
On IPF you can download caliper for free.
There is a trial version of glance for both PA and IPF, on your installation CDs.