Commit f4ba0f21f99d3662ff78dd64914ed5436d4ea3ee
Committed by
Georg Hopp
1 parent
5e68b108
add memory usage output
Showing
1 changed file
with
5 additions
and
0 deletions
@@ -116,3 +116,8 @@ mail = MailAccount.new({ | @@ -116,3 +116,8 @@ mail = MailAccount.new({ | ||
116 | :home => '/var/spool/vmail/domains' | 116 | :home => '/var/spool/vmail/domains' |
117 | }) | 117 | }) |
118 | mail.save | 118 | mail.save |
119 | + | ||
120 | +puts | ||
121 | +puts '=====================================' | ||
122 | +# -o vsz/vsize | ||
123 | +puts 'Memory useage: ' + `ps -o rss= -p #{Process.pid}` |
Please
register
or
login
to post a comment