⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 m_linuxthr.man

📁 unix系统下top命令的源代码
💻 MAN
字号:
.SH "LINUX NOTES"The Linux port was written by Richard Henderson <rth@tamu.edu>.The CPU% calculation was brazenly stolen from the Solaris 2port and should be attributed to one of the many names listedin its man page.The order support was stolen from the SunOS 5 port byAlexey Klimkin <kad@klon.tme.mcst.ru>Made to work under 2.4 by William LeFebvre.This version of the Linux port includes automatic thread "eliding".In Linux, a thread is treated as another process sharing the memoryspace (as well as file table and other resources).  Thusmultiple threads appear as separate processes in most systemutilities (see.IR clone (2)).This version of top detects child thread processes and does notdisplay them separately.  Instead of displaying threads individually,an extra column "THR" shows the number of thread processes for aparent process.  The cpu time and percentages are added to theparent.  This gives a display much closer to other thread-capable Unixsystems.  However, threads are still counted as separate processes inthe process summary line.A process is considered a thread of its parent if thefollowing values are identical to its parent: address space size,resident set size, code start and end program counters, and stackstart.  This heuristic can mistake a recently forked child as a thread,until the child has either called exec or allocated space on its own.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -