Operating System - HP-UX
1754014 Members
7439 Online
108811 Solutions
New Discussion

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.