Ps command Assignment Help

Assignment Help: >> Working with Pipes and Filters - Ps command

ps

The ps command is used to show the status of the running processes. This command reports the process ID, the related terminal type, the amount of time a procedure has used and the command being executed.

Syntax

ps [options]

Options:

-u <username>            Displays the process status for a particular user

-e                                 Displays the information about every process

-f                                 Displays the full listing of header information

-t <terminal>               Displays the process status for a particular terminal

The column headers are:

UID     user's ID no. of the process's owner

PID     process ID of the process

PPID               process ID of the parent process

C                     for scheduling purposes the processor utilization used

STIME            time the command started

TTY                 terminal from which the process was started

TIME              for the process cumulative execution time

COMMAND name of the process started

The subsequent example displays how to get the procedure status of the processes executed from the current terminal

# ps

PID TTY         TIME CMD

1077 pts/2       0:11 ls

1070 pts/2       0:00 sh

1072 pts/2       0:00 jsh

Note : A ? mark in the TTY column represents in which the process is begin automatically and there is no controlling terminal.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd