WEB开发网
开发学院操作系统Linux/Unix solaris系统用ps命令查看进程占用的CPU、内存等情... 阅读

solaris系统用ps命令查看进程占用的CPU、内存等情况

 2013-07-14 20:12:03 来源:WEB开发网   
核心提示:[dd-]hh:mm:ssThe dd, hh, mm, and ss fields will be as described in the etime specifier.tty The name of the controlling terminal of the proces


[dd-]hh:mm:ss


The dd, hh, mm, and ss fields will be as described in the etime specifier.


tty The name of the controlling terminal of the process (if any) in the same format used by
the who(1) command.


comm The name of the command being executed (argv[0] value) as a string.


args The command with all its arguments as a string. The implementation may truncate this
value to the field width; it is implementation-dependent whether any further
truncation occurs. It is unspecified whether the string represented is a version of the
argument list as it was passed to the command when it started, or is a version of the
arguments as they may have been modified by the application. Applications cannot depend
on being able to modify their argument list and having that modification be reflected in
the output of ps. The Solaris implementation limits the string to 80 bytes; the string is the version of the argument list as it was passed to the command when it started.


The following names are recognized in the Solaris implemen-
tation:


f Flags (hexadecimal and additive) associated with the process.


s The state of the process.


c Processor utilization for scheduling (obsolete).


uid The effective user ID number of the process as a decimal integer.


ruid The real user ID number of the process as a decimal integer.


gid The effective group ID number of the process as a decimal integer.


SunOS 5.10 Last change: 5 Jun 2006 10


User Commands ps(1)


rgid The real group ID number of the process as a decimal integer.


projid The project ID number of the process as a decimal integer.


project The project ID of the process as a textual value if that value can be obtained; other-
wise, as a decimal integer.


zoneid The zone ID number of the process as a decimal integer.


zone The zone ID of the process as a textual value if that value can be obtained; other-
wise, as a decimal integer.


sid The process ID of the session leader.


taskid The task ID of the process.


class The scheduling class of the process.


pri The priority of the process. Higher numbers mean higher priority.


opri The obsolete priority of the process. Lower numbers mean higher priority.


lwp The decimal value of the lwp ID. Requesting this formatting option causes one line to be
printed for each lwp in the process.


nlwp The number of lwps in the process.

Tags:solaris ps 命令

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接