mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-05 19:40:09 +00:00
Added ClamAV version to Statistics
This commit is contained in:
parent
88f852584c
commit
afdbc7e9a1
@ -640,6 +640,7 @@ self.stats = async (req, res, next) => {
|
|||||||
platform: `${os.platform} ${os.arch}`,
|
platform: `${os.platform} ${os.arch}`,
|
||||||
distro: `${os.distro} ${os.release}`,
|
distro: `${os.distro} ${os.release}`,
|
||||||
kernel: os.kernel,
|
kernel: os.kernel,
|
||||||
|
scanner: self.clamscan.version,
|
||||||
cpuLoad: `${currentLoad.currentload.toFixed(1)}%`,
|
cpuLoad: `${currentLoad.currentload.toFixed(1)}%`,
|
||||||
cpusLoad: currentLoad.cpus.map(cpu => `${cpu.load.toFixed(1)}%`).join(', '),
|
cpusLoad: currentLoad.cpus.map(cpu => `${cpu.load.toFixed(1)}%`).join(', '),
|
||||||
systemMemory: {
|
systemMemory: {
|
||||||
|
Loading…
Reference in New Issue
Block a user