Update cheatsheets

This commit is contained in:
ivuorinen
2024-03-16 00:12:33 +00:00
parent 0372a9907d
commit 1c7d3e3ebc
5 changed files with 54 additions and 4 deletions

21
tldr/linux/choom Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# choom
> Display and change the adjust out-of-memory killer score.
> More information: <https://manned.org/choom>.
- Display the OOM-killer score of the process with a specific ID:
`choom -p {{pid}}`
- Change the adjust OOM-killer score of a specific process:
`choom -p {{pid}} -n {{-1000..+1000}}`
- Run a command with a specific adjust OOM-killer score:
`choom -n {{-1000..+1000}} {{command}} {{argument1 argument2 ...}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# iptables-save
> Save the `iptables` IPv4 configuration.
> Use `ip6tables-save` to to the same for IPv6.
> Use `ip6tables-save` to the same for IPv6.
> More information: <https://manned.org/iptables-save>.
- Print the `iptables` configuration: