
- Forum
- Operating Systems
- Linux
- Is this a Utility
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 ...
-
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.
-
Yes ps is a utility used to know about the process status of an operating system.
-
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.
-
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

Reply With Quote





