Centos 7 之 systemctl
2016-06-06 14:24
399 查看
systemctl 是 centos 7 引入的新特性。
systemctl - Control the systemd system and service manager
systemctl是 Systemd 的主命令,用于管理系统。主要负责控制systemd系统和服务管理器.
一、常见用法:
systemctl is-enabled servicename.service #查询服务是否开机启动
systemctl enable *.service #开机运行服务
systemctl disable *.service #取消开机运行
systemctl start *.service #启动服务
systemctl stop *.service #停止服务
systemctl restart *.service #重启服务
systemctl reload *.service #重新加载服务配置文件
systemctl status *.service #查询服务运行状态
systemctl –failed #显示启动失败的服务
参考:http://www.ahlinux.com/centos/8658.html
systemctl - Control the systemd system and service manager
systemctl是 Systemd 的主命令,用于管理系统。主要负责控制systemd系统和服务管理器.
一、常见用法:
systemctl is-enabled servicename.service #查询服务是否开机启动
systemctl enable *.service #开机运行服务
systemctl disable *.service #取消开机运行
systemctl start *.service #启动服务
systemctl stop *.service #停止服务
systemctl restart *.service #重启服务
systemctl reload *.service #重新加载服务配置文件
systemctl status *.service #查询服务运行状态
systemctl –failed #显示启动失败的服务
参考:http://www.ahlinux.com/centos/8658.html
相关文章推荐
- arm linux下使用 qextserialport 编写串口小程序
- linux fd dup 使用
- Linux 下系统调用的三种方法
- linux运维中,如何打印进程消耗内存占比(排序)
- 用crontab命令实现每天定时的病毒扫描
- linux echo命令的-n、-e两个参数
- Linux软连接和硬链接
- linux修改open files数
- linux基础(33)--正则表达式--RHEL6.5
- 《Linux内核分析》-----张超
- centos 6.X 安装node
- windows下python连接linux的mysql并且使用
- Linux系统基础网络配置老鸟精华篇
- linux内核学习-建议路线
- CentOS下MySQL 5.7编译安装
- Linux下 *.tar.gz文件解压缩命令
- 使用QEMU调试Linux内核代码
- 每天一个linux命令(17):whereis 命令
- linux内核分析系列--百度
- Linux模式设计系列( 内核与应用关联思考)