Clearly the output format from this GNU/Linux version of "ps" is different from the default unix output format.
Actually not having a space character between Month and Day is so much better ! (It's a pain in unix).
Just for completeness it would be nice to see a sample for processes started today.
Small sample of processes started "today" from my laptop:
Quote:
Originally Posted by rbatte1
I can't say that a huge long grep -v is really the best way to approach this given that you may inadvertently match so many things, but then if it works, then I suppose that's all we all want.
Robin
I agree completley -- If it were me I'd go with the 'hack' -- might be more of a maintenance headache if porting is needed, but it yields predictable results and doesn't match a command with a date string in it either.
Thank you.
This GNU/Linux version of "ps" has the start time as HH:MM and the CPU time as HH:MM:SS , whereas the unix version of "ps" has the start time as HH:MM:SS and the CPU time as MM:SS .
That's why the grep ':..:' worked in unix but not in GNU/Linux.