systemctl is-active返回值
时间: 2023-10-05 18:07:44 浏览: 168
apache-active
根据引用,systemctl is-active命令返回一个整数值。如果系统处于正常运行状态,则返回0;如果系统没有完成全部的启动操作,或者处于启动/关闭/维护状态,或者有单元处于失败状态,返回大于零的正整数。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [systemctl中文手册](https://blog.csdn.net/weixin_45284484/article/details/99616473)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文