- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: TOP and high NICE
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
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
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
тАО02-16-2004 01:14 AM
тАО02-16-2004 01:14 AM
i looked into TOP and there i saw a very high NICE value.
I don├В┬┤t know what it├В┬┤s mean.
199 processes: 136 sleeping, 62 running, 1 zombie
Cpu states:
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 0.50 8.3% 32.1% 5.1% 54.5% 0.0% 0.0% 0.0% 0.0%
1 0.37 6.5% 42.9% 4.7% 45.8% 0.0% 0.0% 0.0% 0.0%
2 0.45 10.9% 37.2% 11.3% 40.7% 0.0% 0.0% 0.0% 0.0%
3 0.29 8.5% 42.3% 4.2% 45.1% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 0.40 8.7% 38.5% 6.3% 46.4% 0.0% 0.0% 0.0% 0.0%
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2004 01:37 AM
тАО02-16-2004 01:37 AM
Re: TOP and high NICE
I'm including a script that can collect data for longer analysis.
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
тАО02-16-2004 01:45 AM
тАО02-16-2004 01:45 AM
Re: TOP and high NICE
Nice values simply mean processes running at priority values *other* than the normal of 20.
Could simply indicate processes started in the background which imposes a nice "penalty" of 4 resulting in a priority of 24 (higher numbers = lower priority)
Only you know what *normal* loads are on this system, but an uninformed looks shows a significant idle value - almost 50%. So I don't think the box could be termed "in distress" by any means.
Don't worry about the zombie - the OS will eventually reap it & it's DEAD anyway. Zombies are only a problem if you have loads of them & usually indicated poor programming.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2004 02:02 AM
тАО02-16-2004 02:02 AM
SolutionIn addition to the above, if any of the processes were started in the background (like through 'cron' or 'at') they will run with low priority. It means they are being 'nicer' to other processes. CPU spent on such processes will be shown as nice CPU.
Do a 'UNIX95= ps -e -o "nice pid args"' will show you the nice values of each of the processes in the first column. Any process with > 20 nice value is being niced.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2004 03:31 AM
тАО02-16-2004 03:31 AM
Re: TOP and high NICE
From what you can see in this top output, your system looks fine. Most zombies are benighn, only taking up some space in process table, etc. If you have many, it's time to do something.
There are even some everyday functions that produce zombies as normal course of running.
I remember an instructer creating them at will just by running and manipulating multiple man pages.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 04:28 AM
тАО02-17-2004 04:28 AM
Re: TOP and high NICE
As far as I know, zombie processes are just an entry in the process table and they are not supposed to consume any resources since they are already dead.
There is a unsupported tool from interex called killzombie that can be used to kill zombies, if you dont have the luxuary of rebooting the servers to get rid of the zombie processes.
-- Sundar.