opensnoop: add Chinese translation

italian
wizarot 2019-03-12 12:37:32 +08:00 committed by Owen Voke
parent e35d8f71e1
commit 920958cf20
1 changed files with 19 additions and 0 deletions

19
pages.zh/osx/opensnoop.md Normal file
View File

@ -0,0 +1,19 @@
# opensnoop
> 跟踪系统中打开的文件标识符.
- 输出当前系统内被打开的所有文件:
`sudo opensnoop`
- 跟踪给定进程名,打开的所有文件:
`sudo opensnoop -n {{进程名}}`
- 跟踪给定 PID(进程号),打开的所有文件:
`sudo opensnoop -p {{PID进程号}}`
- 跟踪打开了指定文件的继承:
`sudo opensnoop -f {{路径/文件}}`