process snapshots are taken from host and not from target
The command ps aux --sort=-%mem and ps aux --sort=-%cpu can print a snapshot of the processes (by processes using the most RAM and CPU). Cf. #4 (closed) and #12 (closed).
But I just realized these commands were used in the e-mail sending script, on the host computer (the one hosting the ssh-monitor-ioc) and not on the target computer (via ssh remote commands, like the other monitoring commands).