Finding stuff with top
:
(Note that the 1 indicates the number of times to take a sample)
C02MW21AFD59:cc-portal michaelfernando$ top -l 1 | grep ruby
83441 ruby 0.0 00:59.84 2 0 8+ 264+ 113M+ 100M+ 0B 0B 127M+ 2554M+ 83440 1 sleeping 501 246375+ 24001+ 13+ 4+ 1964300+ 36+ 8340+ 0 457K+ 32K+ 334 0.0 michaelfernando
83439 ruby 0.0 00:59.96 2 0 8+ 268+ 115M+ 103M+ 0B 0B 131M+ 2558M+ 83438 1 sleeping 501 233596+ 24079+ 8+ 4+ 1967378+ 36+ 8641+ 0 462K+ 38K+ 295 0.0 michaelfernando
83437 ruby 0.0 00:59.09 2 0 8+ 285+ 128M+ 117M+ 0B 0B 165M+ 2586M+ 83436 1 sleeping 501 261641+ 25082+ 16+ 4+ 1963939+ 91+ 6608+ 2+ 582K+ 83K+ 402 0.0 michaelfernando
83435 ruby 0.0 00:58.69 2 0 8+ 281+ 127M+ 115M+ 0B 0B 161M+ 2582M+ 83434 1