diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2023-03-02 17:40:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-02 17:40:56 -0500 |
commit | c2d94900f31305176781950278bc629d399f41f3 (patch) | |
tree | 479c6a8b0a39799a6a72c0ff387206dbba7a72fd /src | |
parent | f26d598410c63dd5fcf6ed10bdd4b56e75697390 (diff) |
deps: bump procfs to 0.15.1 (#1038)
Diffstat (limited to 'src')
-rw-r--r-- | src/app/data_harvester/processes/linux.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/data_harvester/processes/linux.rs b/src/app/data_harvester/processes/linux.rs index a099adb0..e290f74b 100644 --- a/src/app/data_harvester/processes/linux.rs +++ b/src/app/data_harvester/processes/linux.rs @@ -163,7 +163,7 @@ fn read_proc( use_current_cpu_total, ); let parent_pid = Some(stat.ppid); - let mem_usage_bytes = stat.rss_bytes()?; + let mem_usage_bytes = stat.rss_bytes(); let mem_usage_kb = mem_usage_bytes / 1024; let mem_usage_percent = mem_usage_kb as f64 / mem_total_kb as f64 * 100.0; |