现在只是显示一段就没有了,被裁掉了一部分。
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
评论
YuLimin 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>]
YuLimin 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
iunknown 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的头像很像读书时军训的教官,
YuLimin
  • 浏览: 581399 次
  • 性别: Icon_minigender_1
  • 来自: 福建莆田@广州
  • 详细资料
搜索本博客
我的相册
7b3cc362-5ffb-3f8e-bf39-9e153e30ca74-thumb
力拔千斤
共 146 张
存档
最新评论