Operating System - HP-UX
1855703 Members
9584 Online
104103 Solutions
New Discussion

Re: monitoring processes on hpux

 
SOLVED
Go to solution
K.C. Chan
Trusted Contributor

monitoring processes on hpux

All,
is there something in hpux that is similar to linux 's /proc? I need to write something in perl to monitor the top 10 processes that uses the most cpu cycles. Thanks.
Reputation of a thousand years can be determined by the conduct of an hour
1 REPLY 1
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: monitoring processes on hpux

There is no equivalent to /proc in HP-UX. One approach would be to capture top -d 10 -f mytempfilename and then filter the file's content and delete the file.
If it ain't broke, I can fix that.