Ticket #26040: patch-client-hobbitclient-darwin.sh.diff
File patch-client-hobbitclient-darwin.sh.diff, 580 bytes (added by fclaire@…, 14 years ago) |
---|
-
client/hobbitclient-darwin.sh
old new 44 44 ps -ax -ww -o pid,ppid,user,start,state,pri,pcpu,time,pmem,rss,vsz,command 45 45 46 46 # $TOP must be set, the install utility should do that for us if it exists. 47 if test "$TOP" != "" 47 if test "$TOP" != "" -a "$AWK" != "" 48 48 then 49 if test -x "$TOP" 49 if test -x "$TOP" -a -x "$AWK" 50 50 then 51 51 echo "[top]" 52 $TOP -l 1 -n 2052 $TOP -l 2 -n 20 -o cpu | $AWK '/^Processes:/ {toprun++} toprun == 2' 53 53 fi 54 54 fi 55 55