Virtuozzo SWsoft OpenVZ Guida Utente Pagina 58

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 57
Managing Resources 58
# for res in tcpsendbuf tcprcvbuf unixsockbuf sockrcvbuf kmemsize; \
do echo;echo "$res usage for all VEs, in MB:";cat \
/proc/user_beancounters |grep $res|sed "s/[[:digit:]]\+://g" \
|awk 'BEGIN{ cur=max=lim=0; } { cur+=$2; max+=$3;lim+=$5 } \
END {print "held:",cur/1024/1024, "max:", max/1024/1024, \
"limit:", lim/1024/1024}'; done
Vedere la pagina 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 118 119

Commenti su questo manuale

Nessun commento