public Method

Inspector.inspect

There's no documentation for this item.

Source Code

# File commands/process/inspector.rb, line 20
def inspect
  header = `#{OPTIONS[:ps] % 1}`.split("\n")[0] + "\n"
  lines  = pids.collect { |pid| `#{OPTIONS[:ps] % pid}`.split("\n")[1] }

  puts(header + lines.join("\n"))
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.