- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Querying CPU Utilization via SNMP
Operating System - HP-UX
1820530
Members
2172
Online
109626
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО07-29-2004 08:04 AM
тАО07-29-2004 08:04 AM
Querying CPU Utilization via SNMP
I'm trying to query CPU utilization data via snmp on a hpux system and the snmp agent always seems to return the same values whether the system is busy or not.
Is there something that has to be done on the system in order for it to properly report cpu utilization?
Here's an example of what I am seeing:
computerSystemUserCPU.0 907682
computerSystemSysCPU.0 1237782
computerSystemIdleCPU.0 22850595
computerSystemNiceCPU.0 131
I am not seeing these values change if a run the query again.
Is there something that has to be done on the system in order for it to properly report cpu utilization?
Here's an example of what I am seeing:
computerSystemUserCPU.0 907682
computerSystemSysCPU.0 1237782
computerSystemIdleCPU.0 22850595
computerSystemNiceCPU.0 131
I am not seeing these values change if a run the query again.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2004 08:14 AM
тАО07-29-2004 08:14 AM
Re: Querying CPU Utilization via SNMP
There are background processes that do housekeeping write data to disk, that do any number of things all the time.
There is no such thing as a totally idle system. Run top for a while and you'll see.
You might want to run some commands to measure peformance on the machine to see if your results are consistent.
Attaching a set of scripts.
SEP
There is no such thing as a totally idle system. Run top for a while and you'll see.
You might want to run some commands to measure peformance on the machine to see if your results are consistent.
Attaching a set of scripts.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
тАО07-29-2004 03:42 PM
тАО07-29-2004 03:42 PM
Re: Querying CPU Utilization via SNMP
As I said before, the values are not changing period. They are always the same whether the system is busy or not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2004 04:25 PM
тАО07-29-2004 04:25 PM
Re: Querying CPU Utilization via SNMP
Hi
I don't believe there is any additional configuration needed to retrieve this data.
On my system I can run:
# snmpwalk computerSystemIdleCPU
The counter will keep incrementing each time I run it as follows:
1st time -> Counter: 346599384
2nd time -> Counter: 346608566
Not exactly sure but this may only be implemented if you are using Extensible SNMP Agent. Just an idea to explain why your counters remain the same.
Cheers
Con
I don't believe there is any additional configuration needed to retrieve this data.
On my system I can run:
# snmpwalk
The counter will keep incrementing each time I run it as follows:
1st time -> Counter: 346599384
2nd time -> Counter: 346608566
Not exactly sure but this may only be implemented if you are using Extensible SNMP Agent. Just an idea to explain why your counters remain the same.
Cheers
Con
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP