bugfix zombie procs

This commit is contained in:
Daniel Heule
2026-03-04 16:34:00 +01:00
parent dfa28457da
commit 8a3061af2b
2 changed files with 2 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "rsnmpagent"
version = "0.4.4"
version = "0.4.5"
edition = "2024"
[profile.release]

View File

@@ -56,6 +56,7 @@ pub(crate) fn count_processes(proc_path: &Path) -> io::Result<Ptypes> {
75 => counts.wakekill += 1, // K
87 => counts.waking += 1, // W
73 => counts.idle += 1, // I
90 => counts.zombie += 1, // Z
_ => warn!("unknown proc status value {}", byteval),
}
}