当前位置:网站首页>systemctl命令
systemctl命令
2022-07-26 21:38:00 【别掉头发啦】
systemctl命令主要有两大功能
控制systemd系统
管理系统上运行的服务
systemctl 常用命令
1、启动服务
systemctl start 服务名
2、停止服务
systemctl stop 服务名
3、重启服务
systemctl restart 服务名
4、查看服务是否已启动
systemctl is-active 服务名
5、查看服务的状态
systemctl status 服务名
6、启用开机自启动服务
systemctl enable 服务名
7、停用开机自启动服务
systemctl disable 服务名
8、查看服务是否为开机自启动
systemctl is-enabled 服务名
9、只重启正在运行中的服务
systemctl try-restart 服务名
10、显示所有的服务状态—空格翻页 q推出
systemctl list-units --type service --all
11、查看启动成功的服务列表
systemctl list-unit-files|grep enabled
12、查看启动失败的服务列表
systemctl --failed
13、查看所有服务的状态—空格翻页 q推出
systemctl list-unit-files --type service
边栏推荐
- C# 数据类型_摘自菜鸟教程
- 『IDEA』IDEA快捷键使用教程
- JMeter -- response Chinese garbled code processing
- 09.01 深度优先搜索
- 07 df 命令
- The PRI that Hillhouse joined, including Junlian, Huakong, Shengshi, Lvdong and other 100 institutions, was killed
- matlab 短时自相关实现
- Qt中为工程添加资源文件、给按钮添加图片
- : could not determine a constructor for the tag !RootAdmin
- JWT implements login authentication + token automatic renewal scheme, which is the correct posture!
猜你喜欢
随机推荐
Introduction to the notes of learning cesium by yourself
Inventory of financial institutions
Liepin questionnaire star has become a "parasite" on wechat
Afnetworking understand
同花顺手机炒股开户安全吗?怎么办理开户呢
matlab 画短时平均幅度谱
iptables防止nmap扫描以及binlog实现增量备份
View绘制流程1-View与Window的关系
什么是 Base64 ?
国信证券手机开户收费吗?开户安全吗?
Iptables prevents nmap scanning and enables incremental backup of binlog
进程的概念和分类
Difference between D and C
Matlab draw short-term energy diagram
leetcode:857. 雇佣 K 名工人的最低成本【分块思考 + 由简单入手】
[RequireComponent(typeof(....))]
Altium Designer 22 修改选中元件的层属性
Pytoch -- used by visdom
The principle of normal equation method and its difference from gradient descent method
JMeter -- response Chinese garbled code processing








