Linux 下tuned工具 系统调优

阅读 89

2022-02-24

[root@blue ~]# yum -y install tuned //装包(如果没装的话)
[root@blue ~]# systemctl restart tuned //起服务
[root@blue ~]# systemctl enable tuned //设置开机自启
[root@blue ~]# tuned-adm recommend //列出查看推荐方案(比如 virtual-guest)
[root@blue ~]# tuned-adm profile virtual-guest //切换为指定优化方案
[root@blue ~]# tuned-adm active //查看当前活动方案

tuned-adm profile 列出方案列表

基本步骤为:

1、yum list tuned 查看是否安装 tuned包 yum -y install tuned //装包(如果没装的话)

2、systemctl status tuned 查看服务是否启动 如果没起的话 systemctl restart tuned //起服务

3、tuned-adm recommend //列出推荐的方案(比如 virtual-guest)

4、tuned-adm active 查看当前活动方案 (如果是推荐的方案就不用改,如果不是改一下)

5、tuned-adm profile virtual-guest 切换为指定优化方案 (更改方案)

精彩评论(0)

0 0 举报