Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log snapshot of running processes every 5 mins #17640

Merged
merged 1 commit into from Sep 11, 2017
Merged

Conversation

jopolsky
Copy link

@jopolsky jopolsky commented Sep 9, 2017

I wanted to collect more data about the CPU spikes on the test host. The cron runs every 5 minutes and grabs 5 snaps of running processes. It keeps 24 hours of logs, 12 per hour, total of 288 and roughly 20K per file. Logs rotate on top of each other.

Copy link

@jeremydstone jeremydstone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jopolsky jopolsky merged commit 9f6ee84 into staging Sep 11, 2017
@jopolsky jopolsky deleted the snapshot-cron branch September 11, 2017 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants