4 lines
87 B
Text
4 lines
87 B
Text
|
#!/usr/bin/env zsh
|
||
|
|
||
|
top -b -n 1 -u "$1" | awk 'NR>7 { sum += $9; } END { print sum; }'
|