Method: Systemd::JournalEntry#monotonic_timestamp
- Defined in:
- lib/systemd/journal_entry.rb
#monotonic_timestamp ⇒ Time
Returns the monotonic time (time since boot) that this entry was received by the journal. This should be associated with a boot_id.
37 38 39 40 |
# File 'lib/systemd/journal_entry.rb', line 37 def return nil unless @ctx.key?(:monotonic_ts) ||= Time.at(0, @ctx[:monotonic_ts].first) end |