- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Idle process reported as using 5.06% CPU
Operating System - HP-UX
1819688
Members
3530
Online
109605
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-28-2005 12:17 AM
тАО07-28-2005 12:17 AM
Idle process reported as using 5.06% CPU
HP-UX 11i, PA-RISC, 2 CPUs, fairly new patches.
I have a completely idle process that is reported as using 5.06% CPU by top and other tools. I have verified that the process does absolutely nothing. The problem occurs after putting heavy load on the process and the stopping the load. Then the CPU use for the process is reported as 5.06% even after 24 hours idle. It does not agree with the overall system CPU use either.
Is this a known problem, and is there a workaround?
I have a completely idle process that is reported as using 5.06% CPU by top and other tools. I have verified that the process does absolutely nothing. The problem occurs after putting heavy load on the process and the stopping the load. Then the CPU use for the process is reported as 5.06% even after 24 hours idle. It does not agree with the overall system CPU use either.
Is this a known problem, and is there a workaround?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2005 12:20 AM
тАО07-28-2005 12:20 AM
Re: Idle process reported as using 5.06% CPU
What tool(s) are you using to measure this?
Pete
Pete
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2005 03:04 AM
тАО07-28-2005 03:04 AM
Re: Idle process reported as using 5.06% CPU
Hi
What does this give
1 echo $_
2 user=$1
3 echo $user
4 echo " $(UNIX95= ps -e -o pcpu -o ruser -o sz -o vsz -opid -oppid -otime -otty -o args|head -n1)"
5 UNIX95= ps -e -o pcpu -o ruser -o sz -o vsz -opid -oppid -otime -otty -o args|grep -v %CPU| sort -nr|tail -n +2|head -n 20|grep " "$user
5 line script so run it twice
Give user name as param
Top is very liberal with figures
Steve Steel
What does this give
1 echo $_
2 user=$1
3 echo $user
4 echo " $(UNIX95= ps -e -o pcpu -o ruser -o sz -o vsz -opid -oppid -otime -otty -o args|head -n1)"
5 UNIX95= ps -e -o pcpu -o ruser -o sz -o vsz -opid -oppid -otime -otty -o args|grep -v %CPU| sort -nr|tail -n +2|head -n 20|grep " "$user
5 line script so run it twice
Give user name as param
Top is very liberal with figures
Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2005 01:30 AM
тАО08-16-2005 01:30 AM
Re: Idle process reported as using 5.06% CPU
Sorry for the long delay (other things to do). I don't have the system setup anymore, but will try to recreate the problem when I have a chance.
The tool used for getting the statistics were 'top' from HP-XU porting centre, and a home-grown top (http://i1.dk/download/isjtop/)
The weird percentage comes from the pstat API, specifically pstat_getproc() where 'pst_pctcpu' seems stuck at 5.06%
The tool used for getting the statistics were 'top' from HP-XU porting centre, and a home-grown top (http://i1.dk/download/isjtop/)
The weird percentage comes from the pstat API, specifically pstat_getproc() where 'pst_pctcpu' seems stuck at 5.06%
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