Mercurial > kallithea
annotate rhodecode/tests/mem_watch @ 2364:9d61aad859bc codereview
code garden
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 30 May 2012 23:12:24 +0200 |
parents | 727e1f922a89 |
children |
rev | line source |
---|---|
2212
727e1f922a89
exclude the actual grep command in memwatch
Marcin Kuzminski <marcin@python-works.com>
parents:
1334
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 [p]aster |