Forrest logo
back to the top tool

top:tldr:90df5

top: Start top displaying only processes owned by given user.
$ top -user ${user_name}
try on your machine

The command "top -user ${user_name}" is used to view system processes in real-time for a specific user.

Here's a breakdown of the command:

  • "top" is a command-line utility in Unix-like operating systems that provides a dynamic view of system processes and resource usage.
  • "-user" is an option or flag used with the "top" command to specify that we want to filter the view by user.
  • "${user_name}" is a placeholder representing the actual username you want to monitor. You need to replace "${user_name}" with the specific username you wish to observe.

When you execute this command, the output will display a live-updating list of processes running on the system for the specified user. It typically includes details such as process ID (PID), CPU usage, memory usage, and other relevant information.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the top tool