Mercurial > kallithea
annotate rhodecode/tests/mem_watch @ 1437:7a46d67c263c beta
added welcome message if no repositories are present in current view
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 22 Jul 2011 20:06:40 +0200 |
parents | 08cd02374883 |
children | 727e1f922a89 |
rev | line source |
---|---|
1334
08cd02374883
Added mem_watch script. Test can also walk on file tree. Fixed some path issues
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
1 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 paster |