Can somebody help me write a perl script which totals the total amount of time that each user is using on the system, as well as the number of processes the user is using.
The output of your program would be the following:
root 00:01:18 13
ananias 00:00:00 1
dias 00:00:00 1
peter 00:00:00 1