vi /root/serverkaiji.sh #!/bin/bash ls /tlvnksc/ | egrep -v "^c|^f" > /root/service.list for name in $(more /root/service.list) do workhome=/tlvnksc/${name}/ workjar=${workhome}${name}.jar nohup java -jar ${workjar} > ${workhome}spring.log
IF EXISTS (SELECT * FROM sysobjects WHERE [name] = 'sp_Lock_Scan') DROP PROCEDURE sp_Lock_Scan GO CREATE PROCEDURE sp_Lock_Scan AS DECLARE @SPID INT DECLARE @BLK INT DECLARE @Count INT DECLARE @Counter INT DECLARE @LOCK BIT CREATE TABLE #Temp ( [Id]