The ps command accepts three different styles of options UNIX, BSD, and GNU. The output only includes the name of the command or executable and does not display any options that were passed in. This value is not the run time of the process.ĬMD: The name of the command or executable that is running. Displays the amount of CPU time used by the process. Processes that do not originate from a controlling terminal and were initiated by the system at boot are displayed with a question mark. TTY: The controlling terminal associated with the process. The PID is useful when you need to use a command like kill or nice, which take a PID as their input. PID: The process ID is your system’s tracking number for the process. The default output of the ps command contains four columns that provide the following information: The command returns a similar output: PID TTY TIME CMD The ps command without any options displays information about processes that are bound by the controlling terminal. This guide provides an introduction to the ps aux command with brief examples to help you interpret its output. Since the ps aux command displays an overview of all the processes that are running, it is a great tool to understand and troubleshoot the health and state of your Linux system. A process is associated with any program running on your system, and is used to manage and monitor a program’s memory usage, processor time, and I/O resources. The ps aux command is a tool to monitor processes running on your Linux system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |