what is command to get same using ps with switch.
I know process id, by specify process id.
It should work on solaris and hp-ux
I will be happy if for both different commands.
As much as I know, ps -f will give you a column called STIME which indicates the start time.
from the ps -f
UID PID PPID C STIME TTY TIME CMD
rajuMBT 23176 23174 0 14:57:14 pts/51 0:00 -csh
STIME is the process start time