#!/bin/ksh
#
# cpu_hog
#
# Small shell script for displaying top 10 processes.
#
# John Roebuck - 28/09/99

echo "   CPU time   pid    Ppid   Logname Username tty  Process"
echo "   ======================================================"
ps -efF "%x %p %P %U %u %y %a" | sort -r | head