Skip to content

Commit

Permalink
Bump versions, fix typos and change minor markups
Browse files Browse the repository at this point in the history
Signed-off-by: Anatoli Nicolae <[email protected]>
  • Loading branch information
anatolinicolae committed Feb 15, 2024
1 parent ece64a6 commit f9577d4
Show file tree
Hide file tree
Showing 5 changed files with 627 additions and 578 deletions.
2 changes: 1 addition & 1 deletion notes/cross-node-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,6 @@ apiscps 'borgmatic info'
# Escape quoted values
apiscps "cpcmd scope:set cp.nightly-updates 'Mon..Fri 20:00'"

#Shell interpolation
# Shell interpolation
apiscps 'dnf remove $(rpm -qa kernel-ml)'
```
2 changes: 1 addition & 1 deletion notes/redirect-cp-hostname.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ RewriteRule ^(.*)$ %{REQUEST_SCHEME}://%{ENV:HOSTNAME}:%{SERVER_PORT}/$1 [R,L]

Then restart ApisCP,

```
```bash
systemctl restart apiscp
```
20 changes: 10 additions & 10 deletions notes/resource-hogs.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@ emoji: 🐷

`systemd-cgtop` provides a top-like interface for all control groups. Processes spawned within the context of a site are governed by resource limits assigned in `cgroup` service class.

| Hotkey | Sort field |
| ------ | ----------------- |
| m | Memory |
| c | CPU |
| t | Tasks (PID count) |
| Hotkey | Sort field |
| ------------ | ----------------- |
| <kbd>m</kbd> | Memory |
| <kbd>c</kbd> | CPU |
| <kbd>t</kbd> | Tasks (PID count) |

## Per process

Run `top`. Behaves similarly to `systemd-cgtop`.

| Hotkey | Sort field |
| --------- | --------------- |
| shift + M | Memory |
| shift + P | CPU |
| shift + T | Cumulative time |
| Hotkey | Sort field |
| ------------------------------- | --------------- |
| <kbd>shift</kbd> + <kbd>M</kbd> | Memory |
| <kbd>shift</kbd> + <kbd>P</kbd> | CPU |
| <kbd>shift</kbd> + <kbd>T</kbd> | Cumulative time |

## Bandwidth

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"devDependencies": {
"@apiscp/vitepress-theme": "^1.0.8",
"@apiscp/vitepress-theme": "^1.0.9",
"gray-matter": "^4.0.3",
"vitepress": "^1.0.0-rc.29"
"vitepress": "^1.0.0-rc.42"
},
"scripts": {
"docs:dev": "vitepress dev",
Expand Down
Loading

0 comments on commit f9577d4

Please sign in to comment.