Script for long running processes....

I searched the forums but didn't see anything related to what I'm looking for. I need a script that would give me a listing of jobs running longer than, for example, 12 hours or so. Thanks in advance for your assistance!!

This solution work for me

top -d 1 -o time | awk 'NR > 7 && int($9) > 12'

I tried your command but it didn't work. Guess it would've helped if I specified on what type Unix system I was trying to use this on: AIX 5.X Not sure if it makes a difference though. Appreciate if you can let me know whether I can use it still or should I try something different. Thanks for your quick reply, Dan.