Linux system monitoring Tools?

Answer Posted / mazqura

The ps will provide you a list of processes currently
running. There is a wide variety of options that this
command gives you.


A common use would be to list all processes currently
running. To do this you would use the ps -ef command.
(Screen output from this command is too large to include,
the following is only a partial output.)


UID PID PPID C STIME TTY TIME CMDroot
1 0 0 Dec22 ? 00:00:03 initroot 2
1 0 Dec22 ? 00:00:00 [keventd]root 3 1
0 Dec22 ? 00:00:00 [kapmd]root 4 1 0
Dec22 ? 00:00:00 [ksoftirqd_CPU0]root 9
1 0 Dec22 ? 00:00:00 [bdflush]root 5 1
0 Dec22 ? 00:00:00 [kswapd]root 6 1 0
Dec22 ? 00:00:00 [kscand/DMA]root 7 1 0
Dec22 ? 00:01:28 [kscand/Normal]root 8
1 0 Dec22 ? 00:00:00 [kscand/HighMem]root
10 1 0 Dec22 ? 00:00:00 [kupdated]root
11 1 0 Dec22 ? 00:00:00 [mdrecoveryd]
root 15 1 0 Dec22 ? 00:00:01 [kjournald]
root 81 1 0 Dec22 ? 00:00:00 [khubd]
root 1188 1 0 Dec22 ? 00:00:00 [kjournald]
root 1675 1 0 Dec22 ? 00:00:00 syslogd -m
0root 1679 1 0 Dec22 ? 00:00:00 klogd -
xrpc 1707 1 0 Dec22 ? 00:00:00
portmaproot 1813 1 0 Dec22 ?
00:00:00 /usr/sbin/sshd

The first column shows who owns the process. The second
column is the process ID. The Third column is the parent
process ID. This is the process that generated, or started,
the process. The forth column is the CPU usage (in
percent). The fifth column is the start time, of date if
the process has been running long enough. The sixth column
is the tty associated with the process, if applicable. The
seventh column is the cumulitive CPU usage (total amount of
CPU time is has used while running). The eighth column is
the command itself.


With this information you can see exacly what is running on
your system and kill run-away processes, or those that are
causing problems.

http://oracledbain.blogspot.com

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is parallel ssh?

548


what is the fastest way to enter a series of commands from the command-line in linux

536


What is tty name?

581


What are the basic commands in command prompt?

564


What is ll command in unix?

628






Write about an internal command.

607


How use linux command line?

539


What is an os command?

573


Explain about refer?

548


How do I run a script in linux?

553


How do I run a bash script in linux?

525


you wish to create a link to the /data directory in bob's home directory so you issue the command ln /data /home/bob/datalink but the command fails. What options hould you use in this command line to be successful.

550


What is lsof command in linux?

599


What does in makefile do?

571


How to recover /etc/passwd file and /etc/shadow file?

562