I need to list out the processes which are started/restarted today in my Solaris box. If not possible need to convert the process uptime in minutes or seconds and compare it with a configurable value to list out those process ids for further processing in my scripting.
I have Solaris 10 on a Sun Blade 100 and it works for me. So what version of Solaris are you using, and which version of ps are you using? It won't work if you have /usr/ucb ahead of /usr/bin or /bin in your PATH environment variable.
Okay, I misunderstood. So etimes is different to etime. I thought you were making a typo there.
I would say at this point your best bet would be to pipe it into an awk (or perl ) one-liner which is able to identify the format being output and convert into seconds.