I would like to get a log of all processes that are launched with the time that they were launched and the arguments they were launched with. Is this possible in Linux?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
|
Your starting point should be auditd. Try something like this:
|
|||
|
|
|
I needed to do this, except (1) I didn't need the time and (2) I was only interested in processes that are started by a given process, and its children and subsequent descendants. Also, in the environment I was using, it wasn't possible to get Prefix the following to the process of interest on the command line:
The information you need will be in the log output displayed on STDERR. |
|||
|
|
|
You can try |
|||
|