fr:tricks:linux_useful_command
Memory usage per process
ps -eo size,pid,user,command --sort -size | awk '{ hr=$1/1024 ; printf("%13.2f Mb ",hr) } { for ( x=4 ; x<=NF ; x++ ) { printf("%s ",$x) } print "" }' |cut -d "" -f2 | cut -d "-" -f1
fr/tricks/linux_useful_command.txt · Dernière modification : 2021/07/12 08:29 de 80.254.163.50