Class: Commandline

Inherits:
Thor
  • Object
show all
Defined in:
lib/barrage/commandline.rb

Constant Summary collapse

@@dstat_pid =
0
@@unique_id =
""
@@dstat_file =
""
@@image_file =
""

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.dstat_fileObject



18
19
20
# File 'lib/barrage/commandline.rb', line 18

def self.dstat_file
  @@dstat_file
end

.dstat_pidObject



8
9
10
# File 'lib/barrage/commandline.rb', line 8

def self.dstat_pid
  @@dstat_pid
end

.image_fileObject



23
24
25
# File 'lib/barrage/commandline.rb', line 23

def self.image_file
  @@image_file
end

.unique_idObject



13
14
15
# File 'lib/barrage/commandline.rb', line 13

def self.unique_id
  @@unique_id
end

Instance Method Details

#captureObject



28
29
30
# File 'lib/barrage/commandline.rb', line 28

def capture
  dstat
end