Struct sysinfo::Process [−][src]
pub struct Process { pub uid: uid_t, pub gid: gid_t, pub tasks: HashMap<Pid, Process>, // some fields omitted }
Expand description
Struct containing a process’ information.
Fields
uid: uid_t
User id of the process owner.
gid: gid_t
Group id of the process owner.
tasks: HashMap<Pid, Process>
Tasks run by this process.
Trait Implementations
Returns the status of the processus (idle, run, zombie, etc). None
means that
sysinfo
doesn’t have enough rights to get this information.
Returns the virtual memory usage (in KB). Read more
Returns the time of process launch (in seconds). Read more
Returns the total CPU usage (in %). Notice that it might be bigger than 100 if run on a multicore machine. Read more
Returns number of bytes read and written to disk. Read more
Auto Trait Implementations
impl RefUnwindSafe for Process
impl UnwindSafe for Process