lib/zold/node/front.rb in zold-0.16.11 vs lib/zold/node/front.rb in zold-0.16.12

- old
+ new

@@ -187,11 +187,11 @@ pid: Process.pid, processes: processes_count, cpus: settings.zache.get(:cpus) do Concurrent.processor_count end, - memory: settings.zache.get(:load, lifetime: 5 * 60) do + memory: settings.zache.get(:memory, lifetime: 5 * 60) do require 'get_process_mem' GetProcessMem.new.bytes.to_i end, platform: RUBY_PLATFORM, load: settings.zache.get(:load, lifetime: 5 * 60) do @@ -403,10 +403,10 @@ ].flatten.join("\n\n") end get '/ps' do content_type('text/plain') - `ps ax` + `ps ax | grep zold` end not_found do status(404) content_type('text/plain')