Download File - Ram Chavan

Transcript
and not a runaway that will continue to drain your system's resources.
When you issue this command logged in as root, you see all the processes running on the system. As
before, consider paginating the output to make it readable. You also can use the -u option to specify a
user's processes by adding the appropriate username. For example, if you are logged in as root and want
to see only yvonne's processes, issue the following command:
ps -u yvonne
Most users can issue this command to examine other user's processes, as well. This command lets them
find out who is hogging all the CPU time! The -u option also enables the superuser see the processes
users are running when they report problems without having to wade through all the system processes as
well. Finally, the -u option with a username is handy to help terminate user processes when they are
hung or start to run away.
Users can see all the processes running on the system (instead of just the processes they started) by using
the -a option. Because the superuser sees all the processes on the system anyway, the root login doesn't
have to use this option, although it is still legal to use it. This output doesn't change, though. When
issued by a user (not root), the -a option produces the following output:
$ ps -a