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.77 by valya, Wed Mar 4 20:05:12 2009 UTC vs.
Revision 1.78 by valya, Wed Mar 4 21:43:33 2009 UTC

# Line 61 | Line 61 | function dbs_stop()
61   {
62      me=\`whoami\`
63      echo $"Stop mysqld|tomcat running under \$me account..."
64    \$MYSQL_ROOT/bin/mysqladmin -uroot -pcms --socket=\$MYSQL_SOCK --port=\$MYSQL_PORT shutdown
64      ps -w -w -f -u\$me | grep mysqld | grep \$MYSQL_PORT | grep -v grep | awk '{print "kill -9 "\$2""}'|/bin/sh
65 <    killall -q tomcat
65 >    ps -w -w -f -u\$me | grep tomcat | grep -v grep | awk '{print "kill -9 "\$2""}'|/bin/sh
66   }
67   function dbs_start()
68   {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines