I have the feeling that some of my FreeBSD devices have far more memory or processing power than what they actually use, while others could benefit from a little more RAM or a more powerful CPU/GPU. So I would like to collect basic system resource usage data over a period of 3-5 days, with each machine under its usual load, to see how they are doing.
As I do not need an all-time system monitoring solution, the likes of munin/cacti/nagios/rrdtools would be an overkill. I do not need to remotely access this data, I do not need to visualize it real-time. I just let the data be gathered for a few days and then I generate graphs, see maximum and minimum values, draw my conclusions, and then throw it all away.
Any suggestion along these thoughts is more than welcome!
Any hack on how to query a certain system detail, any idea on what other useful data to collect, post a comment please!
As I do not need an all-time system monitoring solution, the likes of munin/cacti/nagios/rrdtools would be an overkill. I do not need to remotely access this data, I do not need to visualize it real-time. I just let the data be gathered for a few days and then I generate graphs, see maximum and minimum values, draw my conclusions, and then throw it all away.
- With the coretemp/amdtemp modules loaded, I can run
sysctl
periodically to query CPU temperature data. - With the smartmontools package installed, I can run
smartctl
periodically to collect HDD/SSD temperature data. - Running
swapinfo
periodically, I can record how much swap space is being used. - Running
du -sch
I can see how a directory grows/shrinks in size. - Running
df -h
I can record how much storage space on a volume is used. - How would I keep track of CPU utilization?
- How could I record the amount of memory used?
top
could some way be used.Any suggestion along these thoughts is more than welcome!
Any hack on how to query a certain system detail, any idea on what other useful data to collect, post a comment please!