mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-19 23:50:29 +00:00
Update cheatsheets
This commit is contained in:
17
linux/logwatch
Normal file
17
linux/logwatch
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# logwatch
|
||||
|
||||
> Summarizes many different logs for common services (e.g. apache, pam_unix, sshd, etc.) in a single report.
|
||||
> More information: <https://manned.org/logwatch>.
|
||||
|
||||
- Analyze logs for a range of dates at a certain level of detail:
|
||||
|
||||
`logwatch --range {{yesterday|today|all|help}} --detail {{low|medium|others}}'`
|
||||
|
||||
- Restrict report to only include information for a selected service:
|
||||
|
||||
`logwatch --range {{all}} --service {{apache|pam_unix|etc}}`
|
||||
Reference in New Issue
Block a user