mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-14 23:48:43 +00:00
Update cheatsheets
This commit is contained in:
37
tldr/linux/aureport
Normal file
37
tldr/linux/aureport
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# aureport
|
||||
|
||||
> Generate summary reports of auditd logs.
|
||||
> More information: <https://manned.org/aureport>.
|
||||
|
||||
- Display a summary of auditd events:
|
||||
|
||||
`sudo aureport`
|
||||
|
||||
- Generate a summary of login events:
|
||||
|
||||
`sudo aureport {{[-l|--login]}}`
|
||||
|
||||
- List all syscall reports:
|
||||
|
||||
`sudo aureport {{[-s|--syscall]}}`
|
||||
|
||||
- Generate a summary of executable events:
|
||||
|
||||
`sudo aureport {{[-x|--executable]}}`
|
||||
|
||||
- Show a summary of events for a specific time range:
|
||||
|
||||
`sudo aureport {{[-ts|--start]}} {{start_time}} {{[-te|--end]}} {{end_time}}`
|
||||
|
||||
- List all audit files and the time range of events they cover:
|
||||
|
||||
`sudo aureport {{[-t|--log-time]}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`aureport --help`
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# ceph
|
||||
|
||||
> A unified storage system.
|
||||
> More information: <https://ceph.io/en>.
|
||||
> More information: <https://docs.ceph.com/en/latest/man/8/ceph/>.
|
||||
|
||||
- Check cluster health status:
|
||||
|
||||
|
||||
34
tldr/linux/slabtop
Normal file
34
tldr/linux/slabtop
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# slabtop
|
||||
|
||||
> Display kernel slab cache information in real time.
|
||||
> See also: `top`, `htop`, `atop`.
|
||||
> More information: <https://manned.org/slabtop>.
|
||||
|
||||
- Start `slabtop`:
|
||||
|
||||
`sudo slabtop`
|
||||
|
||||
- Sort by [c]ache size:
|
||||
|
||||
`sudo slabtop {{[-s|--sort]}} c`
|
||||
|
||||
- Sort by number of [o]bjects:
|
||||
|
||||
`sudo slabtop {{[-s|--sort]}} o`
|
||||
|
||||
- Sort by object [s]ize:
|
||||
|
||||
`sudo slabtop {{[-s|--sort]}} s`
|
||||
|
||||
- Display once and then exit:
|
||||
|
||||
`sudo slabtop {{[-o|--once]}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`slabtop {{[-h|--help]}}`
|
||||
17
tldr/linux/systemctl-service-log-level
Normal file
17
tldr/linux/systemctl-service-log-level
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# systemctl service-log-level
|
||||
|
||||
> Get or set the runtime log level of a service via D-Bus.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#service-log-level%20SERVICE%20%5BLEVEL%5D>.
|
||||
|
||||
- Show the current log level of a service:
|
||||
|
||||
`systemctl service-log-level {{service_name}}`
|
||||
|
||||
- Set the log level of a service (the level name can be replaced with a number from 0 to 7):
|
||||
|
||||
`systemctl service-log-level {{service_name}} {{emerg|alert|crit|err|warning|notice|info|debug}}`
|
||||
Reference in New Issue
Block a user