Docs.rs
procref-0.1.0
procref 0.1.0
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
putao520
Dependencies
anyhow ^1.0
normal
chrono ^0.4
normal
dirs ^5.0
normal
parking_lot ^0.12
normal
serde ^1.0
normal
serde_json ^1.0
normal
thiserror ^1.0
normal
tokio ^1
normal
optional
tracing ^0.1
normal
tempfile ^3
dev
tokio ^1
dev
libc ^0.2
normal
nix ^0.29
normal
libc ^0.2
normal
mach2 ^0.4
normal
windows-sys ^0.59
normal
Versions
100%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Module process
procref
0.1.0
Module process
Module Items
Functions
In crate procref
procref
Module
process
Copy item path
Source
Expand description
Utility functions for process management.
Functions
ยง
is_
alive
Check if a process with given PID is alive.
kill
Send SIGKILL to a process (forceful shutdown).
stop
Gracefully stop a process: SIGTERM, wait, then SIGKILL if needed.
terminate
Send SIGTERM to a process (graceful shutdown).