Commit 5da7e735c65ce6b549424927d04c2ec96fffe670

Authored by Georg GH. Hopp
Committed by Georg Hopp
1 parent cdb8746e

add memory usage output

Showing 1 changed file with 2 additions and 0 deletions
@@ -36,3 +36,5 @@ puts '---' @@ -36,3 +36,5 @@ puts '---'
36 puts alias_person.find {|map| map.mail == 'georg@steffers.org'}.inspect 36 puts alias_person.find {|map| map.mail == 'georg@steffers.org'}.inspect
37 puts '---' 37 puts '---'
38 puts account.find {|acc| acc.mail == 'drachenfrau@steffers.org'}.inspect 38 puts account.find {|acc| acc.mail == 'drachenfrau@steffers.org'}.inspect
  39 +
  40 +puts 'Memory useage: ' + `ps -o rss= -p #{Process.pid}`
Please register or login to post a comment