|
Good evening, I’ve been trying to find a way to trace runaway system
processes on an HP-UX 11.11 host for quite awhile, and the nearest I could find
on the archives was a script someone had written back in ’99 that wouldn’t
quite work right (even with some tweaking)…mainly due to problems with
the ps command syntax on whatever OS the script was built to run on. For
reference: http://support.bb4.com/archive/199910/msg00085.html Essentially, I have two processes on two separate HP-UX
boxes that seem to like to start chewing up a ton of CPU time. Generally, I
use ‘top’ to check if this condition occurs, and when it does, they
will show at the very top of the list – usually with an extremely high
TIME, %WCPU and %CPU value. I want to be able to determine if one of these
processes exists, either by checking the value of the TIME and sending RED to
BB if it’s exceeded a certain length, or even check %CPU and send RED if
it’s over a set CPU percentage. Of course, I haven’t dealt with the script extensions
within BB very much, so I definitely will need some help trying to make this
work with my existing BB installation on each host. Unfortunately, the two
hosts are reporting to a Windows XP box that serves as the BBPAGER/BBNET/BBDISPLAY
host. Any help you can provide will surely go a long way. Thanks
in advance. Regards, Jeff Vickery Jeffrey M. Vickery Systems Engineer E-mail: jvickery@jjc.edu Phone: (815) 280-2249 Cell: (815) 405-4492 Fax: (815) 280-2668 |