mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-13 01:47:56 +00:00
Update cheatsheets
This commit is contained in:
21
tldr/linux/choom
Normal file
21
tldr/linux/choom
Normal 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 ...}}`
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user