3

After a process has been terminated, is it possible to retrieve any information about it, such as when it started and finished, &c.

Is it possible to enable logging of this information?

0

2 Answers 2

1

In general, only if you log it at the time. Probably the most straightforward way would be to use the kernel's auditing features using auditd, and configure the system calls that you care about logging.

1

Take a look at the list of tools I covered on this U&L Q&A: titled: Commands for determining level of usage of server. This answer covered auditd as @ChrisDown highlighted plus several other tools for tracking usage after the fact, such as sar, lastcomm, and process accounting, among others.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .