View Single Post

   
  #1 (permalink)  
Old 01-05-2008, 09:47 AM
ramu_av_82@yahoo.com
 
Posts: n/a
Default Need help in PS command for AIX

Hi

The command in AIX (ps -o "start") would give the output in the
following format,

ps -u dsaudit -o start
STARTED
Feb 01
12:32:04
12:32:00
time the command started. If the process was started less than 24 hours
ago, the output format is " HH:MM", else it is "mmm dd" (where mmm is
the three letters of the month).


But when the same Mac OSx (ps -o lstart) gives the output in the
following format.
STARTED
Thu Feb 9 22:44:12 2006
Tue Feb 14 17:51:45 2006
Thu Feb 9 14:21:16 2006
Thu Feb 9 14:21:17 2006

Is there a way to get the start time in the long format in AIX
machines.

Please let me know as early as possible. Thanks in advance.

Thanks,
Ramu Anekere

Reply With Quote