Procps slabtop

轉自:https://blog.csdn.net/hncdsun/article/details/5100528

Procps

安裝指導參見: the 節 called 安裝 Procps-3.1.15 在 第 6 章.

官方下載地址

Procps (3.1.15):
http://procps.sourceforge.net/

Procps的內容

Procps軟件包包含監視和終止系統進程的程序。它通過/proc目錄蒐集進程的信息.

安裝下列程序: free, kill, pgrep, pkill, ps, skill, snice, sysctl, tload, top, uptime, vmstat, w 和 watch

安裝下列庫文件: libproc.so

 

簡短說明

free顯示系統中可用的和已經使用的物理內存和交換空間,以及內核使用的共享內存和緩衝區。

kill向進程發信號。

pgrep 按照名字或者其他屬性查找進程。

pkill 按照名字或者其他屬性結束進程。

pmap 報告指定進程的內存圖。

ps 顯示一個當前進程的快照。

skill 向符合某個條件的進程發出信號。

snice 改變符合某個條件進程的調度優先級。

sysctl系統運行時改變內核的參數。

tload 在指定的tty終端上顯示系統當前平均負載的示意圖。

top實時觀察進程的活動情況。

uptime 顯示系統運行了多長時間,有多少用戶登陸,系統的負載情況。

vmstat報告虛擬內存狀態。包括進程、內存、分頁、塊設備的讀寫、中斷和CPU的活動。

w 顯示當前登錄的用戶信息,以及他們的進程。

watch 重複運行某個命令,滿屏顯示其輸出。

libproc包含本軟件包中大多數程序都要使用的函數。

 

Procps 安裝依賴關係

Procps 依賴於: Bash, Binutils, Coreutils, GCC, Glibc, Make, Ncurses.

 

Changelog for procps 3
This is the changelog for recent versions.

Version 3.2.8


ps: allow "+" in sort specifications, as in man page     rh208217
ps: recognize SCHED_ISO and SCHED_IDLE
ps: document SCHED_BATCH and add a "see also" for stime
ps: man page less ambiguous
top: normal exit code should be 0          #341272 #354255 rh199174
top: misc fixes
pgrep: usage error should exit with 2       #413383
vmstat: use EXIT_FAILURE -- thanks Yoshio Nakamura   #425492
sysctl: fix crash -- thanks Steinar Gunderson      #423704
watch: tolerate umlauts                          #207103
pmap: range limits with -A low,high
update /dev/tty* info to May 2009 devices.txt
don't read off end of string const                rh469495 rh498182

 

Version 3.2.7


top: document H option -- thanks Tony Ernst
top: terabytes -- thanks Tony Ernst
top: CPU usage column width fixes -- thanks Tony Ernst
top: *roff change                                   #326517
ps: SCHED_BATCH is B
ps: fix s format (signals) output with thread display
watch: avoid integer overflow for the time delay
pwdx: buffer overflow fixed -- thanks Ulf Harnhammar
procps.spec needed a slash -- thanks Jesse Brandeburg
w: stale utmp entries snuck in via uninitialized var -- thanks Robert A Basch
pgrep/pkill: fix some realloc-related crashes       #353894
pgrep/pkill: g is criteria (PLD Linux, patch found in locked filing cabinet)
sysctl: use - for stdin (PLD Linux: beware of the leopard)
top: show CPU time stolen from a virtual machine

 

Version 3.2.6


vmstat: /proc/stat buffer big enough for 1024 CPUs
dietlibc needs termios.h for struct winsize -- thanks Thomas Ogrisegg
top: can do per-task display -- thanks John Blackwood     rh114012
more MIPS crud  -- thanks Jim Gifford and Ryan Oliver
begin prep for setuid
top: fix %CPU max on 2..9 CPU SMP -- thanks Ga*tan LEURENT  rh110555
ps: fix crash related to realloc -- thanks David Houlder
ps: man page more detailed                         #334682
spelling fixes                       #300333 #334684 #334685
top: crash on resize fixed -- thanks Michal Maruska   #320289
vmstat: -p handles /dev/ and does not overflow  #319523 #330969

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章