Logging server load over a period of time (Debian)

CTXMedia

Well-known member
Does anyone know how to write a log of server load over time in Debian - just a plain text with date/time load?

I'd like to start logging now on a 10 min. interval so I can compare once I've migrated XF.

Any help appreciated. (y)

Cheers,
Shaun :D
 
Set up a cron job to run a script every 10 minutes.

Make a script file with

Code:
uptime | tee -a /var/log/serverload.txt

save it and chmod+x it.

That should work i guess.
 
Thanks, I'll give it a go. (y)

[Edit: All set up - writing at 2 mins. intervals so I should be able to compare pre/post XF migration server load levels.]
 
Top Bottom