view rhodecode/tests/scripts/mem_watch @ 2978:b84a4ec93ab6 beta

hanlde stripped or removed changesets on changeset info function
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 04 Nov 2012 13:16:11 +0100
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