Skip to content

Commit 32f16ad

Browse files
Update help and man page
1 parent d2de0f8 commit 32f16ad

File tree

3 files changed

+71
-63
lines changed

3 files changed

+71
-63
lines changed

userspace/sysdig/man/csysdig.8

Lines changed: 47 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
.\" Automatically generated by Pandoc 1.15.1.1
2+
.\"
3+
.hy
14
.TH "" "" "" "" ""
25
.SS NAME
36
.PP
@@ -16,37 +19,19 @@ csysdig has been designed to mimic tools like \f[B]top\f[] and
1619
.IP \[bu] 2
1720
Support for both live analysis and sysdig trace files.
1821
Trace files can come from the same machine or from another machine.
19-
.PD 0
20-
.P
21-
.PD
2222
.IP \[bu] 2
2323
Visibility into a broad range of metrics, including CPU, memory, disk
2424
I/O, network I/O.
25-
.PD 0
26-
.P
27-
.PD
2825
.IP \[bu] 2
2926
Ability to observe input/output activity for processes, files, network
3027
connections and more.
31-
.PD 0
32-
.P
33-
.PD
3428
.IP \[bu] 2
3529
Ability to drill down into processes, files, network connections and
3630
more to further explore their behavior.
37-
.PD 0
38-
.P
39-
.PD
4031
.IP \[bu] 2
4132
Full customization support.
42-
.PD 0
43-
.P
44-
.PD
4533
.IP \[bu] 2
4634
Support for sysdig\[aq]s filtering language.
47-
.PD 0
48-
.P
49-
.PD
5035
.IP \[bu] 2
5136
Container support by design.
5237
.PP
@@ -71,26 +56,14 @@ Here are some basic tips to get you started with sysdig:
7156
If you run csysdig without arguments, it will display live system data,
7257
updating every 2 seconds.
7358
To analyze a trace file, use the \-r command line flag.
74-
.PD 0
75-
.P
76-
.PD
7759
.IP "2." 3
7860
You can switch to a different view by using the \f[I]F2\f[] key.
79-
.PD 0
80-
.P
81-
.PD
8261
.IP "3." 3
8362
You can to drill down into a selection by clicking \f[I]enter\f[].
8463
You can navigate back by typing \f[I]backspace\f[].
85-
.PD 0
86-
.P
87-
.PD
8864
.IP "4." 3
8965
You can observe input/output for the currently selected entity by typing
9066
\f[I]F5\f[]
91-
.PD 0
92-
.P
93-
.PD
9467
.IP "5." 3
9568
You can see sysdig events for the currently selected entity by typing
9669
\f[I]F6\f[]
@@ -197,6 +170,12 @@ Show the help page for the currently displayed view.
197170
.PD
198171
Open the view\[aq]s actions panel.
199172
.PP
173+
\f[B]F9, >\f[]
174+
.PD 0
175+
.P
176+
.PD
177+
Open the column sort panel.
178+
.PP
200179
\f[B]F10, q\f[]
201180
.PD 0
202181
.P
@@ -217,6 +196,12 @@ content.
217196
.PD
218197
Pause screen updates.
219198
.PP
199+
\f[B]\f[C]<shift>\ <1\-9>\f[]\f[]
200+
.PD 0
201+
.P
202+
.PD
203+
sort column \f[C]<n>\f[]
204+
.PP
220205
\f[B]F1, h, ?\f[]
221206
.PD 0
222207
.P
@@ -276,24 +261,35 @@ Pause screen updates.
276261
.P
277262
.PD
278263
Go to line.
279-
.SS MOUSE USAGE
280-
.IP \[bu] 2
281-
Clicking on column headers lets you sort the table.
264+
.SS Spectrogram Window
265+
.PP
266+
\f[B]F2\f[]
282267
.PD 0
283268
.P
284269
.PD
285-
.IP \[bu] 2
286-
Double clicking on row entries performs a drill down.
270+
Show the view picker.
271+
This will let you switch to another view.
272+
.PP
273+
\f[B]p\f[]
287274
.PD 0
288275
.P
289276
.PD
277+
Pause/Resume the visualization.
278+
.PP
279+
\f[B]Backspace\f[]
280+
.PD 0
281+
.P
282+
.PD
283+
Navigate back to the previous view.
284+
.SS MOUSE USAGE
285+
.IP \[bu] 2
286+
Clicking on column headers lets you sort the table.
287+
.IP \[bu] 2
288+
Double clicking on row entries performs a drill down.
290289
.IP \[bu] 2
291290
Clicking on the filter string at the top of the screen (the text after
292291
\[aq]Filter:\[aq]) lets you change the sysdig filter and customize the
293292
view content.
294-
.PD 0
295-
.P
296-
.PD
297293
.IP \[bu] 2
298294
You can use the mouse on the entries in the menu at the bottom of the
299295
screen to perform their respective actions.
@@ -335,6 +331,18 @@ E.g.
335331
The API server can also be specified via the environment variable
336332
SYSDIG_K8S_API.
337333
.PP
334+
\f[B]\-K\f[] \f[I]filename\f[],
335+
\f[B]\-\-k8s\-api\-cert=\f[]\f[I]filename\f[]
336+
.PD 0
337+
.P
338+
.PD
339+
Use the provided certificate file name to authenticate with the K8S API
340+
server.
341+
Filename must be a full absolute or relative (to the current directory)
342+
path to the certificate file.
343+
The certificate can also be specified via the environment variable
344+
SYSDIG_K8S_API_CERT.
345+
.PP
338346
\f[B]\-l\f[], \f[B]\-\-list\f[]
339347
.PD 0
340348
.P
@@ -381,7 +389,7 @@ Capture the first \f[I]len\f[] bytes of each I/O buffer.
381389
By default, the first 80 bytes are captured.
382390
Use this option with caution, it can generate huge trace files.
383391
.PP
384-
\f[B]\-v\f[] \f[I]view\f[]id_, \f[B]\-\-views\f[]=\f[I]view\f[]id_
392+
\f[B]\-v\f[] \f[I]view_id\f[], \f[B]\-\-views\f[]=\f[I]view_id\f[]
385393
.PD 0
386394
.P
387395
.PD

userspace/sysdig/man/sysdig.8

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
.\" Automatically generated by Pandoc 1.15.1.1
2+
.\"
3+
.hy
14
.TH "" "" "" "" ""
25
.SS NAME
36
.PP
@@ -33,41 +36,20 @@ single line, with the following format:
3336
where:
3437
.IP \[bu] 2
3538
evt.num is the incremental event number
36-
.PD 0
37-
.P
38-
.PD
3939
.IP \[bu] 2
4040
evt.time is the event timestamp
41-
.PD 0
42-
.P
43-
.PD
4441
.IP \[bu] 2
4542
evt.cpu is the CPU number where the event was captured
46-
.PD 0
47-
.P
48-
.PD
4943
.IP \[bu] 2
5044
proc.name is the name of the process that generated the event
51-
.PD 0
52-
.P
53-
.PD
5445
.IP \[bu] 2
5546
thread.tid id the TID that generated the event, which corresponds to the
5647
PID for single thread processes
57-
.PD 0
58-
.P
59-
.PD
6048
.IP \[bu] 2
6149
evt.dir is the event direction, > for enter events and < for exit events
62-
.PD 0
63-
.P
64-
.PD
6550
.IP \[bu] 2
6651
evt.type is the name of the event, e.g.
6752
\[aq]open\[aq] or \[aq]read\[aq]
68-
.PD 0
69-
.P
70-
.PD
7153
.IP \[bu] 2
7254
evt.args is the list of event arguments.
7355
.PP
@@ -119,8 +101,8 @@ The list of available fields can be obtained with \[aq]sysdig \-l\[aq].
119101
.P
120102
.PD
121103
Filter expressions can use one of these comparison operators:
122-
\f[I]=\f[], \f[I]!=\f[], \f[I]<\f[], \f[I]<=\f[], \f[I]>\f[],
123-
\f[I]>=\f[], \f[I]contains\f[], \f[I]in\f[] and \f[I]exists\f[].
104+
\f[I]=\f[], \f[I]!=\f[], \f[I]\f[], \f[I]>=\f[], \f[I]contains\f[],
105+
\f[I]in\f[] and \f[I]exists\f[].
124106
e.g.
125107
.RS
126108
.PP
@@ -352,6 +334,18 @@ E.g.
352334
The API server can also be specified via the environment variable
353335
SYSDIG_K8S_API.
354336
.PP
337+
\f[B]\-K\f[] \f[I]filename\f[],
338+
\f[B]\-\-k8s\-api\-cert=\f[]\f[I]filename\f[]
339+
.PD 0
340+
.P
341+
.PD
342+
Use the provided certificate file name to authenticate with the K8S API
343+
server.
344+
Filename must be a full absolute or relative (to the current directory)
345+
path to the certificate file.
346+
The certificate can also be specified via the environment variable
347+
SYSDIG_K8S_API_CERT.
348+
.PP
355349
\f[B]\-L\f[], \f[B]\-\-list\-events\f[]
356350
.PD 0
357351
.P
@@ -371,6 +365,12 @@ Use \-lv to get additional information for each field.
371365
.PD
372366
Don\[aq]t convert port numbers to names.
373367
.PP
368+
\f[B]\-M\f[] \f[I]num_seconds\f[]
369+
.PD 0
370+
.P
371+
.PD
372+
Stop collecting after reaching
373+
.PP
374374
\f[B]\-n\f[] \f[I]num\f[], \f[B]\-\-numevents\f[]=\f[I]num\f[]
375375
.PD 0
376376
.P

userspace/sysdig/sysdig.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ static void usage()
117117
" 'hidden' so that they won't appear when reading the file.\n"
118118
" Be aware that using this flag might generate substantially\n"
119119
" bigger traces files.\n"
120-
" filter-proclist apply the filter to the process table\n"
120+
" --filter-proclist apply the filter to the process table\n"
121121
" a full dump of /proc is typically included in any trace file\n"
122122
" to make sure all the state required to decode events is in the\n"
123123
" file. This could cause the file to contain unwanted or sensitive\n"

0 commit comments

Comments
 (0)