jdk/test/com/sun/jdi/ShellScaffold.sh
changeset 4153 c019b5df1bf5
parent 3954 19ed60dbd0b7
child 4325 38a035021ba1
equal deleted inserted replaced
4152:bc36a9f01ac6 4153:c019b5df1bf5
   305              # 2) OpenSolaris does not provide /usr/ucb/ps, so use pgrep
   305              # 2) OpenSolaris does not provide /usr/ucb/ps, so use pgrep
   306              #    instead
   306              #    instead
   307              #The alternative would be to use /usr/bin/pargs [pid] to get
   307              #The alternative would be to use /usr/bin/pargs [pid] to get
   308              #all the args for a process, splice them back into one
   308              #all the args for a process, splice them back into one
   309              #long string, then grep.
   309              #long string, then grep.
   310              UU=`/usr/bin/id -un`
   310              UU=`/usr/xpg4/bin/id -u -n`
   311              psCmd="pgrep -f -l -U $UU"
   311              psCmd="pgrep -f -l -U $UU"
   312          else
   312          else
   313              ulimit -c 0
   313              ulimit -c 0
   314              # See bug 6238593.
   314              # See bug 6238593.
   315              psCmd="ps axwww"
   315              psCmd="ps axwww"