[][src]Enum psutil::process::Status

pub enum Status {
    Running,
    Sleeping,
    DiskSleep,
    Stopped,
    TracingStop,
    Zombie,
    Dead,
    WakeKill,
    Waking,
    Parked,
    Idle,
    Locked,
    Waiting,
    Suspended,
}

Possible statuses for a process.

Variants

Running

(R)

Sleeping

(S) Sleeping in an interruptible wait

DiskSleep

(D) Waiting in uninterruptible disk sleep

Stopped

(T) Stopped (on a signal)

Or before Linux 2.6.33, trace stopped

TracingStop

(t) (Linux 2.6.33 onward)

Zombie

(Z)

Dead

(X)

WakeKill

(Linux 2.6.33 to 3.13 only)

Waking

(Linux 2.6.33 to 3.13 only)

Parked

(P) (Linux 3.9 to 3.13 only)

Idle

(I) (Linux, macOS, FreeBSD)

Locked

(FreeBSD)

Waiting

(FreeBSD)

Suspended

(NetBSD)

Trait Implementations

impl Clone for Status[src]

impl Copy for Status[src]

impl Debug for Status[src]

impl FromStr for Status[src]

type Err = Error

The associated error which can be returned from parsing.

impl ToString for Status[src]

impl TryFrom<char> for Status[src]

Returns a Status based on a status character from /proc/[pid]/stat.

See array.c:115 and proc(5).

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for Status

impl Send for Status

impl Sync for Status

impl Unpin for Status

impl UnwindSafe for Status

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.