view rhodecode/tests/scripts/mem_watch @ 3852:eae62e28343e beta

handle case of rewrite without an gistid in nginx example
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 12 May 2013 17:19:21 +0200
parents 95624ce4465f
children
line wrap: on
line source

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 "" }'|grep [p]aster