mirror of
https://github.com/JakeHillion/scx.git
synced 2024-11-29 20:50:22 +00:00
scx.service: document scx override variables
Add a small section to document how to use SCX_SCHEDULER_OVERRIDE and SCX_FLAGS_OVERRIDE with the scx systemd service. Also fix a small typo (namspace -> namespace). Signed-off-by: Pietro Righi <pietro.righi.email@gmail.com>
This commit is contained in:
parent
fdc2e8532b
commit
8da1b126f5
@ -41,9 +41,22 @@ systemctl enable --now scx.service
|
|||||||
systemctl status scx.service
|
systemctl status scx.service
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Override global configuration
|
||||||
|
|
||||||
|
It is possible to override the global scx settings using systemd environment
|
||||||
|
variables `SCX_SCHEDULER_OVERRIDE` and `SCX_FLAGS_OVERRIDE`.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
systemctl set-environment SCX_SCHEDULER_OVERRIDE=scx_rustland
|
||||||
|
systemctl set-environment SCX_FLAGS_OVERRIDE="-s 10000"
|
||||||
|
systemctl restart scx
|
||||||
|
```
|
||||||
|
|
||||||
## Checking Journald Logs
|
## Checking Journald Logs
|
||||||
|
|
||||||
The SCX schedulers do not log to the default journald namspace. Instead, they save logs in a dedicated ```sched-ext``` namespace.
|
The SCX schedulers do not log to the default journald namespace. Instead, they save logs in a dedicated ```sched-ext``` namespace.
|
||||||
This is where you should look for information about possible errors.
|
This is where you should look for information about possible errors.
|
||||||
|
|
||||||
- To view the logs, use the following command:
|
- To view the logs, use the following command:
|
||||||
|
Loading…
Reference in New Issue
Block a user