1 unstable release
0.1.0 | Feb 7, 2021 |
---|
#31 in #process-file
5KB
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
Dependencies
~3.5MB
~58K SLoC