Class: SwissAdmin::Commands::Host

Inherits:
Thor
  • Object
show all
Defined in:
lib/swiss_admin/cli/host_cli.rb

Instance Method Summary collapse

Instance Method Details

#loadavgObject



13
14
15
# File 'lib/swiss_admin/cli/host_cli.rb', line 13

def loadavg
  $stdout.puts SwissAdmin::Host.loadavg
end

#nameObject



8
9
10
# File 'lib/swiss_admin/cli/host_cli.rb', line 8

def name
  $stdout.puts SwissAdmin::Host.name
end