亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 4017 | 回復(fù): 2
打印 上一主題 下一主題

[SCO UNIX] 請教一個關(guān)于memory leak的問題 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2007-11-09 15:41 |只看該作者 |倒序?yàn)g覽
20可用積分
SCO上用那個命令可以看到進(jìn)程內(nèi)存是否增長,類似AIX上用ps gl命令可以觀察SZ、RSS兩列的數(shù)據(jù)。

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2007-11-09 16:46 |只看該作者
不知道sar是否可以

論壇徽章:
0
3 [報(bào)告]
發(fā)表于 2007-11-14 13:58 |只看該作者
原帖由 saintdragon 于 2007-11-9 16:46 發(fā)表
不知道sar是否可以

用sar不行。sco下的ps -o也能顯示進(jìn)程的內(nèi)存使用情況。具體的用法man ps。

-o format
List process data in the specified format. Multiple -o options can be specified on the command line.
format is a comma or whitespace separated list of field names; the list must be placed in quotation marks if whitespace separation is used. ps displays the fields in the order specified on the command line.

You can override the default header for a field by appending a ``='' and the new header text to the field name:

-o field=header

If the header text contains whitespace, enclose the entire field=header string in quotation marks and specify it using a separate -o option:

-o "field=header"

You can prevent a header from being displayed for an individual field by not specifying it after the ``=''. If all field names have a single ``='' appended but no header text, no header line is displayed at all.

ps changes the field width from its default value to match the width of the specified header text.

Allowed field names follow (default headers are shown in parentheses):


pid
Process ID as a decimal value. (PID)

ppid
Parent process ID as a decimal value. (PPID)

pgid
Process group ID as a decimal value. (PGID)

uid
Real user ID of the process as a decimal value. (UID)

user
The effective user ID of the process. (USER)

ruser
Real user ID of the process. (RUSER)

comm
Command name; may contain spaces. (COMMAND)

args
Command name with its arguments; may contain spaces and may be truncated to fit the width of the field. (COMMAND)

group
Effective group ID of the process. (GROUP)

rgroup
Real group ID of the process. (RGROUP)

nice
nice value of the process; see nice(C) and renice(C). (NI)

pri
Priority value of the process. (PRI)

pcpu
Percentage of CPU time recently used by the process. (%CPU)

sess
Process session leader ID as a decimal value. (SESSION)

size
Size of the swappable image of the process (data and stack) in kilobytes. (SZ)

vsz
Virtual memory size of the process in kilobytes. (VSZ)

addr
Virtual address of the process' entry in the process table. (ADDR)

class
Scheduler class of the process. (CLASS)

time
Cumulative CPU time used by the process. (TIME)

stime
Time when the process started. (STIME)

etime
Time elapsed since the process started. (ELAPSED)

tty
Name of the controlling terminal for the process. (TTY)

wchan
Address of an event for which a process is sleeping. (WCHAN)
For fields user, ruser, group, and rgroup, ps displays the user or group name if it can be obtained and it will fit in the field. Otherwise it displays the decimal value of the ID.
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP