首页
学习
活动
专区
圈层
工具
发布
  • 您找到你想要的搜索结果了吗?
    是的
    没有找到

    Linux如何查看服务启动状态是否开机自动启动

    本文为joshua317原创文章,转载请注明:转载自joshua317博客 方式一 chkconfig linux中查看服务启动状态是否开机自动启动的方法: 1、打开linux终端; 2、在终端命令行中输入...“chkconfig --list servicename”命令查看服务启动状态是否开机自动启动即可。...方式二 systemctl 1、打开linux终端; 2、在终端命令行中输入“systemctl status servicename”命令查看服务启动状态是否开机自动启动即可。...systemctl list-unit-files # 查看服务的自启动状态以list-unit-files为准 # 但是系统服务太多,我想分类查看该如何做?...# 查看系统中已经enable的服务 systemctl list-unit-files --state=enabled # 查看系统中已经disable的服务 systemctl list-unit-files

    19.9K31
    领券