Allocate system resources using systemd

Allocating system resources by using systemd involves creating and managing systemd services and units. You can configure them to start, stop, or restart at specific times or in response to certain system events. You can change unit file options for your service or use the systemctl command.

Procedure

By using the systemctl command.
  1. Check the assigned values for the service of your choice:
    # systemctl show --property <unit file option> <service name>
  2. Set the required value of the CPU time allocation policy option:
    # systemctl set-property <service name> <unit file option>=<value>

    See systemd.resource-control(5) and systemd.exec(5) man pages for more information.

Results

  • Check the newly assigned values for the service of your choice:
    # systemctl show --property <unit file option> <service name>