Exforsys
+ Reply to Thread
Results 1 to 4 of 4

Is this a Utility

This is a discussion on Is this a Utility within the Linux forums, part of the Operating Systems category; Is ps a utility in UNIX operating system. If so what is the use of this? I am curious to ...

  1. #1
    Adrian is offline Senior Member Array
    Join Date
    Apr 2006
    Answers
    124

    Is this a Utility

    Is ps a utility in UNIX operating system. If so what is the use of this? I am curious to know about this. If anyone could give the syntax also it would be of great use.


  2. #2
    ashlee is offline Senior Member Array
    Join Date
    Apr 2006
    Answers
    108
    Yes ps is a utility used to know about the process status of an operating system.


  3. #3
    Ralph is offline Senior Member Array
    Join Date
    Apr 2006
    Answers
    114
    The general syntax of ps is normally typing ps in the command line to know about the process status of an operating system. But there are also additional options in it and the user can use it as per their needs.
    Some of the options that can be used with ps are given below:
    -A Select all processes.
    T Select all processes associated with this terminal.
    -d Select all processes except session leaders.


  4. #4
    sammy is offline Senior Member Array
    Join Date
    Apr 2006
    Answers
    144
    Apart from the options it is also possible to combine ps with other commands in UNIX to get more detailed information as per the needs of the programmers. For example ps command when used along with grep command in UNIX is used for finding information about one process namely the process id. That is it is achieved by piping the output of ps command as input to grep command.


    •    Sponsored Ads



Latest Article

Network Security Risk Assessment and Measurement

Read More...