2
rated 0 times
[
2]
[
0]
/ answers: 1 / hits: 627
/ 2 Years ago, sat, november 5, 2022, 1:13:31
I've typed this command to get the memory usage for each user :
ps aux | awk 'NR>2{arr[$1]+=$6}END{for(i in arr) print i,arr[i]}'
I want to know if there is a command or a way to get the cpu usage or in other words "cpu utilization percentage" for each user like the above command which its output :
More From » 12.04