linux ps 表头,请问unix的ps命令返回的是个什么列表?谢谢!

ps -ef | grep ora*

得到

oracle 12300     1  0 13:51:14 ?        0:00 ora_dbw0_openview

oracle  7812     1  0 10:07:43 ?        0:00 ora_pmon_orcl

oracle  6276  6275  0 09:55:27 pts/3    0:01 /opt/oracle/jre -DORACLE_HOME=/opt/or

这每个列代表什么?在网上查了下-f是全格式,但这只有8列。

怎么知道每列代表什么?有什么命令能把这张表的表头打出来吗?-_-

|

你问问题的时候 最好把你是哪个发行版的unix说一下  系统不一样ps出来的结果可能会有点区别

我是CentOS ps -ef 是有表头的   还有要多用man来查看命令的详细信息 man ps

UID        PID  PPID  C STIME TTY          TIME CMD

root         1     0  0 18:56 ?        00:00:00 init [5]

root         2     1  0 18:56 ?        00:00:00 [migration/0]

root         3     1  0 18:56 ?        00:00:00 [ksoftirqd/0]

root         4     1  0 18:56 ?        00:00:00 [watchdog/0]

root         5     1  0 18:56 ?        00:00:00 [events/0]

root         6     1  0 18:56 ?        00:00:00 [khelper]

root         7     1  0 18:56 ?        00:00:00 [kthread]

http://blog.csdn.net/linuxprince/archive/2009/12/28/5090513.aspx

root        10     7  0 18:56 ?        00:00:00 [kblockd/0]

|

google man ps solaris

http://docs.sun.com/app/docs/doc/816-0210/6m6nb7mie?a=view

C (f,l)

Processor utilization for scheduling (obsolete). Not printed when the -c option is used.

STIME (f)

The starting time of the process, given in hours, minutes, and seconds. (A process begun more than twenty-four hours before the ps inquiry is executed is given in months and days.)

TTY (all)

The controlling terminal for the process (the message, ?, is printed when there is no controlling terminal).

|

这个查一下ps命令的使用说明吧

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值