博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Uninterruptible sleep
阅读量:2727 次
发布时间:2019-05-13

本文共 1914 字,大约阅读时间需要 6 分钟。

 ps aux

 

dummy 8165 0.0 0.0 2644 1004 pts/1 D+ 23:49 0:00 umount

 

D+?

 

PROCESS STATE CODES       Here are the different values that the s, stat and state       output specifiers (header "STAT" or "S") will display to       describe the state of a process.       D    Uninterruptible sleep (usually IO)       R    Running or runnable (on run queue)       S    Interruptible sleep (waiting for an event to complete)       T    Stopped, either by a job control signal or            because it is being traced.       W    paging (not valid since the 2.6.xx kernel)       X    dead (should never be seen)       Z    Defunct ("zombie") process, terminated but not            reaped by its parent.       For BSD formats and when the stat keyword is used,       additional characters may be displayed:       <    high-priority (not nice to other users)       N    low-priority (nice to other users)       L    has pages locked into memory (for real-time and custom IO)       s    is a session leader       l    is multi-threaded (using CLONE_THREAD, like NPTL pthreads do)       +    is in the foreground process group

In computer operating systems terminology, a sleeping process can either be interruptible (woken via signals) or uninterruptible (woken explicitly). An uninterruptible sleep state is a sleep state that cannot handle a signal (such as waiting for disk or network IO (input/output)).

When the process is sleeping uninterruptibly, the signal will be noticed when the process returns from the system call or trap.

 

A process which ends up in “D” state for any measurable length of time is trapped in the midst of a system call (usually an I/O operation on a device — thus the initial in the ps output).

 

Such a process cannot be killed — it would risk leaving the kernel in an inconsistent state, leading to a panic. In general you can consider this to be a bug in the device driver that the process is accessing.

转载地址:http://zajtd.baihongyu.com/

你可能感兴趣的文章
PostgreSQL 荣获 2019 年 O'Reilly 终身成就奖
查看>>
.NET Core 学习资料精选:入门
查看>>
微软解释为什么 Rust 是系统编程的最佳选择
查看>>
VS Code 的 Java 七月更新,新的重构特性
查看>>
微软宣布 SQL Server 2019 免费支持 Java
查看>>
选择所有选项的多选复选框列表或复选框下拉列表
查看>>
使用SQL Server 2017 Docker容器在.NET Core中进行本地Web API开发
查看>>
响应式设计基本规则
查看>>
人工生命 2.0.1 版发布,给青蛙找个工作:走跷跷板
查看>>
记录MS SQL Server数据库
查看>>
华为鸿蒙系统刷屏,到底什么是微内核操作系统呢?
查看>>
Zend 创始人提议创建 PHP 方言,暂命名为 P++
查看>>
VS Code 1.37 发布,多个图标迎来全新设计
查看>>
我接受异常
查看>>
ASP.NET核心之路微服务第01部分:构建视图
查看>>
ASP.NET核心之路微服务第02部分:查看组件
查看>>
C#中面向对象编程中的函数式编程
查看>>
ASP.NET Core 和 Blazor 更新
查看>>
Visual Studio 2019 16.2.2 发布
查看>>
《RVOS:End-to-End Recurrent Network for Video Object Segmentation》论文笔记
查看>>