Expand description
proc-ctl
A helper library for querying and manipulating processes.
Find what port a process is using
use proc_ctl::PortQuery;
let query = PortQuery::new()
.tcp_only()
.ip_v4_only()
.process_id(55932) // Get a process ID from somewhere
.expect_min_num_ports(1);
query.execute().unwrap();Structs
- Find the ports used by a process
Enums
- Custom error type for proc-ctl
- A representation of a port using a specific protocol
Type Definitions
- A process ID
- A port
- A result type to return
ProcCtlErrors