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"}'
If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.bsd.cafe/users/Larvitz/statuses/115796855664916058 on your instance and quote it. (Note that quoting is not supported in Mastodon.)

