Operation Manual
2235 root 15 0 1736 800 652 S 0.0 0.2 0:00.10 resmgrd
2289 root 16 0 4192 2852 1444 S 0.0 0.6 0:02.05 hald
2403 root 23 0 1756 600 524 S 0.0 0.1 0:00.00 hald-addon-acpi
2709 root 19 0 2668 1076 944 S 0.0 0.2 0:00.00 NetworkManagerD
2714 root 16 0 1756 648 564 S 0.0 0.1 0:00.56 hald-addon-stor
By default the output is sorted by CPU usage (column %CPU, shortcut Shift + P). Use
following shortcuts to change the sort eld:
Shift + M: Resident Memory (RES)
Shift + N: Process ID (PID)
Shift + T: Time (TIME+)
To use any other eld for sorting, press F and select a eld from the list. To toggle the
sort order, Use Shift + R.
The parameter -U UID monitors only the processes associated with a particular user.
Replace UID with the user ID of the user. Use top -U $(id -u) to show processes
of the current user
13.3.5 Modify a process' niceness: nice and
renice
The kernel determines which processes require more CPU time than others by the pro-
cess' nice level, also called niceness. The higher the “nice” level of a process is, the
less CPU time it will take from other processes. Nice levels range from -20 (the least
“nice” level) to 19. Negative values can only be set by root.
Adjusting the niceness level is useful when running a non time-critical process that
lasts long and uses large amounts of CPU time, such as compiling a kernel on a system
that also performs other tasks. Making such a process “nicer”, ensures that the other
tasks, for example a Web server, will have a higher priority.
Calling nice without any parameters prints the current niceness:
tux@mercury:~> nice
0
Running nice command increments the current nice level for the given command
by 10. Using nice -n level command lets you specify a new niceness relative
to the current one.
190 Reference










