animeopk.blogg.se

Linux command to see cpu usage
Linux command to see cpu usage











linux command to see cpu usage

To get an updating view of the processes, use the top command. You can provide a list of process IDs, separated by spaces. You are not restricted to one process ID.

linux command to see cpu usage

Use the -p (select by process ID) option to achieve this: ps -p 3403 Once you have found the process ID for the process you’re interested in, you can use it with the ps command to list the details of that process.

  • CMD: The name of the command that launched the process.
  • TIME: The amount of CPU processing time that the process has used.
  • TTY: The name of the console that the user is logged in at.
  • PSR: The processor that the process is assigned to.
  • This is the non-swapped physical memory used by the process.
  • SZ: Size in RAM pages of the process image.
  • C: The number of children the process has.
  • PPID: Parent process ID of the process.
  • UID: The user ID of the owner of this process.












  • Linux command to see cpu usage