#!/bin/csh -f

set tmpfile = /tmp/genps.$$

(ps -f -U $USER > $tmpfile) >& /dev/null
if ($status) then
  ps guxww
else
  cat $tmpfile
endif

rm -f $tmpfile
