Procps

Procps

安装指导参见: the 节 called 安装 Procps-3.1.15 在 第 6 章.

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值