[HPADM] SUMMARY: determining CPU time of a running process
gary.paveza_at_AIG.COM
Date: 03/26/04
- Previous message: SAbramson_at_Wabtec.com: "[HPADM] EMC/SDR: "Unable to add unallocated MetaVolume to FA.""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 25 Mar 2004 16:22:24 -0800 To: hpux-admin@DutchWorks.nl
As pointed out by quite a few people, ps displays this value in the TIME
column. I must have read the man pages several times looking for a column
like this, but for some reasons, never saw it. Thanks for everyone for
helping.
-----Original Message-----
From: Paveza, Gary [mailto:gary.paveza@AIG.COM]
Sent: Thursday, March 25, 2004 9:25 AM
To: 'HP9000 Admin'
Subject: [HPADM] determining CPU time of a running process
Does anyone know of a way to query a process and determine how much CPU time
is has used? Glance shows it very well, however, I have a requirement that
I be able to run a script and identify likely run-away processes and send an
email alert on them.
For example (from glance):
----------------------------------------------------------------------------
----
PROCESS LIST Users=
47
User CPU Util Cum Disk
Thd
Process Name PID PPID Pri Name ( 800% max) CPU IO Rate RSS
Cnt
----------------------------------------------------------------------------
----
rts32_t 17807 1 241 plpcd5 102/99.8 82170.1 0.0/ 0.0 6.1mb
2
rts32_t 694 1 241 plpcd5 101/99.8 89529.5 0.0/ 0.0 5.7mb
2
I will be keying off two fields (PPID being 1) or Cum CPU being greater than
a certain amount (like 3000 seconds).
---------------------------------------------------------
Gary Paveza, Jr.
Senior Systems Administrator -CSA
(302) 252-4831 - phone
(302) 588-6368 - cell
--
---> Please post QUESTIONS and SUMMARIES only!! <---
To subscribe/unsubscribe to this list, contact
majordomo@dutchworks.nl
Name: hpux-admin@dutchworks.nl Owner:
owner-hpux-admin@dutchworks.nl
Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse
only)
http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse &
search)
--
---> Please post QUESTIONS and SUMMARIES only!! <---
To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
Name: hpux-admin@dutchworks.nl Owner: owner-hpux-admin@dutchworks.nl
Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only)
http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)
AdmID:68EC731DD84E597C223D7B1C4A1BAEF4
--
---> Please post QUESTIONS and SUMMARIES only!! <---
To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
Name: hpux-admin@dutchworks.nl Owner: owner-hpux-admin@dutchworks.nl
Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only)
http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)
- application/octet-stream attachment: Mime.822
- Previous message: SAbramson_at_Wabtec.com: "[HPADM] EMC/SDR: "Unable to add unallocated MetaVolume to FA.""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|