title: Top active users in linux
body: <p>I'm trying to learn basic Linux so I'm doing a bit of extra homework.
  I need to write a shell script that displays in real time the top x users by number of active processes with a delay of n seconds (where x and n are command line parameters).</p>
  
  <p>I pretty much know how to do this, except the core part of it: How can I find who are the top users by number of active processes?</p>
  
  <p>I fooled around with top command, but that did not got me where I want to be. </p>