Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bcc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
bcc
Commits
a1333bcd
Commit
a1333bcd
authored
Jul 14, 2016
by
Brendan Gregg
Committed by
GitHub
Jul 14, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #611 from cdown/failed_opens
killsnoop: s/failed opens/failed kill syscalls/
parents
0d4f529f
4ca4e05b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
tools/killsnoop.py
tools/killsnoop.py
+1
-1
tools/killsnoop_example.txt
tools/killsnoop_example.txt
+1
-1
No files found.
tools/killsnoop.py
View file @
a1333bcd
...
@@ -31,7 +31,7 @@ parser = argparse.ArgumentParser(
...
@@ -31,7 +31,7 @@ parser = argparse.ArgumentParser(
parser
.
add_argument
(
"-t"
,
"--timestamp"
,
action
=
"store_true"
,
parser
.
add_argument
(
"-t"
,
"--timestamp"
,
action
=
"store_true"
,
help
=
"include timestamp on output"
)
help
=
"include timestamp on output"
)
parser
.
add_argument
(
"-x"
,
"--failed"
,
action
=
"store_true"
,
parser
.
add_argument
(
"-x"
,
"--failed"
,
action
=
"store_true"
,
help
=
"only show failed
open
s"
)
help
=
"only show failed
kill syscall
s"
)
parser
.
add_argument
(
"-p"
,
"--pid"
,
parser
.
add_argument
(
"-p"
,
"--pid"
,
help
=
"trace this PID only"
)
help
=
"trace this PID only"
)
args
=
parser
.
parse_args
()
args
=
parser
.
parse_args
()
...
...
tools/killsnoop_example.txt
View file @
a1333bcd
...
@@ -26,7 +26,7 @@ Trace signals issued by the kill() syscall
...
@@ -26,7 +26,7 @@ Trace signals issued by the kill() syscall
optional arguments:
optional arguments:
-h, --help show this help message and exit
-h, --help show this help message and exit
-t, --timestamp include timestamp on output
-t, --timestamp include timestamp on output
-x, --failed only show failed
open
s
-x, --failed only show failed
kill syscall
s
-p PID, --pid PID trace this PID only
-p PID, --pid PID trace this PID only
examples:
examples:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment