开发者

PS command to get memory, user, process info on IBM AIX and SunOS Solaris

开发者 https://www.devze.com 2023-01-05 05:43 出处:网络
I am looking for best PS command to get as much info as possible, mainly memory info like SZ, RSS with userid, pid, complete command/process.

I am looking for best PS command to get as much info as possible, mainly memory info like SZ, RSS with userid, pid, complete command/process.

I have two servers IBM AIX and SunOS solaris. I am OK to have two different commands for two servers.

I have tried "ps v", "ps al", "ps aux" on AIX, but looking for command开发者_如何转开发 that gives more info than these commands.


For a full command line you have to use the ucb (Berkely) version of ps - /usr/ucb/ps on Solaris. ps -w does that Most distributions of Solaris (>=8) don't always seem to have a manpage for it so try here. If you have it is man -s 1B ps:

http://docs.oracle.com/cd/E19683-01/816-0210/6m6nb7mif/index.html

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号