# 进程 & 服务

systemctl start [service]  # 开启某项服务
systemctl stop [service]  # 关闭某项服务
systemctl restart [service]  # 重启某项服务
systemctl is-active [service] # 查看某服务是否运行
systemctl enable [service]  # 开启服务的开机自启
systemctl disable [service]  # 关闭服务的开机自启
systemctl is-enabled [service]  # 查看服务是否开机自启

systemctl -t # 查看已运行服务
    -at  # 查看所有服务
    -t service --failed  # 查看运行失败服务

nice # 设置所执行命令的优先级
renice # 设置已运行程序的优先级
top # 查看运行程序详细信息

一只臭咸鱼