A fourth screen, command status, displays the command, output, and status of the command.
第四个屏幕是命令状态屏幕,它显示命令、命令的输出和状态。
While most useful in Command Status screens, these keystrokes work in all screens (see Table 1).
尽管这些键盘输入在命令状态屏幕中最有用处,但它们可以在所有的屏幕中使用(请参见表1)。
Running the above command produces an XML document that contains configuration or status of an "update" or "create" request for portal resources.
运行上述命令产生一个XML文档,该文档包含对门户资源的“更新”或“创建”请求的配置或状态。
This command does not change the status of the printer; instead, it tells CUPS to reject incoming jobs.
此命令不会改变打印机的状态;相反,它会告诉CUPS拒绝传入的作业。
Use the && control operator to combine two commands so that the second is run only if the first command returns a zero exit status.
使用&&控制操作符来组合两个命令,以便仅当第一个命令返回零退出状态时才运行第二个命令。
Similarly, the || control operator separates two commands and runs the second command only if the first command returns a non-zero exit status.
类似地,||控制操作符分隔两个命令,并且仅当第一个命令返回非零退出状态时才运行第二个命令。
The status command shows what is happening in the pool and which hard drive seems to be failing.
状态命令显示了池中的情况,以及哪个硬盘驱动器似乎出故障了。
You should see the connector status update in the command window as it receives the message from the cei queue, as shown in Figure 10.
您应该看到,由于从cei队列接收到此消息,命令窗口中的连接器状态会更新,如图10中所示。
And because every UNIX command returns a status code reflecting success or failure, you can use any command as a conditional — not just the test operators.
而且由于每个UNIX命令都返回一个指示成功或失败的状态代码,因此,您可以使用任何命令作为“条件”——而不仅仅是使用测试操作符。
The return status from a command can be used to identify whether a particular command ran correctly, or whether it generated some sort of error.
命令的返回状态可用于确定特定的命令是否正确运行,或者是否生成了某种类型的错误。
The status of the delivery can be obtained with this command as well.
提交的状态也可以从此命令得到。
This command causes the SPE to immediately return with the status of the DMA channels.
这个命令会导致SPE立即返回dma通道的状态。
You can check to see whether it is still running or has completed by running the command ps (for Process Status).
您可以通过运行命令ps(代表“进程状态”)检查它是否仍在运行或已经完成。
If Opened_tables increases quickly as you rerun the SHOW STATUS command, you aren't getting enough hits out of your cache.
如果Opened _ tables随着重新运行SHOWSTATUS命令快速增加,就说明缓存命中率不够。
To view the current audit configuration Settings and status, use the following db2audit command.
为了查看当前审计配置设置和状态,请使用以下db2audit命令。
After stopping and restarting the queue daemon, check the queue status using the lpstat command.
停止并重新启动队列守护进程之后,使用lpstat命令检查队列状态。
Other, typically more complicated variations of the dialog command both set the shell status variable and generate other results.
另外,通常更为复杂的dialog命令变体同时设置shell状态变量并生成其他结果。
To check the status of the wpar, use the lswpar command (see Listing 2).
要检查wpar状态,请使用lswpar命令(请参见清单2)。
Run a command only if another command returns a zero exit status.
仅当另一个命令返回零退出状态时才运行某个命令。
You can view the status of the add-on using the osgi ps command.
您可以使用osgips命令查看该附加组件的状态。
It prints a status message and sends the sleep command a SIGINT signal.
它将打印状态信息并将sleep命令发送给SIGINT信号。
Run a command only if another command returns a non-zero exit status.
仅当另一个命令返回非零退出状态时才运行某个命令。
Use the service command to get a status, as shown in Listing 9.
可以使用service命令来获取状态信息,如清单9所示。
Execute the following command to display the status of the Sendmail daemon.
执行以下命令显示Sendmail守护进程的状态。
Run the onstat -g RSS command to check RSS node status at both primary and RSS nodes.
在主服务器和rss节点中运行onstat - g rss命令查看rss节点状态。
Run the command ss (short status) at this prompt to see the status of the bundles.
在这个提示中运行命令ss(短暂状态),查看包的状态。
If you happened to run the command at a different instant, you might see the date command listed in the process status instead, but the odds are very small with this script.
如果您刚好在不同的时间运行该命令,您将看到date命令列出在进程状态中,但对于该脚本,发生这种情况的几率不大。
From the DS8700 command line interface (dscli), determine the path status between logical subsystem FC and logical subsystem FD using the lspprcpath command, as shown in Listing 1.
从ds8700命令行界面(dscli),使用lspprcpath命令确定逻辑子系统FC和逻辑子系统FD之间的路径状态,如清单1所示。
Notice that when you run the command, the if statement for the last exit status is never reached because the script exits upon a non-zero return status of the cp command.
注意,当您运行该命令时,实现最终的退出状态的if语句将永远无法满足条件,因为脚本在遇到cp命令的非零返回状态时将退出。
Errexit: if a command has an exit status of anything but 0 (zero), execute the err trap (if it is set and exists).
errexit:如果某个命令产生非0(零)的退出状态并且设置了err陷阱,则执行err陷阱并退出。
应用推荐