readlink(); check bounds

top: add 'system' cpu time to 'kernel', 'idle' and 'user'
This commit is contained in:
Ben Gras
2006-03-17 13:34:40 +00:00
parent 0c3199c3aa
commit 26a59eea43
3 changed files with 19 additions and 11 deletions
+4 -5
View File
@@ -13,11 +13,10 @@ At the top of the screen, top shows the current system load averages in
the last 1-minute, 5-minute and 15-minute intervals. Then, over the
last top interval it displays: the number of alive, active, and sleeping
processes; memory free; and CPU usage. CPU usage is split into
user, kernel and idle time. Kernel time is time spent by kernel tasks,
that is tasks that run in kernel mode in kernel address space. User
time is all other CPU time, including system processes such as servers
and drivers, as top can't see the difference between a user process and
a server or driver.
user, kernel, system and idle time. Kernel time is time spent by kernel tasks,
that is tasks that run in kernel mode in kernel address space. System
time are system user processes, such as drivers and servers. User
time is all other CPU time.
Then it displays all the alive processes sorted by CPU usage in the last
interval, with a number of fields for every process. Currently the