Sha256: 4b013df171996b5cbe858527203afa1514f28020d635ec5c87bb1e27a41415cf

Contents?: true

Size: 152 Bytes

Versions: 2

Compression:

Stored size: 152 Bytes

Contents

pid = ARGV[0]

puts "PID: #{pid}"

while true do
  print Time.now.strftime("%H:%M:%S ")
  puts `cat /proc/#{pid}/status | grep 'VmSize'`
  sleep 5
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
swiftiply-0.5.0 test/rails/observe_ram.rb
swiftiply-0.5.1 test/rails/observe_ram.rb