With ZFS 2.4.0 `arcstat` was renamed to `zarcstat`, without providing
a symlink for backward compatibility [0].

This patch fixes the invocation in proxmox-backup-manager report.

[0] 
https://git.proxmox.com/?p=zfsonlinux.git;a=commit;h=b52bb3caa4e4c7fab516c3aa828caa7b48b5ed7f

Reported-by: Friedrich Weber <[email protected]>
Signed-off-by: Stoiko Ivanov <[email protected]>
---
 src/server/report.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/server/report.rs b/src/server/report.rs
index 546555fb..e4c761cd 100644
--- a/src/server/report.rs
+++ b/src/server/report.rs
@@ -85,7 +85,7 @@ fn commands() -> Vec<(&'static str, Vec<&'static str>)> {
         ("bash", vec!["-c", "ls -l /dev/disk/by-*/"]),
         ("zpool", vec!["status"]),
         ("zfs", vec!["list"]),
-        ("arcstat", vec![]),
+        ("zarcstat", vec![]),
         ("dmidecode", vec!["-t", "bios"]),
         ("lscpu", vec![]),
         ("lspci", vec!["-nnk"]),
-- 
2.47.3




Reply via email to