How to monitor CPU or memory usage on a per-user basis

Solution Verified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.