现在,让我们将话题转向进程的状态。
Now let's turn our attention to the status of our processes.
在内部,Shell使用UNIX信号来影响进程的状态。
Internally, your shell USES UNIX signals to affect the state of processes.
单击Tasks,查看长时间运行的进程的状态。
Click on Tasks to view the status of the long-running process.
state代表进程的状态,如正在睡眠(s)或运行(R)。
State reflects the process state, such as sleeping (s) or running (r).
可以使用Status选项卡查看任何正在运行的进程的状态。
You can use the status TAB to see the status of any running processes.
执行以下命令显示Sendmail守护进程的状态。
Execute the following command to display the status of the Sendmail daemon.
如果守护进程已经启动,守护进程的状态应该是active。
If the daemon is started, the status of that daemon should be active.
平均负载的定义比较复杂,并且受到正在执行的进程的状态影响。
The definition of load average is complex and driven by the status of the processes that are executing.
监测代理利用检查点和进程迁移技术来实现对进程的状态监测和故障恢复。
Detection agents make use of checkpoint technology and process migration technology to detect the process state, recovery the process from the fault state.
回卷恢复技术的容错是通过在无错执行期间周期性地保存进程的状态来实现的。
Fault tolerance of rollback recovery is achieved by periodically using stable storage to save the processes' states during failure-free execution.
内核将进程的状态信息保存在struct task_struct的state字段中。
The kernel keeps the state information of a process in the state field of struct task_struct.
的通过检测运行进程的状态以进行应用程序的自动维护的思想,适用于大型、长期运行的程序组。
The thought of automatic maintenance through checking the running processes is fit for large-scaled long-running application group.
当一个线程在运行的时候,不管是上传还是下载,你可以查询进程状态并且给用户一个反馈(例如一个进度条)。
While a thread is running, either uploading or downloading, you can query it to check on its status to provide the user with feedback (e.g. a progress bar).
图1展示了进程状态之间的转换。
它追踪了任务所有权,以及个人以及团队的责任,它可以做出任务进程以及可传递的状态。
It tracks task ownership and responsibility for individuals and teams, which makes task progress and status of deliverables clear.
但进程间无法互相知道对方现时的状态。
But the processes have no way of knowing each other's current state.
图4显示的是稍后进程Z的状态。
进程、内核线程、索引节点和文件表的状态。
Status of processes, kernel-thread, i-node, and file tables.
我们还可以使用另一个命令ps来显示进程状态信息的不同部分。
There is another command, the ps command, which we use to display various pieces of process status information.
ps命令接受0 个或多个PID作为参数并显示相关联的进程状态。
The ps command accepts zero or more PIDs as arguments and displays the associated process status.
bta命令对处于某种特定状态的所有进程执行回溯。
The bta command does a traceback for all processes in a particular state.
每一个项目都会有其自己的状态以及可能的准许进程,如图3所示。
Each work item then has its own state and possible approval process, as shown in Figure 3.
一个进程知道自己的状态,也知道其他进程之前最近的状态。
A process knows its own state, and it knows what state other processes were in recently.
因此,懒惰的程序员可能比较喜欢将进程置为不可中断模式的睡眠状态,因为信号不会唤醒这类任务。
So a lazy programmer might prefer putting the process into uninterruptible sleeping mode because signals do not wake up such tasks.
例如,不带任何循环(返回原来的状态)的状态机在作为一个进程开发时可能更有意义。
For example, a state machine without any loops (returning to an earlier state), would probably make more sense being developed as a process.
通过将信息注入正在运行的流程,攻击者可以危害进程的运行状态,以反射到开发人员无法保护的某种最终目标。
When attempting to inject information into a running process, attackers are trying to compromise the running state of the process to reflect some end goal that is unprotected by developers.
然而,最重要的是我们增加了双向数据绑定、进程与状态管理,以及经过改善的本地化支持和增强的数据验证框架。
However, on top of that we added bi-directional data binding, process and state management, improved localization support and an enhanced data validation framework.
有关进程状态转换的详细信息,请参阅参考资料一节中的UNIX操作系统设计。
For detailed information on process state transitions, see the Design of the UNIX Operating System listed in the Resources section.
运行数据,或与进程的特定实例或其他业务状态关联的数据。
The run data or the data that is associated with specific instances of your processes or other business state.
状态保存在进程的内存里,而且由于进程会在工作完成之前都持续运行,所以状态总是可用的。
That state is held in the process's memory, and since the process runs continuously until its work is done, the state is always available.
应用推荐