Struct libc::kinfo_proc2

source ·
#[repr(C)]
pub struct kinfo_proc2 {
Show 94 fields pub p_forw: u64, pub p_back: u64, pub p_paddr: u64, pub p_addr: u64, pub p_fd: u64, pub p_cwdi: u64, pub p_stats: u64, pub p_limit: u64, pub p_vmspace: u64, pub p_sigacts: u64, pub p_sess: u64, pub p_tsess: u64, pub p_ru: u64, pub p_eflag: i32, pub p_exitsig: i32, pub p_flag: i32, pub p_pid: i32, pub p_ppid: i32, pub p_sid: i32, pub p__pgid: i32, pub p_tpgid: i32, pub p_uid: u32, pub p_ruid: u32, pub p_gid: u32, pub p_rgid: u32, pub p_groups: [u32; 16], pub p_ngroups: i16, pub p_jobc: i16, pub p_tdev: u32, pub p_estcpu: u32, pub p_rtime_sec: u32, pub p_rtime_usec: u32, pub p_cpticks: i32, pub p_pctcpu: u32, pub p_swtime: u32, pub p_slptime: u32, pub p_schedflags: i32, pub p_uticks: u64, pub p_sticks: u64, pub p_iticks: u64, pub p_tracep: u64, pub p_traceflag: i32, pub p_holdcnt: i32, pub p_siglist: ki_sigset_t, pub p_sigmask: ki_sigset_t, pub p_sigignore: ki_sigset_t, pub p_sigcatch: ki_sigset_t, pub p_stat: i8, pub p_priority: u8, pub p_usrpri: u8, pub p_nice: u8, pub p_xstat: u16, pub p_acflag: u16, pub p_comm: [c_char; 24], pub p_wmesg: [c_char; 8], pub p_wchan: u64, pub p_login: [c_char; 24], pub p_vm_rssize: i32, pub p_vm_tsize: i32, pub p_vm_dsize: i32, pub p_vm_ssize: i32, pub p_uvalid: i64, pub p_ustart_sec: u32, pub p_ustart_usec: u32, pub p_uutime_sec: u32, pub p_uutime_usec: u32, pub p_ustime_sec: u32, pub p_ustime_usec: u32, pub p_uru_maxrss: u64, pub p_uru_ixrss: u64, pub p_uru_idrss: u64, pub p_uru_isrss: u64, pub p_uru_minflt: u64, pub p_uru_majflt: u64, pub p_uru_nswap: u64, pub p_uru_inblock: u64, pub p_uru_oublock: u64, pub p_uru_msgsnd: u64, pub p_uru_msgrcv: u64, pub p_uru_nsignals: u64, pub p_uru_nvcsw: u64, pub p_uru_nivcsw: u64, pub p_uctime_sec: u32, pub p_uctime_usec: u32, pub p_cpuid: u64, pub p_realflag: u64, pub p_nlwps: u64, pub p_nrlwps: u64, pub p_realstat: u64, pub p_svuid: u32, pub p_svgid: u32, pub p_ename: [c_char; 16], pub p_vm_vsize: i64, pub p_vm_msize: i64,
}

Fields§

§p_forw: u64§p_back: u64§p_paddr: u64§p_addr: u64§p_fd: u64§p_cwdi: u64§p_stats: u64§p_limit: u64§p_vmspace: u64§p_sigacts: u64§p_sess: u64§p_tsess: u64§p_ru: u64§p_eflag: i32§p_exitsig: i32§p_flag: i32§p_pid: i32§p_ppid: i32§p_sid: i32§p__pgid: i32§p_tpgid: i32§p_uid: u32§p_ruid: u32§p_gid: u32§p_rgid: u32§p_groups: [u32; 16]§p_ngroups: i16§p_jobc: i16§p_tdev: u32§p_estcpu: u32§p_rtime_sec: u32§p_rtime_usec: u32§p_cpticks: i32§p_pctcpu: u32§p_swtime: u32§p_slptime: u32§p_schedflags: i32§p_uticks: u64§p_sticks: u64§p_iticks: u64§p_tracep: u64§p_traceflag: i32§p_holdcnt: i32§p_siglist: ki_sigset_t§p_sigmask: ki_sigset_t§p_sigignore: ki_sigset_t§p_sigcatch: ki_sigset_t§p_stat: i8§p_priority: u8§p_usrpri: u8§p_nice: u8§p_xstat: u16§p_acflag: u16§p_comm: [c_char; 24]§p_wmesg: [c_char; 8]§p_wchan: u64§p_login: [c_char; 24]§p_vm_rssize: i32§p_vm_tsize: i32§p_vm_dsize: i32§p_vm_ssize: i32§p_uvalid: i64§p_ustart_sec: u32§p_ustart_usec: u32§p_uutime_sec: u32§p_uutime_usec: u32§p_ustime_sec: u32§p_ustime_usec: u32§p_uru_maxrss: u64§p_uru_ixrss: u64§p_uru_idrss: u64§p_uru_isrss: u64§p_uru_minflt: u64§p_uru_majflt: u64§p_uru_nswap: u64§p_uru_inblock: u64§p_uru_oublock: u64§p_uru_msgsnd: u64§p_uru_msgrcv: u64§p_uru_nsignals: u64§p_uru_nvcsw: u64§p_uru_nivcsw: u64§p_uctime_sec: u32§p_uctime_usec: u32§p_cpuid: u64§p_realflag: u64§p_nlwps: u64§p_nrlwps: u64§p_realstat: u64§p_svuid: u32§p_svgid: u32§p_ename: [c_char; 16]§p_vm_vsize: i64§p_vm_msize: i64

Trait Implementations§

source§

impl Clone for kinfo_proc2

source§

fn clone(&self) -> kinfo_proc2

Returns a copy of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for kinfo_proc2

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for kinfo_proc2

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given [Hasher]. Read more
1.3.0§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given [Hasher]. Read more
source§

impl PartialEq for kinfo_proc2

source§

fn eq(&self, other: &kinfo_proc2) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for kinfo_proc2

source§

impl Eq for kinfo_proc2

source§

impl StructuralPartialEq for kinfo_proc2

Auto Trait Implementations§

§

impl RefUnwindSafe for kinfo_proc2

§

impl Send for kinfo_proc2

§

impl Sync for kinfo_proc2

§

impl Unpin for kinfo_proc2

§

impl UnwindSafe for kinfo_proc2

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.