728x90 AdSpace

Latest News
Tuesday, May 21, 2013

PS Command in Linux

ps Command..!!

 ps Command is one of the important and mostly used linux commands

Here ps indicates "Process Status"

Typing ps Command will show the list of active processes in the system.

The following is the sample output ps command

PID   TTY   TIME   CMD
6874  pts/9   0:00     ksh
6877  pts/9   0:01     csh
418    pts/9   0:00     csh

PID -> Process ID .It is Unique ID with which we can distinguish one process.

TTY -> TeleTYpewriter. It is nothing but the computer terminal

TIME ->  Indicates the Time

CMD -> Command Name

ps Command has got many options, but let me discuss few here

ps -e     This command will list the current running process

ps -l      This command will generate a long list than the output of normal ps command

ps - j    This command will limit the output of ps command by displaying only the Session ID and 
            Group ID

ps -f   This command will display full information about each and every process that is being running


Usage :

The main usage of ps command is to know the process ID. If your system has struck in between and if u want to know which process makes it dump, you can use ps command.

Using the PID in ps command you can KILL the process...:)


Will Discuss about KILL command in the next post..:)


Have a nice day..:)

Praveen Kumar Rajendran
Chennai
 





 
 


  • Blogger Comments
  • Facebook Comments

0 comments:

Post a Comment

Item Reviewed: PS Command in Linux Rating: 5 Reviewed By: Praveen Kumar Rajendran