Module: Systemd

Defined in:
lib/systemd.rb,
lib/systemd/id128.rb,
lib/systemd/journal.rb,
lib/systemd/journal/flags.rb,
lib/systemd/journal_entry.rb,
lib/systemd/journal_error.rb,
lib/systemd/journal/fields.rb,
lib/systemd/journal/native.rb,
lib/systemd/journal/version.rb,
lib/systemd/journal/waitable.rb,
lib/systemd/journal/writable.rb,
lib/systemd/journal/navigable.rb,
lib/systemd/journal/filterable.rb,
ext/shim/shim.c

Defined Under Namespace

Modules: Id128 Classes: Journal, JournalEntry, JournalError

Class Method Summary collapse

Class Method Details

.boot_idObject



10
11
12
# File 'lib/systemd.rb', line 10

def self.boot_id
  Systemd::Id128.boot_id
end

.machine_idObject



5
6
7
# File 'lib/systemd.rb', line 5

def self.machine_id
  Systemd::Id128.machine_id
end