mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
Update cheatsheets
This commit is contained in:
33
tldr/chronyc
Normal file
33
tldr/chronyc
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# chronyc
|
||||
|
||||
> Query the Chrony NTP daemon.
|
||||
> More information: <https://chrony-project.org/doc/4.6.1/chronyc.html>.
|
||||
|
||||
- Start `chronyc` in interactive mode:
|
||||
|
||||
`chronyc`
|
||||
|
||||
- Display tracking stats for the Chrony daemon:
|
||||
|
||||
`chronyc tracking`
|
||||
|
||||
- Print the time sources that Chrony is currently using:
|
||||
|
||||
`chronyc sources`
|
||||
|
||||
- Display stats for sources currently used by chrony daemon as a time source:
|
||||
|
||||
`chronyc sourcestats`
|
||||
|
||||
- Step the system clock immediately, bypassing any slewing:
|
||||
|
||||
`chronyc makestep`
|
||||
|
||||
- Display verbose information about each NTP source:
|
||||
|
||||
`chronyc ntpdata`
|
||||
17
tldr/snmpbulkget
Normal file
17
tldr/snmpbulkget
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# snmpbulkget
|
||||
|
||||
> Query the next value in the MIB tree and all of its adjacent values.
|
||||
> More information: <https://manned.org/snmpbulkget>.
|
||||
|
||||
- Request the next value from the SNMP agent:
|
||||
|
||||
`snmpbulkget -v {{version}} -c {{community}} {{ip}} {{oid}}`
|
||||
|
||||
- Display the full Object Identifier (OID) path:
|
||||
|
||||
`snmpbulkget -v {{version}} -c {{community}} -O f {{ip}} {{oid}}`
|
||||
13
tldr/snmpdf
Normal file
13
tldr/snmpdf
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# snmpdf
|
||||
|
||||
> Fetch disk space usage information.
|
||||
> More information: <https://manned.org/snmpdf>.
|
||||
|
||||
- Fetch the disk space usage:
|
||||
|
||||
`snmpget -v {{version}} -c {{community}} {{ip}}`
|
||||
17
tldr/snmpgetnext
Normal file
17
tldr/snmpgetnext
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# snmpgetnext
|
||||
|
||||
> Query the next value in the MIB tree.
|
||||
> More information: <https://manned.org/snmpgetnext>.
|
||||
|
||||
- Request the next value from the SNMP agent:
|
||||
|
||||
`snmpget -v {{version}} -c {{community}} {{ip}} {{oid}}`
|
||||
|
||||
- Display the full Object Identifier (OID) path:
|
||||
|
||||
`snmpget -v {{version}} -c {{community}} -O f {{ip}} {{oid}}`
|
||||
13
tldr/snmpset
Normal file
13
tldr/snmpset
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# snmpset
|
||||
|
||||
> Set a value using the SNMP protocol.
|
||||
> More information: <https://manned.org/snmpset>.
|
||||
|
||||
- Set a value:
|
||||
|
||||
`snmpget -v {{version}} -c {{community}} {{ip}} {{oid}} {{value_type}} {{value}}`
|
||||
13
tldr/snmpstatus
Normal file
13
tldr/snmpstatus
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# snmpstatus
|
||||
|
||||
> Fetch fixed MIB status values.
|
||||
> More information: <https://manned.org/snmpstatus>.
|
||||
|
||||
- Fetch the values:
|
||||
|
||||
`snmpget -v {{version}} -c {{community}} {{ip}}`
|
||||
13
tldr/snmptable
Normal file
13
tldr/snmptable
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# snmptable
|
||||
|
||||
> Fetch data in tabular format.
|
||||
> More information: <https://manned.org/snmptable>.
|
||||
|
||||
- Fetch data:
|
||||
|
||||
`snmpget -v {{version}} -c {{community}} {{ip}} {{oid}}`
|
||||
13
tldr/snmptest
Normal file
13
tldr/snmptest
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# snmptest
|
||||
|
||||
> Start an interactive SNMP prompt.
|
||||
> More information: <https://manned.org/snmptest>.
|
||||
|
||||
- Start the prompt:
|
||||
|
||||
`snmpget -v {{version}} -c {{community}} {{ip}}`
|
||||
Reference in New Issue
Block a user