proc-ctl

A helper library for querying and manipulating processes.

Find what port a process is using

```rust norun use procctl::PortQuery;

let query = PortQuery::new() .tcponly() .ipv4only() .processid(55932) // Get a process ID from somewhere .expectminnum_ports(1);

query.execute().unwrap(); ```

Find the children of a given process

```rust norun use procctl::ProcQuery;

let query = ProcQuery::new() .processid(55932) // Get a process ID from somewhere .expectminnumchildren(1);

query.children().unwrap(); ```