#!/usr/bin/ruby

require 'pstree'

puts PSTree.new(ARGV.shift)