Module: Diskmon::Server

Defined in:
lib/diskmon/client/raidcontroller.rb

Overview

Server

Class Method Summary collapse

Class Method Details

.get_idObject

def get_id

Socket.gethostname.downcase

end


225
226
227
# File 'lib/diskmon/client/raidcontroller.rb', line 225

def self.get_id
  `/usr/sbin/zlogin df-storage hostname`.chomp
end