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
我要举报
如果感觉以上信息为低俗/不良/侵权的信息,可以点下面链接进行举报,我们会做出相应处理,感谢你的支持!
大家都在看
推荐资讯