Check profile with tuned-adm active
In this step, we'll explore how to check the currently active profile using tuned-adm
. tuned-adm
is a command-line tool used to manage system performance by dynamically adjusting system settings based on predefined profiles. These profiles optimize the system for specific workloads, such as throughput, latency, or power saving.
First, let's understand what a tuned profile is. A tuned profile is a collection of settings that optimize your system for a particular workload. These settings can include CPU frequency scaling, disk I/O scheduling, and network tuning parameters.
To check the currently active tuned profile, open your terminal. Remember, the terminal is your command center for interacting with the Linux system. You can find the Xfce Terminal icon on the left side of your desktop.
Now, type the following command and press Enter:
sudo tuned-adm active
This command queries the tuned
daemon and displays the name of the active profile. You should see output similar to this:
Current active profile: virtual-guest
The output virtual-guest
indicates that the virtual-guest
profile is currently active. This profile is typically used for virtual machines and optimizes the system for virtualized environments.
If no profile is active, the output will be:
No current active profile.
It's important to note that you need sudo
privileges to run tuned-adm
commands because they modify system settings. sudo
allows you to execute commands with administrative privileges.
Now, let's try another command to get more information about the tuned daemon:
sudo tuned-adm status
This command provides a more detailed status report, including the active profile, any applied tuning plugins, and any warnings or errors. The output might look like this:
Currently active profile: virtual-guest
plugin: (...)
(...)
The tuned-adm status
command is useful for troubleshooting and verifying that the tuned daemon is functioning correctly.
By checking the active profile, you can ensure that your system is optimized for its intended use. If you need to switch to a different profile, you can use the tuned-adm profile
command, which we'll explore in a later step.