-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sar: add page #1532
sar: add page #1532
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# sar | ||
|
||
> Monitor performance of various Linux subsystems. | ||
|
||
- Report I/O and Transfer rate every 1 second: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What transfer rate are we talking about ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. physical devices, added to the description |
||
|
||
`sar -b 1` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There aren't any long forms of the options? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. unfortunately not :( There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please wrap 1 in tokens. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sorry for missing it ... |
||
|
||
- Report 10 network statistics every 2 seconds for network devices: | ||
|
||
`sar -n DEV 2 10` | ||
|
||
- Report CPU utilization every 2 seconds: | ||
|
||
`sar -u ALL 2` | ||
|
||
- Report 20 memory utilization statistics every 1 second: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This feels a bit awkward. Perhaps we could reword this to something like ... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done.. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should it be "once per second" ? I think that sounds better and more natural. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On further thought, I think it should be changed to "once every second". Because the other examples are of the form "every 2 seconds", "every 5 seconds" and then you have "one per second", "one per 2 seconds". Either we use "per second" everywhere or "every second" everywhere. But mixing the 2 does not sound right to me. |
||
|
||
`sar -r 1 20` | ||
|
||
- Report queue length and load averages: | ||
|
||
`sar -q 1 1` | ||
|
||
- Report paging statistics every 1 second: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Perhaps we could change this example to every 5 seconds to change things up? 😺 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||
|
||
`sar -B 1` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't think
Transfer
needs to have a capital letter at the beginning.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, acutally the manpage had I/O and Transfer in upper-case, so i did the same.
anyways changed