prtstat – Display process information

The prtstat command is used to display process information. It is a useful tool for system administrators and developers to monitor processes running on a system, including their resource usage and performance metrics.


The prtstat command displays information about all processes running on a system. By default, it displays the following information:

  • Process ID (PID)
  • CPU usage (%CPU)
  • Memory usage (%MEM)
  • Command name (CMD)

Here is the basic syntax for using the prtstat command:

prtstat [options]


  1. Display information about all processes:
  1. Display information about a specific process using its PID:
prtstat -p 1234
  1. Display process information continuously at a specified interval:
prtstat -t 5

Specific use cases

  • Monitoring CPU and memory usage of processes
  • Identifying resource-intensive processes
  • Troubleshooting performance issues


The following options are available for the prtstat command:

Option Description
-a Display information about all processes.
-p PID Display information about a specific process using its PID.
-t INTERVAL Display process information continuously at a specified interval (in seconds).
-u USERNAME Display information about processes owned by a specific user.
-h Display help information about the command.

Troubleshooting tips

  • If the prtstat command is not installed on your system, you can install it using your package manager. For example, on Ubuntu-based systems, you can install it using the following command:
sudo apt-get install procps
  • If you are not seeing any output from the prtstat command, try running it with elevated privileges using sudo.


  • The prtstat command is included in the procps package on most Linux distributions.
  • The prtstat command is similar to the top command, but provides more detailed information about individual processes.