Sponsored Content
Operating Systems BSD Very high nice percentage in top command Post 302896345 by vibhor_agarwali on Monday 7th of April 2014 02:13:25 AM
Old 04-07-2014
Very high nice percentage in top command

Hello Folks,

Recently our FreeBSD 7.1 i386 system became very sluggish.
Nothing much is happening over there & whatever is running takes eternity to complete.

All the troubleshooting hinted towards a very high nice percentage.
Can that be the culprit?
Pasting snippets of top command, please advice whether it's a cause of concern & what are the possible remedies. Idle percentage mentions 0.

Code:
top
last pid: 32075;  load averages:  4.11,  4.18,  4.38                                                                                                       up 17+21:11:14  23:11:55
136 processes: 5 running, 131 sleeping
CPU:  0.4% user, 85.9% nice, 11.7% system,  2.0% interrupt,  0.0% idle
Mem: 811M Active, 1767M Inact, 195M Wired, 92M Cache, 112M Buf, 129M Free
Swap: 16G Total, 480K Used, 16G Free

Thanks for the support.

Last edited by Scrutinizer; 04-07-2014 at 03:17 AM.. Reason: code tags
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

[Top output] NICE % high ?

Hi, I've got some CPU bottleneck on a HP-UX 11 server : i didn't understand it until i discover i've got an unusual high percentage of NICE% CPU regarding my DBRMS process (Sybase 12.x). How do i have to understand it and how to resolve it ? Thx. (0 Replies)
Discussion started by: eliador2001
0 Replies

2. Programming

nice command and nice() system call

Hi I want to implement the nice command in the shell that I am building. I came to know that there is a corresponding nice() system call for the same. But since I will be forking different processes to run different commands typed on the command prompt, is there any way I can make a command... (2 Replies)
Discussion started by: tejbuch
2 Replies

3. UNIX for Dummies Questions & Answers

The nice command

hello everybody: I have some job running on tru64 system and Im the root, due to limited resources I end up with my job ( vdump) for example taking the lowest share, I researched the nice command on the net, but couldnt get enough info, can I use it to already running process or I only use it... (1 Reply)
Discussion started by: aladdin
1 Replies

4. HP-UX

top and nice

Hi, I have two identical 12 CPU HPUX machines, and I run the same processes on each that load the boxes fully. top on one reports activity under the NICE (19%) and SYS (18%) columns, while top on the other reports 0% NICE and 16% SYS. What would cause NICE to be zero on one machine and not... (5 Replies)
Discussion started by: CBorgia
5 Replies

5. Linux

Help pinpointing high HTTPD CPU usage in TOP

Hi, new here and need some help. Sometimes my site is extremely slow, if when there aren't too many people on, whereas when there are over 300 online members the site may be very fast. We use CentOS, PHP 5.26. The server has 4GB and Plesk usually shows about 2 or 3 GB free. I believe I can see... (4 Replies)
Discussion started by: pspace
4 Replies

6. AIX

Top command in AIX 4.2 (no topas, no nmon, no top)?

Is there a 'top' command equivalent in AIX 4.2 ? I already checked and I do not see the following ones anywhere: top nmon topas (1 Reply)
Discussion started by: Browser_ice
1 Replies

7. UNIX for Advanced & Expert Users

Is nice command a myth?

Hello, Some guy said to me that using the nice command to decrease the priority of a process is a myth, that the operating system corrects the priorities as the processes need cpu. Is this true? (4 Replies)
Discussion started by: psimoes79
4 Replies

8. Shell Programming and Scripting

How to see high values on top

Hello folks, I am searching for pattern, after that i want its presenece on top to bottom basis, like cat abcd.txt |grep "123"|awk {'print $3'} |sort|uniq -c it show result like 10 1.1.1.1 1 1.1.1.1 15 1.1.1.1 100 1.1.1.1 but i want to see this like 100 1.1.1.1 15 1.1.1.44 10... (3 Replies)
Discussion started by: learnbash
3 Replies

9. HP-UX

Top cmd showing NICE value 97% -what to tune?

Running 2 VM Guests on an HPUX Integrity Server. One Guest runs great, the other is always at a high NICE value and 0% idle as shown in TOP: What do you think should be tuned to bring down the NICE and increase IDLE %? Thanks in advance -hpuxadmin slow VM GUEST Load averages: 2.56,... (5 Replies)
Discussion started by: hpuxadmin
5 Replies

10. Shell Programming and Scripting

How to use nice command?

Dear Friends, I have a directory when i take du of that directory it takes alot of memory and cpu and I/O, i want to use nice to run my script that have du command slowly so it won't take I/O and cpu, please suggest. (6 Replies)
Discussion started by: learnbash
6 Replies
top(1)							      General Commands Manual							    top(1)

NAME
top - display and update information about the top processes on the system SYNOPSIS
time] count] number] filename] pset_id] DESCRIPTION
displays the top processes on the system and periodically updates the information. Raw CPU percentage is used to rank the processes. Options recognizes the following command-line options: Set the delay between screen updates to time seconds. The default delay between updates is 5 seconds. Show only count displays, then exit. A display is considered to be one update of the screen. This option is used to select the number of displays to be shown before the program exits. This option runs the program at the same priority as if it is executed via a command so that it will execute faster (see nice(1)). This can be very useful in discovering any system problem when the system is very sluggish. This option is accessible only to users who have appropriate privileges. User ID (uid) numbers are displayed instead of usernames. This improves execution speed by eliminating the additional time required to map uid numbers to user names. Hides the individual CPU state information for systems having multiple processors. Only the average CPU status will be displayed. Show only number processes per screen. Note that, if number is greater than the maximum number of processes that can be displayed per screen, this option is ignored. But when used with option, there is no limit on the maximum number of processes that can be displayed. Output is appended to filename. When is used, defaults to 1 for and 16 for Show load averages and process state break down for system and processor set pset_id. Show only the processes running on the processor set pset_id. This option is supported only if the kernel supports processor sets functionality. Adds column PSET before column CPU for individual CPU information. Adds columns PSET before column CPU for each process informa- tion. This option is supported only if the kernel supports processor sets functionality. Show individual CPU information. By default, does not display any individual CPU information. The user can toggle between individual process information and individual CPU information by using the screen-control key. When used with the option, the option overrides the option. Screen-Control Commands When displaying multiple-screen data, recognizes the following keyboard screen-control commands: Display next screen if the current screen is not the last screen. Display previous screen if the current screen is not the first screen. Display the first (top) screen. Display individual CPU information in place of individual process information and vice versa. Program Termination To exit the program and resume normal user activities, type at any time. Display Description Three general classes of information are displayed by The first few lines at the top of the display show general information about the state of the system, including: o System name and current time. o Load averages in the last one, five, and fifteen minutes of all the active processors in the system. o Number of existing processes and the number of processes in each state (sleeping, waiting, running, starting, zombie, and stopped). o Percentage of time spent in each of the processor states (user, nice, system, idle, interrupt and swapper) per active processor on the system. o Average value for each of the active processor states (only on multi-processor systems). Reports virtual and real memory used by user processes (with the amount of memory considered "active" in parentheses) and the amount of free memory. Information about individual processes on the system. When process data cannot fit on a single screen, divides the data into two or more screens. To view multiple-screen data, use the and commands described previously. Note that the system- and memory-data displays are present in each screen of multiple- screen process data. Process data is displayed in a format similar to that used by Processor number on which the process is executing (only on multi-processor systems). Terminal interface used by the process. Process ID number. ID of the processor set to which the processor belongs. This is shown only when option is used. Name of the owner of the process. When the option is specified, the user ID (uid) is displayed instead of Current priority of the process. Nice value ranging from -20 to +20. Total virtual size of the process in kilobytes. This includes virtual sizes of text, data, stack, mmap regions, shared memory regions and IO mapped regions. This may also include virtual memory regions shared with other processes. Resident size of the process in kilobytes. It includes the sizes of all private regions in the process. The resident size information is, at best, an approximate value. Current state of the process. The various states are or Number of system and CPU seconds the process has consumed. Weighted CPU (central processing unit) percentage. Raw CPU percentage. This field is used to sort the top processes. Name of the command the process is currently running. EXAMPLES
can be executed with or without command-line options. To display five screens of data at two-second intervals then automatically exit, use: To display information about pset 2, use: To display individual CPU information in place of individual process information, use: and press the key. AUTHOR
was developed by HP and William LeFebvre of Rice University. top(1)
All times are GMT -4. The time now is 03:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy