Method: Padrino.perf_memusage_command
- Defined in:
- padrino-performance/lib/suites/mem.rb
.perf_memusage_command ⇒ Object
15 16 17 18 19 20 21 22 23 |
# File 'padrino-performance/lib/suites/mem.rb', line 15 def perf_memusage_command if Performance::OS.mac? "vmmap #{$$} | tail -5" elsif Performance::OS.linux? "pmap #{$$} | tail -1" elsif Performance::OS.windows? "tasklist /FI \"PID eq #{$$}\"" end end |