I recently installed it on my device and the question arose whether netdata stores information in ram or flash memory. Apparently it’s stored in ram, which makes me more relieved, but at the end of the graphics there’s a call for “NetData Disk Space Plugin CPU usage” which implies that it’s stored on disk. Could someone solve my doubt if netdata writes some information in the flash memory?
data are purely in memory. Data are never saved on disk.
You can change the memory mode in
netdata.conf, search for
mode in the
“NetData Disk Space Plugin CPU usage” which implies that it’s stored on disk.
It doesn’t. It is diskspace data collector. It reads
/proc/self/mountinfo and then calls
statvfs() for every mountpoint.