scx-upstream/services
Piotr Gorski 128fa63cc2
systemd-services: replace ConditionPathExists with ConditionPathIsDirectory
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
2024-01-25 15:12:15 +01:00
..
journald@sched-ext.conf Increase log size to 25M 2024-01-19 21:30:33 +01:00
meson.build Simplify the location of the journal-sched-ext file 2024-01-19 19:13:28 +01:00
README.md Update descriptions 2024-01-24 16:35:47 +01:00
scx_central.service systemd-services: replace ConditionPathExists with ConditionPathIsDirectory 2024-01-25 15:12:15 +01:00
scx_flatcg.service systemd-services: replace ConditionPathExists with ConditionPathIsDirectory 2024-01-25 15:12:15 +01:00
scx_nest.service systemd-services: replace ConditionPathExists with ConditionPathIsDirectory 2024-01-25 15:12:15 +01:00
scx_pair.service systemd-services: replace ConditionPathExists with ConditionPathIsDirectory 2024-01-25 15:12:15 +01:00
scx_qmap.service systemd-services: replace ConditionPathExists with ConditionPathIsDirectory 2024-01-25 15:12:15 +01:00
scx_rustland.service systemd-services: replace ConditionPathExists with ConditionPathIsDirectory 2024-01-25 15:12:15 +01:00
scx_rusty.service systemd-services: replace ConditionPathExists with ConditionPathIsDirectory 2024-01-25 15:12:15 +01:00
scx_simple.service systemd-services: replace ConditionPathExists with ConditionPathIsDirectory 2024-01-25 15:12:15 +01:00
scx_userland.service systemd-services: replace ConditionPathExists with ConditionPathIsDirectory 2024-01-25 15:12:15 +01:00

A Quick Start Guide

This guide provides instructions for running the SCX schedulers as a systemd service and checking its logs.

Getting Started

To start the SCX scheduler at boot, you need to run the systemd service as root. Here are the steps:

  • Enable the service:
systemctl enable scx_SCHEDNAME
  • Start the service:
systemctl start scx_SCHEDNAME

Alternatively, you can use a shortened version of these commands:

systemctl enable --now scx_SCHEDNAME
  • To check the status of the service, use the following command:
systemctl status scx_SCHEDNAME

Checking Journald Logs

The SCX schedulers do not log to the default journald namspace. Instead, they save logs in a dedicated sched-ext namespace. This is where you should look for information about possible errors.

  • To view the logs, use the following command:
journalctl --namespace=sched-ext
  • To find logs from another system startup and identify when a potential error might have occurred, use:
journalctl --namespace=sched-ext --list-boots
  • To verify the amount of space taken up by the logs, use:
journalctl --namespace=sched-ext --disk-usage