- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to enable USER CPU% monitoring?
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
05-29-2005 11:27 PM
05-29-2005 11:27 PM
we are running opcagent Version: @(#)HP OpenView VantagePoint A.06.12.
The question is how to get monitored the avg USER CPU in dedicated system?
There is cpu_mon.sh, which checks only %sys, but we are interested in %sys.
BR Martti
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2005 02:05 AM
05-30-2005 02:05 AM
Re: How to enable USER CPU% monitoring?
There probally is some better way to do this but one way could be to use a logfile monitor.
If you use sar -u 30 30 and write the average output to a file, and then set up logfile reader to grep %usr you can define thresholds.
//Tommy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2005 05:47 AM
05-30-2005 05:47 AM
Re: How to enable USER CPU% monitoring?
can you attach your cpu_mon.sh, we will help you modify the script for your requirement..
Once modified.. you can include this in OPC monitor template as a saperate entry so that usr% can be monitored separately.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 02:22 AM
05-31-2005 02:22 AM
Re: How to enable USER CPU% monitoring?
sar can be use with -u option cpu utilization.Also you can choose your interval and easily write a script,run from
cron.
Also another solution is Glance from Hp
but it is a licensed product.
Good luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 02:25 AM
05-31-2005 02:25 AM
Re: How to enable USER CPU% monitoring?
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 02:25 AM
05-31-2005 02:25 AM
Re: How to enable USER CPU% monitoring?
Also it is new thread..
Good luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 05:38 PM
05-31-2005 05:38 PM
Re: How to enable USER CPU% monitoring?
I've tried to reply, but there's some resource problems in the forum.
Because MWA is in use, maybe the best way is to modify cpu_mon.sh.
Senthil, I'll attach the script here.
BR Martti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 06:38 PM
05-31-2005 06:38 PM
Re: How to enable USER CPU% monitoring?
i sometimes use your scripts and really give
important info so i just want to thank to you
when i see you here
To Martti;
From now on;you may want to submit points
:-)
Good Luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 07:09 PM
05-31-2005 07:09 PM
SolutionI've attached modified cpu_mon.sh that can report on CPU user time. You'll need to add two new parameters in /var/opt/OV/conf/OpC/cpu_mon.cfg: USER_THR and USER_TIMES.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 08:20 PM
05-31-2005 08:20 PM
Re: How to enable USER CPU% monitoring?
I tested the script and it seems to work fine.