- ll 查詢 /usr/lib/tuned 目錄下的配置文件,導向到 /root/tunedprofiles。
- 查詢 tuned 服務是否設定開機啟動,導向到 /root/tuned-enabled。
- 查詢 tuned 服務現在是否啟動,導向到 /root/tuned-active。
- 查詢 tuned 服務目前啟用的 profile,並將查詢命令寫成腳本 /root/tuned.active.sh。
- 查詢 tuned 服務推薦的 profile,並將命令寫成腳本 /root/tuned.recommend.sh。
- 將預設的 profile 設定成到系統建議的 profile。