w tell what is happening just now. Are you interesting about ex. rm using or which command they use long period or which command need lot of cpu or only current situation and how much they have used something or if user A are using sh and sh and sh, total of user A using sh or ...
Just now:
w | sort -k 7,7 -k 1,1 | awk '{print $1,$6,$7}'