- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Monitoring for processes consuming excessive CPU -...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2002 03:19 AM
11-25-2002 03:19 AM
Monitoring for processes consuming excessive CPU - top
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2002 03:22 AM
11-25-2002 03:22 AM
Re: Monitoring for processes consuming excessive CPU - top
top is very much there with -d
# top -d1
or if you have glance plus you can use that.
-Niraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2002 03:24 AM
11-25-2002 03:24 AM
Re: Monitoring for processes consuming excessive CPU - top
Take a look at Stefan/jimmy's twin answers in this thread:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xaa660fe6d0f7d61190050090279cd0f9,00.html
I think this may be close to what you're looking for.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2002 03:27 AM
11-25-2002 03:27 AM
Re: Monitoring for processes consuming excessive CPU - top
Many thanks for the prompt response - apologies my brain is not in gear just yet - first thing Monday morning...back from 2 weeks holiday etc. etc. !
top -d1 under HPUX includes all the not so nice control characters -
e.g. top -d1 > file.txt
produces completely meaningless babble when you examin it under vi!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2002 03:30 AM
11-25-2002 03:30 AM
Re: Monitoring for processes consuming excessive CPU - top
top exist in HPUX also (usr/bin/top)
another tool using which you can monitor is the 'glance'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2002 03:32 AM
11-25-2002 03:32 AM
Re: Monitoring for processes consuming excessive CPU - top
you can use it
# top -d1 |col -b >file.txt
Regards
-Niraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2002 03:33 AM
11-25-2002 03:33 AM
Re: Monitoring for processes consuming excessive CPU - top
Many thanks for you reply - you've answered my question.
Maybe I should have been a little less idle and done some forum searching before I posted the request!!
Thanks guys for all your responses.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2002 04:08 AM
11-25-2002 04:08 AM
Re: Monitoring for processes consuming excessive CPU - top
UNIX95= ps -eopid,pcpu,time,vsz,args
This will give you the PID, %cpu, size in KB and command(s) with arguemtns.
you can then process this using awk or sort to suit your needs
eg:
UNIX95= ps -eopid,pcpu,time,vsz,args | awk '{if ($2 >= "10.00") print}'
Should give you the details of all processes which are currently using 10% of the CPU or more.