How to monitor CPU or memory usage on a per-user basis
Issue
-
Need a way to determine what percentage of the CPUs and memory (RAM) each user is utilizing. Ideally, would like to have a command that printed something like the following.
user1 13% of total cpu usage, 25% of total ram user2 22% of total cpu usage, 2% of total ram
- Is there any command to fetch proportional set size of memory per user basis?
Environment
- Red Hat Enterprise Linux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.