You could try
This will get all lines matching the search and therefore any processes over 24Hr (which then show just a date for the start column) will be eliminated, unless there is some other reason to match them, i.e. the command string matches it.
Thanks for your help. The only problem with that command is that it lists everything. I need a command that only lists processes started less than 24 hours ago. Do you have an idea how I would do that?
Last edited by paris123; 12-28-2011 at 11:48 AM..
Reason: Making correction
Sorry but I do not believe that your "ps -ef" outputs dates in that format.
Please can you post some complete output lines (in code tags) taking special care to preserve any spacing.
Also it's time we knew what Operating System this is (blotting anything confidential like machine names and licence numbers):