I need an expression to identify hung ftp processes that are older than "n" number of seconds.
In my script I have found the PID and STIME of the process that is hung. I would like to compare that to current time (HH:MM:SS and kill if it is older than 90 seconds).
Any help would be appreciated.
Thanks...
In my script I have found the PID and STIME of the process that is hung. I would like to compare that to current time (HH:MM:SS and kill if it is older than 90 seconds).
Any help would be appreciated.
Thanks...