view rhodecode/tests/mem_watch @ 2411:d3978233fcfa beta

chmod the hooks to 755, like all other githooks. fix hook template name
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 07 Jun 2012 13:09:07 +0200
parents 727e1f922a89
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