in reply to Can I see how long a process has been running?

This works for me (FreeBSD - it is not portable):

$process = 224; @a = `ps -p $process`; @b=split(/\s+/,$a[1]); print $b[4];