- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: CPU Usage is 100%.
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
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
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
12-07-2011 12:09 PM
12-07-2011 12:09 PM
CPU Usage is 100%.
Hi,
I am having issue of high CPU utilization with one of HP-UX server.
I have checked and found one process is consuming max cpu. See the below findings.
Glance o/p
UR R | 23% 23% 23%
------------------------------------------------------------------------------------------------------------------------------------------------------
PROCESS LIST Users= 1
User CPU % Thrd Disk Memory Block
Process Name PID Name ( 200% max) Cnt IOrate RSS/VSS On
--------------------------------------------------------------------------------
sh 16535 root 75.0 1 0.0 384kb 476kb PRI
oracleBTR 24986 oracle9 23.6 1 3.8 28.4mb 30.0mb new
oracleBTR 24151 oracle9 23.4 1 0.0 30.6mb 33.4mb PRI
batchman 5237 maestro 20.7 1 5.4 4.3mb 4.9mb PRI
#-> ps -ef | grep -i 16535
root 16535 1 253 Nov 29 ? 9157:12 -sh
root 26025 24301 0 17:01:51 pts/1 0:00 grep -i 16535
Can i kill that -sh process??
Appreciate quick response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2011 12:19 PM
12-07-2011 12:19 PM
Re: CPU Usage is 100%.
I think it would be safe to kill
It looks like a shell from a session that was terminated incorrectly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2011 12:45 PM
12-07-2011 12:45 PM
Re: CPU Usage is 100%.
Killed -sh process but still the CPU usage is showing high.
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 3.71 80.2% 0.0% 19.8% 0.0% 0.0% 0.0% 0.0% 0.0%
1 3.56 81.9% 0.0% 18.1% 0.0% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 3.64 81.0% 0.0% 19.0% 0.0% 0.0% 0.0% 0.0% 0.0%
Memory: 4916688K (3655204K) real, 7241320K (5816016K) virtual, 4897016K free Page# 1/6
CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
1 ? 25901 root 241 20 24924K 5480K run 13:16 35.23 35.17 bpbkar
1 ? 25927 root 241 20 24924K 5480K run 12:29 31.19 31.13 bpbkar
1 ? 25893 root 152 20 25468K 6088K run 11:36 17.89 17.86 bpbkar
1 ? 1756 oracle9 154 20 1194M 8064K sleep 1:49 12.95 12.93 oracleBTR
0 ? 22772 oracle9 204 20 1196M 7344K run 58:54 12.06 12.04 oracleBTR
0 ? 5237 maestro 148 20 7916K 2756K sleep 50:51 10.41 10.39 batchman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2011 12:48 PM - edited 12-07-2011 12:59 PM
12-07-2011 12:48 PM - edited 12-07-2011 12:59 PM
Re: CPU Usage is 100%.
Well, yes it is. You now have other process that are using CPU.
The 3 bpbkar process are using a combined 83% CPU. You need to determine if those are valid processes or not and whether or not they can be killed.
CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
1 ? 25901 root 241 20 24924K 5480K run 13:16 35.23 35.17 bpbkar
1 ? 25927 root 241 20 24924K 5480K run 12:29 31.19 31.13 bpbkar
1 ? 25893 root 152 20 25468K 6088K run 11:36 17.89 17.86 bpbkar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2011 12:52 PM
12-07-2011 12:52 PM
Re: CPU Usage is 100%.
>but still the CPU usage is showing high.
Not much you can do about it except get more CPUs, RAM or a faster machine?
Or schedule your bpbkar processes later? A similar URL:
http://www.symantec.com/connect/forums/bpbkar-slow-and-taking-100-cpu
What does "swapinfo -tam" show?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2011 01:14 PM
12-07-2011 01:14 PM
Re: CPU Usage is 100%.
can u check for background processes if any running
Run
#fg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2011 01:21 PM
12-07-2011 01:21 PM
Re: CPU Usage is 100%.
#-> swapinfo -tam Mb Mb Mb PCT START/ Mb TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME dev 20000 626 19374 3% 0 - 1 /dev/vg00/lvol2 reserve - 4826 -4826 memory 9450 1399 8051 15% total 29450 6851 22599 23% - 0 - [root@brsjp020:/var/spool/sockets/pwgr]#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2011 01:37 PM
12-07-2011 01:37 PM
Re: CPU Usage is 100%.
(It would help if you could go back and edit your post to make the output readable.)
>memory 9450 1399 8051 15%
So you have free memory and aren't swapping.