pfdump

Crates.iopfdump
lib.rspfdump
version0.1.0
sourcesrc
created_at2021-02-07 19:43:41.497933
updated_at2021-02-07 19:43:41.497933
descriptionprocess file dump
homepage
repository
max_upload_size
id352041
size11,173
n01e0 (n01e0)

documentation

README

pfdump

process file dump

install

$ cargo install pfdump

usage

USAGE:
    pfdump [FLAGS] <pid>

FLAGS:
    -c, --copy       copy file to cwd
    -h, --help       Prints help information
    -r, --regular    logging(and copy) only regular files
    -V, --version    Prints version information

ARGS:
    <pid>    target process id

example

$ less src/main.rs

[1]+  Stopped                  less src/main.rs

$ pfdump -r `pgrep "^less"`
/home/n01e0/src/github.com/n01e0/pfdump/src/main.rs
Commit count: 0

cargo fmt