Added ClamAV version to Statistics

This commit is contained in:
Bobby Wibowo 2020-11-01 07:10:43 +07:00
parent 88f852584c
commit afdbc7e9a1
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF

View File

@ -640,6 +640,7 @@ self.stats = async (req, res, next) => {
platform: `${os.platform} ${os.arch}`,
distro: `${os.distro} ${os.release}`,
kernel: os.kernel,
scanner: self.clamscan.version,
cpuLoad: `${currentLoad.currentload.toFixed(1)}%`,
cpusLoad: currentLoad.cpus.map(cpu => `${cpu.load.toFixed(1)}%`).join(', '),
systemMemory: {