1 unstable release
0.1.0 | Feb 7, 2021 |
---|
#17 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
~2.5MB
~40K SLoC