Crates.io | pfdump |
lib.rs | pfdump |
version | 0.1.0 |
source | src |
created_at | 2021-02-07 19:43:41.497933 |
updated_at | 2021-02-07 19:43:41.497933 |
description | process file dump |
homepage | |
repository | |
max_upload_size | |
id | 352041 |
size | 11,173 |
process file dump
$ cargo install pfdump
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
$ less src/main.rs
[1]+ Stopped less src/main.rs
$ pfdump -r `pgrep "^less"`
/home/n01e0/src/github.com/n01e0/pfdump/src/main.rs