mirror of
https://codeberg.org/icewind/palantir.git
synced 2026-06-03 18:24:08 +02:00
add process memory for processes using >1% memory
This commit is contained in:
parent
c269a90332
commit
41f594cc41
6 changed files with 160 additions and 1 deletions
|
|
@ -1,3 +1,4 @@
|
|||
use procfs::ProcError;
|
||||
use std::ffi::NulError;
|
||||
use std::fmt::Write;
|
||||
use std::num::{ParseFloatError, ParseIntError};
|
||||
|
|
@ -35,6 +36,8 @@ pub enum Error {
|
|||
InvalidStringData(#[from] Utf8Error),
|
||||
#[error(transparent)]
|
||||
InvalidCStringData(#[from] NulError),
|
||||
#[error(transparent)]
|
||||
Proc(#[from] ProcError),
|
||||
#[error("Failed to query vfs stats")]
|
||||
StatVfs,
|
||||
#[cfg(target_os = "windows")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue