Operating System - HP-UX
1833875 Members
2061 Online
110063 Solutions
New Discussion

Re: Online process information

 
Noam Meltzer
Advisor

Online process information

Hi!
I am looking for a way to findout information on my processes online.
In solaris,linux and some other Unixes I have /proc. on hp it is not
avail.

what do you suggest?

10x,
Noam
HP engineers must live on Mars. Otherwise how can you explain the fact that they invented the wheel themselves?
5 REPLIES 5
Pete Randall
Outstanding Contributor

Re: Online process information

top?

Pete
harry d brown jr
Honored Contributor

Re: Online process information


lsof is ported to every ux.

glance (although you have to purchase it)

top

sar

...


live free or die
harry
Live Free or Die
Sanjay_6
Honored Contributor

Re: Online process information

Hi,

If you have STM installed on your system,

try

echo 'selclass qualifier cpu;info;wait;infolog' |cstm >/tmp/cpu_info.txt

more /tmp/cpu_info.txt

To find out the processor speed, try

echo itick_per_tick/D | adb /stand/vmunix /dev/kmem

Hope this helps.

Regds
A. Clay Stephenson
Acclaimed Contributor

Re: Online process information

Yes, you are right, HP-UX doos not have a /proc filesystem which allows you to peek into the virtual address space of each process.
In the HP-UX world, that sort of thing is generally done using a varianr of the pstat_xxx system calls. I would start with a man of pstat_getproc.
If it ain't broke, I can fix that.
Ernesto Cappello
Trusted Contributor

Re: Online process information

Hi
If you want display and update information about the top processes on the system then you can use this command:
top

Regards.
Ernesto