Originally Posted by ali_nmp
maybe it is better that i describe my question in anther way! assume, i wrote an script e.g test.sh and i wanna execute it like bash.sh 5.
i wanna it get all process that is running of 5 hours ago till currently time. how can i do it?
Instead of "start" in your command, you should use one of the following:
etime: elapsed time since the process was started
bsdtime: accumulated cpu time, user + system.
cputime: cumulative CPU time