蓝鲸学习笔记

学习记录


systemctl学习

<h4>systemctl 学习</h4> <p>1.启动蓝鲸某个模块所有服务</p> <pre><code>systemctl start bk-paas.target</code></pre> <p>2.启动模块单个服务</p> <pre><code>systemctl start bk-paas-(模块名)</code></pre> <p>3.target服务,使用systemctl list-dependencies bk-(模块名).target </p> <pre><code>systemctl list-denpendencies bk-cmdb.target </code></pre> <p>4.查看服务的启停命令配置</p> <pre><code>systemctl cat bk-cmdb-admin.service </code></pre> <p>5.查看服务状态</p> <pre><code>systemctl status bk-cmdb-admin.service systemctl status -n0 bk-admin-admin.service </code></pre> <p>6.查看错误服务状态</p> <pre><code>systemctl list-units --failed</code></pre>

页面列表

ITEM_HTML