From the Linux command line, give a count of the number of active processes per user, sorted in descending order by count. #Linux #DFIR #CommandLine #Trivia
Nov 11, 2022 · 12:49 PM UTC
5
5
Props to istar_nil for a great answer to yesterday's #Linux #DFIR #CommandLine #Trivia:
ps -ef | tail +2 | awk '{ print $1 }' | sort | uniq -c | sort -nr
First off, *chef's kiss* to the "tail +2" to skip the initial header line in… infosec.exchange/@hal_pomera…
1
3




