vivo/legacy/utilities/LoadTesting/scripts/_checkTomcat
2015-11-19 23:47:41 +00:00

13 lines
421 B
Ruby
Executable file

#! /usr/bin/ruby
=begin
--------------------------------------------------------------------------------
See whether our Tomcat is running (not the Tomcat that runs the national index).
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
=end
puts system("ps -ef | grep tomcat | grep -v usr/local/tomcat")