To check cpu and memory usage of active jobs on a server use the command 'top':
top
To only see only jobs of a specific user you can call it with:
top -u username
By default, 'top' sorts all jobs by cpu usage. To sort them by memory usage just type 'M' (capital 'm') once 'top' is open.
To quit 'top' just press 'q'.
Output explanation
The following is from:
https://www.howtogeek.com/668986/how-to-use-the-linux-top-command-and-understand-its-output/
The first line of numbers on the dashboard includes the time, how long your computer has been running, the number of people logged in, and what the load average has been for the past one, five, and 15 minutes. The second line shows the number of tasks and their states: running, stopped, sleeping, or zombie.
The third line displays the following central processing unit (CPU) values:
The fourth line shows the total amount (in kibibytes) of physical memory, and how much is free, used, and buffered or cached.
The fifth line shows the total amount (also in kibibytes) of swap memory, and how much is free, used, and available. The latter includes memory that’s expected to be recoverable from caches.
The column headings in the process list are as follows:
Memory values are shown in kibibytes. The COMMAND
column is off-screen, to the right—it didn’t fit in the image above, but we’ll see it shortly.
The status of the process can be one of the following: