Linux server.a-j.media 5.14.0-570.44.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Sep 17 10:32:11 EDT 2025 x86_64
Apache
75.119.137.219
Cant read /etc/named.conf
/
proc
/
self
/
root
/
proc
/
self
/
root
/
usr
/
lib
/
python3.9
/
site-packages
/
tuned
/
plugins
/
__pycache__
/
[
drwxr-xr-x
]
[ HOME ]
Exec
Submit
plugin_systemd.cpython-39.opt-1.pyc
a �]�iG � @ sp d dl mZ d dlT ddlZd dl mZ ddlmZ ddlm Z ddl Z ddlZej� � ZG dd� dej�ZdS ) � )�base)�*� N)� exceptions)�commandsc s� e Zd ZdZ� fdd�Zdd� Zdd� Zedd � �Zd d� Z dd � Z dd� Zdd� Zdd� Z dd� Zdd� Zejfdd�Zdd� Zeddd�dd � �Z� ZS )!� SystemdPlugina' Plug-in for tuning systemd options. The [option]`cpu_affinity` option allows setting CPUAffinity in `/etc/systemd/system.conf`. This configures the CPU affinity for the service manager as well as the default CPU affinity for all forked off processes. The option takes a comma-separated list of CPUs with optional CPU ranges specified by the minus sign (`-`). .Set the CPUAffinity for `systemd` to `0 1 2 3` ==== ---- [systemd] cpu_affinity=0-3 ---- ==== NOTE: These tunings are unloaded only on profile change followed by a reboot. c s@ t j�tj�st�dtj ��tt| �j |i |�� t � | _d S )NzERequired systemd '%s' configuration file not found, disabling plugin.)�os�path�isfile�consts�SYSTEMD_SYSTEM_CONF_FILEr ZNotSupportedPluginException�superr �__init__r �_cmd)�self�args�kwargs�� __class__� �@/usr/lib/python3.9/site-packages/tuned/plugins/plugin_systemd.pyr "