1. Run the 'top' command in one window and observe its
output.
look at its manpage and study the different fields listed
by 'top'
2. Download the cpubound.c
program.
It is a process that runs for 10 seconds, uses CPU, but
does not perform any I/O.
Compile and convert it into a process.
Observe the output of the 'top' screen.
Now stop this process by a 'cntrl-z' and see how the change
is reflected
in the top screen. Bring the process to running state
again by executing
command 'fg'. See the change in 'top' screen.
This cpubound.c process will automatically exit after
a certain timeout.
You may need to rerun it to complete the experiment.
3. Run the 'ps' command. Observe its output. Look at its
manpage.
Explore various parameters to ps and study the output.
Conduct the
same experiment, observe the state of your process in
the output
reported by 'ps'.
4. Read the manpage for 'proc'.
Browse through the /proc directory entries