linux-日常运维-服务管理-systemd
2018-10-31 02:21
941 查看
centos7,趋势
systemctl list-units --all --type=service
列出信息
空格往下翻,会看到解释
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB. inactice :未激活 actice :激活 ,DESCRIPTION:一些解释信息
SUB = The low-level unit activation state, values depend on unit type.
几个常用的服务相关的命令
systemctl enable crond.service //让服务开机启动
systemctl disable crond //不让开机启动
systemctl status crond //查看状态
systemctl stop crond //停止服务
systemctl start crond //启动服务
systemctl restart crond //重启服务
systemctl is-enabled crond //检查服务是否开机启动
文件源路径:/usr/lib/systemd/system/
相关文章推荐
- 日常运维(六):Linux系统的任务计划与系统服务管理
- 日常运维(八):sync通过服务同步,linux系统日志,screen工具
- Linux日常运维管理基本问题
- Linux运维-Linux系统日常管理
- linux日常运维(crond,systemd,chkconfing,unit,target)
- linux任务计划cron、chkconfig工具、systemd管理服务、unit介绍和targe
- [置顶]【Linux init】systemd 服务单元管理
- 【Linux init】systemd 服务单元管理
- Linux日常运维管理技巧
- linux学习第三十二篇:linux任务计划cron,chkconfig工具,systemd管理服务,unit介绍,target介绍
- linux任务计划 chkconfig工具 systemd管理服务 unit介绍 target介绍
- linux日常管理-系统服务
- linux日常管理-rsync后台服务方式-2
- 我不要紧的编码组两人,至少两年的dotnet网咯服务开发经验,熟悉数据库orm, 系统管理人员:熟悉各linux发行版的系统管理和安全管理,linux常用数据库的配置与运维等,有代码托管服务管理经验优
- linux任务计划 chkconfig工具 systemd管理服务 unit介绍 target介绍
- Linux日常运维管理技巧-iostat、iotop、free、ps、netstat、tcpdump、tshark命令
- Linux日常运维管理技巧--监控系统状态
- Linux平台日常运维管理
- Linux运维 第二阶段 (十一)服务管理
- linux任务计划、 系统服务管理工具chkconfig、systemd