ps -o etime,pid,tty,comm -u "$user" | while read etime pid tty comm
This is the code snippet of my script and here ps -o command not applicale in HP unix.But it is available in solaris and aix.
So,for getting this is there any other options available?