Commit a1333bcd authored by Brendan Gregg's avatar Brendan Gregg Committed by GitHub

Merge pull request #611 from cdown/failed_opens

killsnoop: s/failed opens/failed kill syscalls/
parents 0d4f529f 4ca4e05b
...@@ -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 opens") help="only show failed kill syscalls")
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()
......
...@@ -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 opens -x, --failed only show failed kill syscalls
-p PID, --pid PID trace this PID only -p PID, --pid PID trace this PID only
examples: examples:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment