9/27/2023 0 Comments Linux command to see cpu usage![]() It provides a dynamic view of the processes running in your computer. 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. 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. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |