linux系统allstatus命令,linux status 命令怎么用

linux status 命令怎么用

答案:2  信息版本:手机版

解决时间 2019-10-06 12:35

已解决

2019-10-06 04:15

linux status 命令怎么用

最佳答案

2019-10-06 05:08

# man status

initctl(8) initctl(8)

NAME

initctl - init daemon control tool

SYNOPSIS

initctl [OPTION]... COMMAND [OPTION]... ARG...

DESCRIPTION

initctl allows a system administrator to communicate and interact with the Upstart init(8) daemon.

When run as initctl, the first non-option argument is the COMMAND. Global options may be specified before or after the command.

You may also create symbolic or hard links to initctl named after commands. When invoked through these links the tool will behave only as that command, with global and com-

mand-specific options intermixed. The default installation supplies such links for the start, stop, restart, reload and status commands.

OPTIONS

--system

Communication with the init(8) daemon is normally performed over a private socket connection. This has the advantage of speed and robustness, when issuing commands to

start or stop services or even reboot the system you do not want to be affected by changes to the D-Bus system bus daemon.

The disadvantage to using the private socket however is security, init(8) only permits the root user to communicate over this socket which means that read-only commands

such as status and list cannot be made by other users.

The --system option instructs initctl to communicate via the D-Bus system bus rather than over the private socket.

This is only possible if the system bus daemon is running and if init(8) is connected to it. The advantage is that the default security configuration allows non-root

users to use read-only commands.

--dest Specifies the well-known name of the init(8) daemon when using --system.

There is normally no need to use this option since the init(8) daemon uses the default com.ubuntu.Upstart name. However it may be useful for debugging.

--no-wait

Applies to the start, stop, restart and emit commands.

Normally initctl will wait for the command to finish before returning.

For the start, stop and restart commands, finishing means that the named job is running (or has finished for tasks) or has been fully stopped.

For the emit command, finishing means that all of the jobs affected by the event are running (or have finished for tasks) or have been fully stopped.

This option instead causes these commands to only wait for the goal change or event to be queued.

--quiet

Reduces output of all commands to errors only.

man一下就好了

全部回答

1楼

2019-10-06 06:34

我初使用linux用vmware6.0虚拟机装redhat9.0我想使用ping命令windows用cmdlinux应该用

service --status-all

我要举报

如果感觉以上信息为低俗/不良/侵权的信息,可以点下面链接进行举报,我们会做出相应处理,感谢你的支持!

大家都在看

推荐资讯

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值