浏览 4876 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2007-05-15
ps -ef | grep username 典型的WebLogic启动后,显示不全,如下 username 14035 14034 0 10:57:38 pts/3 0:00 /bin/sh /export/home/user_project/domains/myserver/bin/startWebLogic.s 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
发表时间:2007-05-15
man ps STANDARD FORMAT SPECIFIERS These may be used to control both output format and sorting. For example: ps -eo pid,user,args --sort user CODE HEADER %cpu %CPU %mem %MEM alarm ALARM args COMMAND btw:LZ的头像很像读书时军训的教官, |
|
返回顶楼 | |
发表时间:2007-05-15
环境再说明一下,Solaris 9,bash 2.0.5
bash-2.05$ more /etc/release Solaris 9 9/04 s9s_u7wos_09 SPARC Copyright 2004 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 29 June 2004 |
|
返回顶楼 | |
发表时间:2007-05-16
Solaris 10 bash 3.0一样没有
bash-3.00$ more /etc/release Solaris 10 6/06 s10s_u2wos_09a SPARC Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 09 June 2006 这个问题有两种方式解决方案 1、/usr/ucb/ps -auwxx 2、JDK 5.0及以上的 jps 命令 jps -lv usage: jps [-help] jps [-q] [-mlvV] [<hostid>] Definitions: <hostid>: <hostname>[:<port>] |
|
返回顶楼 | |