Sort Processes by Memory Usage

FreeBSD *Use zfs-stats to check how much is zfs using from your memory Linux ps -eo size,pid,user,command –sort -size | awk ‘{ hr=$1/1024 ; printf(“%13.2f Mb “,hr) } { for ( x=4 ; x<=NF ; […]

check free memory in FreeBSD

In case you’re coming from Linux world to FreeBSD first of all: Welcome! You might miss some commands, like free. Here is a very short tutorial for that. fetch https://raw.githubusercontent.com/ocochard/myscripts/master/FreeBSD/freebsd-memory.sh sh freebsd-memory.sh Then of course […]