System Accounting
¬

 sa will display system accounting information for every process
 that has been executed.

The -m option  will print number of processes and number of CPU 
minutes for each user.

Note:
In order for these to work you need to enable your system
accounting.

      ¬