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
3bf09f2d
Commit
3bf09f2d
authored
Jan 27, 2016
by
Brendan Gregg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wordwrap fix, and terminology adjustment
parent
b0b3f01c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
man/man8/offcputime.8
man/man8/offcputime.8
+6
-8
No files found.
man/man8/offcputime.8
View file @
3bf09f2d
...
...
@@ -5,14 +5,14 @@ offcputime \- Summarize off-CPU time by kernel stack trace. Uses Linux eBPF/bcc.
.B offcputime [\-h] [\-u] [\-p PID] [\-i INTERVAL] [\-T] [duration]
.SH DESCRIPTION
This program shows kernel stack traces and task names that were blocked and
"off-CPU", and the total duration they were
blocked
: their "off-CPU time".
"off-CPU", and the total duration they were
not running
: their "off-CPU time".
It works by tracing when threads block and when they return to CPU, measuring
both the time they were
blocked
and the blocked kernel stack trace and the
both the time they were
off-CPU
and the blocked kernel stack trace and the
task name. This data is summarized in the kernel using an eBPF map, and by
summing the
blocked
time by unique stack trace and task name.
summing the
off-CPU
time by unique stack trace and task name.
The output summary will help you identify reasons why threads
were blocking, and quantify the time they were
blocked
. This spans all types
were blocking, and quantify the time they were
off-CPU
. This spans all types
of blocking activity: disk I/O, network I/O, locks, page faults, involuntary
context switches, etc.
...
...
@@ -46,8 +46,7 @@ duration
Duration to trace, in seconds.
.SH EXAMPLES
.TP
Trace all thread blocking events, and summarize (in-kernel) by kernel stack
trace and total off-CPU time:
Trace all thread blocking events, and summarize (in-kernel) by kernel stack trace and total off-CPU time:
#
.B offcputime
.TP
...
...
@@ -55,8 +54,7 @@ Trace for 5 seconds only:
#
.B offcputime 5
.TP
Trace for 5 seconds, and emit output in folded stack format (suitable for
flame graphs):
Trace for 5 seconds, and emit output in folded stack format (suitable for flame graphs):
#
.B offcputime -f 5
.TP
...
...
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