FreeBSD shorts:
Uncategorized
2
Posts
1
Posters
0
Views
-
-
Little bonus:
Want to see ONLY Jail processes, sorted by CPU%?
This command filters out the host system (JID 0) and sorts the rest by Jail ID and CPU usage:
ps -ax -o jid,jail,pid,user,%cpu,%mem,command | awk 'NR==1 {print; next} $1!=0 {print | "sort -k1n -k5rn"}'
-
undefined stefano@mastodon.bsd.cafe shared this topic