In AIX I am trying to get the processes ran by user declan using the following format:
ps -aef -o user,pid,etime,args | grep declan
Then I get a result similar to (for example):
declan 103264 123-12:47:33 /applications/apache/1.3.39.0/bin/httpd -d /var/applications/apache/www1
I know that the 123-12:47:33 follows the format days-hh:min:sec when etime is used .
Can you help me with the script to check for processes running for more than 30 days old using the data from the result of the first command above?