Benefits of Msd
Running this daemon is beneficial for two reasons:
- Reduced wear to physical discs
Since the rrd databases relocated into tmpfs, the corresponding I/O associated with using Monitorix is also redirected from the physical disc to RAM, thus reducing wear to the physical disc and also greatly improving the update time. The access time of RAM is on the order of nanoseconds while the access time of physical discs is on the order of milliseconds. This is a difference of six orders of magnitude or 1,000,000 times faster.
Setup and Installation
AUR. Build it and install like any other package.AUR is available for download from the
The initial synchronization will occur when the daemon starts. Additionally, cron (if running on your system) will call it to sync or update once per hour. Finally, msd will sync back a final time when it is called to stop.
Users can call the daemon to start, stop, or restart (sync) like any standard Arch daemon:
# rc.d command msd
It is highly recommended to start/stop the daemon at boot/shutdown. This is accomplished by adding msd to the DAEMONS array in
/etc/rc.conf like so:
DAEMONS=(... msd ...)
Sync at More Frequent Intervals (Optional)
Users wishing to have syncs occur more frequently can simply add a line to the root crontab to call the sync function of msd like so:
# crontab -e
Example syncing once every ten minutes:
*/10 * * * * rc.d sync msd &> /dev/null
Post in the discussion thread with comments or concerns.
Source is available on github at [this url].