Skip to content

Commit 9744516

Browse files
committed
man update: document -pp and make the defult print format more clear
1 parent c6e1e8b commit 9744516

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

userspace/sysdig/man/sysdig.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ sysdig includes a powerul filtering language, has customizable output, and can b
2222

2323
By default, sysdig prints the information for each captured event on a single line, with the following format:
2424

25-
```<evt.num> <evt.time> <evt.cpu> <proc.name> <thread.tid> <evt.dir> <evt.type> <evt.args>```
25+
```*%evt.num %evt.time %evt.cpu %proc.name (%thread.tid) %evt.dir %evt.type %evt.info```
2626

2727
where:
2828
* evt.num is the incremental event number
@@ -38,7 +38,7 @@ The output format can be customized with the -p switch, using any of the fields
3838

3939
Using -pc or -pcontainer, the default format will be changed to a container-friendly one:
4040

41-
```%evt.num %evt.time %evt.cpu %container.name (%container.id) %proc.name (%thread.tid:%thread.vtid) %evt.dir %evt.type %evt.info```
41+
```*%evt.num %evt.time %evt.cpu %container.name (%container.id) %proc.name (%thread.tid:%thread.vtid) %evt.dir %evt.type %evt.info```
4242

4343
**Trace Files**
4444

@@ -151,7 +151,7 @@ OPTIONS
151151
Print progress on stderr while processing trace files.
152152

153153
**-p** _outputformat_, **--print**=_outputformat_
154-
Specify the format to be used when printing the events. With -pc or -pcontainer will use a container-friendly format. See the examples section below for more info.
154+
Specify the format to be used when printing the events. With -pc or -pcontainer will use a container-friendly format. See the examples section below for more info. Specifying **-pp** on the command line will cause sysdig to print the default command line format and exit.
155155

156156
**-q**, **--quiet**
157157
Don't print events on the screen. Useful when dumping to disk.

0 commit comments

Comments
 (0)