實機練習

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