Is there a way to capture, say, 60 seconds or so of ps output?
Our system uses a customized user interface which has a button to save accounting info to a file. What I am trying to do is figure out what program it calls, so that I can set up a cron entry which runs the process on a regular basis - rather than relying on the operator to remember to do it.
What I would like to do is identify all of the processes which are active during a certain period (after the button is pushed) and compare that list to the system's idle state. Adding to the complication is that the process only takes a second or two to run, which makes it difficult to catch using top, or running ps manually.
Thanks for any help!
Allen
Our system uses a customized user interface which has a button to save accounting info to a file. What I am trying to do is figure out what program it calls, so that I can set up a cron entry which runs the process on a regular basis - rather than relying on the operator to remember to do it.
What I would like to do is identify all of the processes which are active during a certain period (after the button is pushed) and compare that list to the system's idle state. Adding to the complication is that the process only takes a second or two to run, which makes it difficult to catch using top, or running ps manually.
Thanks for any help!
Allen