[][src]Crate darwin_libproc

Idiomatic and safe wrappers for libproc of macOS.

Structs

proc_bsdinfo
proc_fdinfo
proc_taskallinfo
proc_taskinfo

Functions

all_pids

Fetch pids for all processes running in system.

name

Fetch process name for pid provided.

pgrp_only_pids

Fetch pids for processes running in system in a given group.

pid_cwd

Fetch current working directory for process with pid provided.

pid_path

Fetch executable absolute path for process with pid provided.

ppid_only_pids

Fetch pids for processes running in system with the given PPID.

ruid_only_pids

Fetch pids for processes running in system with the given RUID.

task_all_info

Returns filled proc_taskallinfo struct for pid given.

task_info

Returns filled proc_taskinfo struct for pid given.

tty_only_pids

Fetch pids for processes running in system attached to a given TTY.

uid_only_pids

Fetch pids for processes running in system with the given UID.

version

Returns the libproc version as a tuple of (major, minor) parts.

vnode_path_info

Returns filled proc_vnodepathinfo struct for pid given.