Dit deel is nog niet vertaald. Je ziet de Engelse tekst.
Wat het doet
The tuned service applies a profile: many settings for one type of system, like a VM, a busy server or a laptop. tuned-adm lists the profiles, shows the active and the recommended one, and switches profiles.
Profiles are in /usr/lib/tuned/ (from packages) and /etc/tuned/ (your own; a profile can include= another and change a few values).
Zo schrijf je het
tuned-adm list | active | recommend | off | verify | profile_mode | auto_profile
tuned-adm profile PROFILE...
tuned-adm profile_info [PROFILE]Belangrijkste delen
list- All available profiles and the active one.
active- The active profile.
recommend- The profile tuned suggests for this system.
profileNAME...- Switch to a profile (more names = merged).
profile_info[NAME]- Description of a profile.
off- Stop tuning (settings go back).
verify- Check that the profile settings are really applied.
auto_profile- Switch to the recommended profile and automatic mode.
profile_mode- Show if the profile was set by hand or automatically.
Opties 7
Meest gebruikt
Niets past bij dit filter.
Voorbeelden 10
$ als gewone gebruiker# als root (of met sudo)
1Install and start tuned
Often installed already.
2Which profile is active?
tuned-adm active Current active profile: virtual-guestRHEL VMs get virtual-guest.
3Recommended profile
tuned-adm recommend virtual-guestBased on the hardware and virtualization.
4Switch profile
tuned-adm profile throughput-performanceFor a busy physical server.
5List all profiles
tuned-adm listShows names with a short description.
6Learn about a profile
tuned-adm profile_info powersaveWhat it changes.
7Check that the settings are applied
tuned-adm verify Verification succeeded, current system settings match the preset profile.If not, see /var/log/tuned/tuned.log.
8Back to automatic mode
tuned-adm auto_profiletuned picks the recommended profile.
9Make your own profile
mkdir /etc/tuned/myweb printf '[main]\ninclude=throughput-performance\n\n[sysctl]\nvm.swappiness=10\n' > /etc/tuned/myweb/tuned.conf tuned-adm profile mywebYour changes on top of a Red Hat profile.
10Turn tuning off
tuned-adm offFor tests: compare with and without.
Niets past bij dit filter.
Bestanden
/usr/lib/tuned/- Profiles from packages.
/etc/tuned/- Your own profiles; active_profile and profile_mode.
/var/log/tuned/tuned.log- Log.
Exitcodes
0 :: Done. 1 :: Error.