www.55psps.com~~~~~~~~~~~~~~~...

游戏类型:文字类发布小组:百度 - 冰枫情天移植发布时间:15年08月07日汉化程度:简体中文版推 荐 度:★★★游戏详情:暂无游戏类型:文字冒险类发布小组:翼之梦汉化组发布时间:15年08月07日汉化程度:简体中文版推 荐 度:★★★游戏详情:暂无游戏类型:文字类发布小组:发布时间:15年08月07日汉化程度:简体中文版推 荐 度:★★★游戏详情:暂无游戏类型:动作类 发布小组:幸福下载 & goro发布时间:15年08月06日汉化程度:简体中文版推 荐 度:★★★游戏详情:暂无游戏类型:对战格斗类发布小组:官方发布时间:15年08月06日汉化程度:繁体中文版推 荐 度:★★★游戏详情:暂无游戏类型:冒险类发布小组:苏帕尔莎汉化组发布时间:15年08月06日汉化程度:简体中文版推 荐 度:★★★游戏详情:暂无游戏类型:冒险类发布小组:EGC汉化工作室发布时间:15年08月05日汉化程度:简体中文版推 荐 度:★★★游戏详情:暂无游戏类型:冒险类发布小组:风铃汉化组发布时间:15年08月05日汉化程度:简体中文版推 荐 度:★★★游戏详情:暂无游戏类型:策略类 发布小组:WGF 发布时间:15年08月05日汉化程度:简体中文版推 荐 度:★★★游戏详情:暂无游戏类型:策略类发布小组:发布时间:15年08月05日汉化程度:简体中文版推 荐 度:★★★游戏详情:暂无游戏类型:策略类发布小组:PLAY汉化组发布时间:15年08月05日汉化程度:简体中文版推 荐 度:★★★★游戏详情:暂无游戏类型:策略类发布小组:waller发布时间:15年08月05日汉化程度:繁体中文版推 荐 度:★★★游戏详情:暂无游戏类型:其他类发布小组:官方发布时间:15年08月05日汉化程度:繁体中文版推 荐 度:★★★游戏详情:暂无游戏类型:休闲益智类发布小组:官方发布时间:15年08月04日汉化程度:官方中文版推 荐 度:★★★游戏详情:暂无游戏类型:动作类发布小组:扑家+天幻汉化组发布时间:15年08月04日汉化程度:简体中文版推 荐 度:★★★游戏详情:暂无游戏类型:对战格斗类发布小组:官方发布时间:15年08月04日汉化程度:繁体中文版推 荐 度:★★★★游戏详情:暂无游戏类型:文字类发布小组:心游汉化组发布时间:15年08月04日汉化程度:简体中文版推 荐 度:★★★★游戏详情:暂无游戏类型:冒险类发布小组:萌萌璐汉化组发布时间:15年08月02日汉化程度:简体中文版推 荐 度:★★★★游戏详情:暂无游戏类型:角色扮演类发布小组:扑家汉化组发布时间:15年07月25日汉化程度:简体中文版推 荐 度:★★★★游戏详情:暂无游戏类型:冒险类发布小组:AUGUST中文化委员会发布时间:15年02月25日汉化程度:简体中文版推 荐 度:★★★★★游戏详情:暂无首页1PSPS~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_百度知道
PSPS~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
提问者采纳
其他类似问题
为您推荐:
其他3条回答
我可以帮你ps
破玩应买后悔了还不如买3DS呢游戏机不是游戏机,MP4不是MP4现在我算是明白了功能多了就注定做不好游戏机就是游戏机,掌机就是掌机。还是任天堂明白这点
???????????
您可能关注的推广回答者:
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁Upcoming Events
Upcoming Webinars
Upcoming Committee Mtgs
News Highlights
Industry/Focus Committees
Provide a Standing Forum for RL Industry Professionals to:
Meet on a Regional & Global Basis
Discuss Common Reverse Logistics Issues at RLTS Conferences
Memberships
If you have any questions please contact us at 801-331-8949 ext. 13 or e-mail us at
Individual
RL Solutions
We help YOU connect to ...
Confidential and FREE for RLA members.
Publications热门游戏:
最近发售:
中文游戏:
04.02 04.21 08.06 01.13 04.09 01.01 05.07 08.03 09.21 10.04 04.15
PSP游戏推荐
角色扮演类
休闲益智类
PSP游戏专题
类 型:动作
类 型:动作
类 型:格斗
类 型:角色扮演
类 型:策略
类 型:策略9603人阅读
检索进程:ps
ps这个命令最常见的,我们经常用它来检索进程,但在我认真阅读过ps的man文档之前,我使用的最多的选项是aux,用grep匹配出特定的进程,然后再处理它,现在看来这种做法非常笨拙,呵呵!其实我们完全可以用pgrep快速的完成这一串操作。
今天暂不讲解pgrep的用法,先让我们更多的了解一下ps,首先ps支持三种选项格式:unix options这种选项通常需要在其前加横杠-,多值可梱绑;BSD options 选项前不用加任何符号;GNU Long options即GNU长选项,选项前加两个横杠;这三种选项可以混用,在产生冲突时程序会提示。
ps选项分类:检索类、输出列格式控制、线程信息、其他信息,在此我只列举一些常用到的用法,其他选项在用到时可以查看手册页。
-e用于显示所有进程,以下是输出的一小部分:
[root@supersun.biz ~]#ps -e
PID TTY TIME CMD
1 ? 00:00:00 init
2 ? 00:00:00 migration/0
3 ? 00:00:00 ksoftirqd/0
4 ? 00:00:00 watchdog/0
5 ? 00:00:00 events/0
PID 进程ID
TTY 与进程关联的终端
TIME 进程使用CPU累计时间
CMD 执行文件的名称
-f选项定义为full-format listing
[root@supersun.biz ~]#ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 08:31 ? 00:00:00 init [5]
root 2 1 0 08:31 ? 00:00:00 [migration/0]
root 3 1 0 08:31 ? 00:00:00 [ksoftirqd/0]
root 4 1 0 08:31 ? 00:00:00 [watchdog/0]
UID 用户ID
C CPU利用率,以整数表示。
STIME 进程的启动时间
-F选项添加了进程使用内存方面的一些信息:(测试了一下,该选项在AIX下是输出格式定制选项,同-o选项。)
[root@supersun ~]# ps -eF
UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
root 1 0 0 508 684 1 Nov29 ? 00:00:00 init [5]
root 2 1 0 0 0 0 Nov29 ? 00:00:00 [migration/0]
root 3 1 0 0 0 0 Nov29 ? 00:00:00 [ksoftirqd/0]
root 4 1 0 0 0 0 Nov29 ? 00:00:00 [watchdog/0]
root 5 1 0 0 0 1 Nov29 ? 00:00:00 [migration/1]
root 6 1 0 0 0 1 Nov29 ? 00:00:00 [ksoftirqd/1]
root 7 1 0 0 0 1 Nov29 ? 00:00:00 [watchdog/1]
SZ 进程用到的swap的量,这是一个粗略计算;
RSS 驻留内存大小
PSR 进程使用的处理器,在多处理器上可以体现出来,如下面的两个进程使用的不同的处理器(超线程的也算):
UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
root 1 0 0 508 684 1 Nov29 ? 00:00:00 init [5]
root 2 1 0 0 0 0 Nov29 ? 00:00:00 [migration/0]
-L用于显示线程(测试了一下, 在AIX下-L选项需要后跟PID才行。)
[root@supersun.biz ~]#ps -eLf
UID PID PPID LWP C NLWP STIME TTY TIME CMD
root 1 0 1 0 1 08:31 ? 00:00:00 init [5]
root 2 1 2 0 1 08:31 ? 00:00:00 [migration/0]
root 33 3 8 08:35 ? 00:04:50 /root/firefox/firefox-bin
root 71 0 8 08:36 ? 00:00:00 /root/firefox/firefox-bin
root 72 0 8 08:36 ? 00:00:01 /root/firefox/firefox-bin
root 77 0 8 08:36 ? 00:00:00 /root/firefox/firefox-bin
root 78 0 8 08:36 ? 00:00:00 /root/firefox/firefox-bin
root 79 0 8 08:36 ? 00:00:00 /root/firefox/firefox-bin
LWP light weight process ID 可以称其为线程ID。
NLWP 进程中的线程数number of lwps (threads) in the process。
显示进程树
[root@supersun.biz ~]#ps -ejH
PID PGID SID TTY TIME CMD
1 1 1 ? 00:00:00 init
2 1 1 ? 00:00:00 migration/0
3 1 1 ? 00:00:00 ksoftirqd/0
4 1 1 ? 00:00:00 watchdog/0
5 1 1 ? 00:00:00 events/0
6 1 1 ? 00:00:00 khelper
7 1 1 ? 00:00:00 kthread
10 1 1 ? 00:00:00 kblockd/0
11 1 1 ? 00:00:00 kacpid
86 1 1 ? 00:00:00 cqueue/0
89 1 1 ? 00:00:00 khubd
SID 即session ID
F即flag,其值有:
1 forked but didn't exec
4 used super-user privileges
S即STAT,其值有:
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.
对于BSD选项产生的值:
& 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
当然我们还可以定义ps的输出域,如:
[root@supersun ~]# ps -e -o pid
也可以指定多个域:
[root@supersun.biz ~]#ps -e -o pid,cmd
1 init [5]
2 [migration/0]
3 [ksoftirqd/0]
4 [watchdog/0]
5 [events/0]
6 [khelper]
需要注意的是在提定域输出的时使就不要使用-f等定义域输出的选项,这样会有冲突。
使用进程名对进程进行检索:
[root@supersun.biz ~]#ps -C syslogd -F
UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
424 632 0 08:32 ? 00:00:00 syslogd -m 0
对输出进行排序:
[root@supersun.biz ~]#ps -e -o pid,rss,pcpu,cmd --sort pcpu,rss
PID RSS %CPU CMD
2 0 0.0 [migration/0]
3 0 0.0 [ksoftirqd/0]
4 0 0.0 [watchdog/0]
0.2 stardict
.0 gnome-screensaver
2.2 /usr/libexec/wnck-applet --oaf-activate-iid=OAFIID:GNOME_Wncklet_Factory
.4 /usr/libexec/gnome-settings-daemon
2.5 metacity --sm-client-id=default1
.6 rdesktop -T192.168.1.177 - Terminal Server Client -usunchao -rsoundff -
3.1 gnome-terminal
4.3 /root/firefox/firefox-bin
因为输出太长,我截去了一些 ,还有与selinux有关的信息,检索一系列进程等等我就不再列举了,自己用到的时候看看手册吧。
作者:ixdba
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
以下是AIX手册中队-o选项、-L选项的说明:
Displays information in the format specified by the Format variable. Multiple field specifiers can be specified for
the Format variable. The Format variable is either a comma-separated list of field specifiers or a list of field
specifiers enclosed within a set of & & (double-quotation marks) and separated from one another by a comma or by one
or more spaces, or both.
Each field specifier has a default header. The default header can be overridden by appending an = (equal sign)
followed by the user-defined text for the header. The fields are written in the order specified on the command line in
column format. The field widths are specified by the system to be at least as wide as the default or user-defined
header text. If the header text is null, (such as if -o user= is specified), the field width is at least as wide as
the default header text. If all header fields are null, no header line is written.
The following field specifiers are recognized by the system:
Indicates the full command name being executed. All command-line arguments are included, though truncation may
occur. The default header for this field is COMMAND.
Indicates to which (if any) processor a process or kernel thread is bound. The default header for this field is
Indicates the workload managekment class assigned to the process. the default header for this field is CLASS.
Indicates the short name of the command being executed. Command-line arguments are not included. The default
header for this field is COMMAND.
Determines process scheduling priority. CPU utilization of process or thread, incremented each time the system
clock ticks and the process or thread is found to be running. The value is decayed by the scheduler by dividing
it by 2 once per second. For the sched_other policy, Large values indicate a CPU intensive process and result
in lower process priority whereas small values indicate an I/O intensive process and result in a more favorable
Indicates the elapsed time since the process started. The elapsed time is displayed in the following format:
[[ dd-]hh:]mm:ss
where dd specifies the number of days, hh specifies the number of hours, mm specifies the number of minutes,
and ss specifies the number of seconds. The default header for this field is ELAPSED.
Indicates the effective group ID of the process. The textual group ID is displayed. If the textual group ID
cannot be obtained, a decimal representation is used. The default header for this field is GROUP.
Indicates the decimal value of the process nice value. The default header for this field is NI.
-o Format (Continued)
Indicates the ratio of CPU time used to CPU time available, expressed as a percentage. The default header for
this field is %CPU.
Indicates the decimal value of the process group ID. The default header for this field is PGID.
Indicates the decimal value of the process ID. The default header for this field is PID.
Indicates the decimal value of the parent process ID. The default header for this field is PPID.
Indicates the real group ID of the process. The textual group ID is displayed. If the textual group ID cannot
be obtained, a decimal representation is used. The default header for this field is RGROUP.
Indicates the real user ID of the process. The textual user ID is displayed. If the textual user ID cannot be
obtained, a decimal representation is used. The default header for this field is RUSER.
Indicates the suspend count for a kernel thread. The default header for this field is SC.
Indicates the scheduling policy for a kernel thread. The default header for this field is SCH.
Indicates the Workload Manager application tag. The default header for this field is TAG. The tag is a
character string up to 30 characters long and may be truncated when displayed by ps. For processes that do not
set their tag, this field displays as a - (hyphen).
Total CPU time. Indicates the total accumulated CPU time for a single process. The default header for this
field is TCPU.
Total connect time. Indicates the total amount of time that a login session can be active. This is meaningful
only in the case of session leader processes. The default header for this field is TCTIME.
Total disk I/O. Indicates the total accumulated blocks of disk I/O for a single process. The default header for
this field is TDISKIO.
Indicates the WLM virtual memory limits. When this is used, a new header, VMSIZ is displayed. VMSIZ displays
the virtual memory used by the process. This value is displayed in 1 MB units.
-o Format (Continued)
Indicates the number of kernel threads owned by the process. The default header for this field is THCNT.
Indicates the following fields:
* User name (the uname field)
* Process and parent process IDs for processes (the pid and ppid fields)
* Kernel thread ID for threads (the tid field)
* The state of the process or kernel thread (the S field)
* The CPU utilization of the process or kernel thread (the C field)
* The priority of the process or kernel thread (the PRI field)
* The suspend count of the process or kernel thread (the scount field)
* The wait channel of the process or kernel thread (the WCHAN field)
* The flags of the process or kernel thread (the F field)
* The controlling terminal of the process (the tty field)
* The CPU to which the process or kernel thread is bound (the bnd field)
* The command being executed by the process (the comm field).
Threads are not actually displayed with the -o THREAD flag, unless the -m flag is also specified.
Indicates the thread ID of a kernel thread. The default header for this field is TID.
Indicates the cumulative CPU time since the process started. The time is displayed in the following format:
[ dd-]hh:mm:ss
where dd specifies the number of days, hh specifies the number of hours, mm specifies the number of minutes,
and ss specifies the number of seconds. The default header for this field is TIME.
Indicates the controlling terminal name of the process. The default header for this field is TT.
Indicates the effective user ID of the process. The textual user ID is displayed. If the textual user ID cannot
be obtained, a decimal representation is used. The default header for this field is USER.
Indicates, as a decimal integer, the size in kilobytes of the process in virtual memory. The default header for
this field is VSZ.
-o Format (Continued)
Otherwise, multiple fields in a specified format can be displayed by the Format variable, including field descriptors.
If field descriptors are used in the Format variable, it must be enclosed in double quotation marks (& &). The
following table shows how field descriptors correspond to field specifiers:
Field Field Default
Descriptors Specifiers Headers
%a args COMMAND
%c comm COMMAND
%t etime ELAPSED
%G group GROUP
%n nice NI
%C pcpu %CPU
%r pgid PGID
%p pid PID
%P ppid PPID
%g rgroup RGROUP
%u ruser RUSER
%x time TIME
%y tty TTY
%U user USER
%z vsz VSZ
-L pidlist
Generates a list of descendants of each and every pid that has been passed to it in the pidlist variable. The pidlist
variable is a list of comma-separated process IDs. The list of descendants from all of the given pid is printed in the
order in which they appear in the process table.
在linux操作系统中可以使用ps -eLf命令来查看线程信息:
下面的数据为db2数据库的db2sysc进程中所包括的线程:
192.168.100.228 [sde ~]$ ps -eLf |grep db2sysc|grep -v grep
C NLWP STIME TTY TIME CMDUID为User ID.PID为process id,进程标识符PPID为 parent process id,父进程标识符2,LWP为light weight process or thread, 轻量级进程,即线程标识符NLWP为,number of lwps(threads) in the process, 线程的数量C CPU利用率,以整数表示。
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场}

我要回帖

更多关于 www.44psps.com 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信