ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/dbs-server.spec
(Generate patch)

Comparing COMP/CMSDIST/dbs-server.spec (file contents):
Revision 1.26 by valya, Tue Feb 5 21:16:30 2008 UTC vs.
Revision 1.27 by valya, Tue Feb 5 22:00:01 2008 UTC

# Line 63 | Line 63 | MYSQL_ERR=\$MYSQL_PATH/error.log
63  
64   function dbs_stop()
65   {
66 <    echo $"Stop mysqld|tomcat running under `whoami` account..."
67 <    ps -w -w -f -u`whoami` | egrep "mysqld|tomcat" | grep -v egrep | awk '{print "kill -9 "\$2""}'|/bin/sh
66 >    me=\`whoami\`
67 >    echo $"Stop mysqld|tomcat running under \$me account..."
68 >    ps -w -w -f -u\$me | egrep "mysqld|tomcat" | grep -v egrep | awk '{print "kill -9 "\$2""}'|/bin/sh
69   }
70   function dbs_start()
71   {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines