#!/bin/csh -f set ps_cmd = "ps -w -o user,tty,stime,ppid,pid,pgid,pri,rss,vsz,time,args" $ps_cmd -A | head -1 $ps_cmd -A | grep -i $* | grep -v grep