

It’s simply a static output of current resource usage in the server. You can use the grep command to separate users.

In particular, it is worth checking with the -H (hierarchy) and -forest options to make sure it doesn’t have any important child processes that you’d forgotten about.“ ps command” and “ top command” have a lot of options, here I am explaining some useful command combinations to find the resource(cpu, memory…) usages of users in the server. Make sure it is the one you’re after, and check that it isn’t going to cause you any problems. RELATED: 37 Important Linux Commands You Should Know Before You Kill a Process COMMAND: command name or command line (name and command line parameters) If the command column cannot be seen, press the “Right Arrow” key.TIME+: total CPU time used by the task in hundredths of a second.%CPU: the share of CPU time used by the process since the last update.See the list below of the values this field can take RES: Resident memory used by the process.

VIRT: Virtual memory used by the process.The columns hold information on the processes: There is a dashboard area at the top of the screen made up of lines of text, and a table in the lower part of the screen made up of columns. 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.
