Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a tool that will monitor the creation and destruction of Linux processes and generate data that would enable me to graph these events with respect to time? Or, alternatively, the tool would itself provide a graph or other visualization?

In other words, I would like to obtain a timeline of process creation/destruction over a certain time period. Other details about process activity, such as CPU utilization, would be a bonus.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

The lastcomm command examines the logfile /var/log/pacct if process accounting is enabled.

See man acct.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.