#!/usr/lib/ruby/bin/ruby

require 'pstree'

puts PSTree.new(ARGV.shift)