graphical user interface
(
GUI
) and
windowing capabilities. However, this laptop currently has an uptime of 6 days and
22 hours as I type this, which is roughly equivalent to 166 hours, which is not the
same amount of time that PID
759
is reporting in its
TIME
entry. Therefore, we can
deduce that even though my laptop has been running 6 days straight, the X server
has only utilized 92 hours and 51 minutes of actual CPU time. In summary, the
TIME
column refers to the amount of time a process needs the CPU in order to calculate
something and is not necessarily equal to how long something has been running, or
for how long a graphical process is showing on your screen.
Let's continue on with the
ps
command and look at some additional options. First,
let's see what we get when we add the
u
option to our previous example, which gives
us the following example command:
ps au
This will produce an output that will look similar to the following:
Figure 7.4: The output of the ps au command
Controlling and Managing Processes
Do'stlaringiz bilan baham: |