13 lines
421 B
Ruby
Executable file
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")
|
|
|