Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   org.freedesktop.systemd1    ( 5 )

интерфейс D-Bus системы systemd (The D-Bus interface of systemd)

TIMER UNIT OBJECTS

All timer unit objects implement the
       org.freedesktop.systemd1.Timer interface (described here) in
       addition to the generic org.freedesktop.systemd1.Unit interface
       (see above).

node /org/freedesktop/systemd1/unit/systemd_2dtmpfiles_2dclean_2etimer { interface org.freedesktop.systemd1.Timer { properties: @org.freedesktop.DBus.Property.EmitsChangedSignal("const") readonly s Unit = '...'; @org.freedesktop.DBus.Property.EmitsChangedSignal("invalidates") readonly a(stt) TimersMonotonic = [...]; @org.freedesktop.DBus.Property.EmitsChangedSignal("invalidates") readonly a(sst) TimersCalendar = [...]; @org.freedesktop.DBus.Property.EmitsChangedSignal("const") readonly b OnClockChange = ...; @org.freedesktop.DBus.Property.EmitsChangedSignal("const") readonly b OnTimezoneChange = ...; readonly t NextElapseUSecRealtime = ...; readonly t NextElapseUSecMonotonic = ...; readonly t LastTriggerUSec = ...; readonly t LastTriggerUSecMonotonic = ...; readonly s Result = '...'; @org.freedesktop.DBus.Property.EmitsChangedSignal("const") readonly t AccuracyUSec = ...; @org.freedesktop.DBus.Property.EmitsChangedSignal("const") readonly t RandomizedDelayUSec = ...; @org.freedesktop.DBus.Property.EmitsChangedSignal("const") readonly b FixedRandomDelay = ...; @org.freedesktop.DBus.Property.EmitsChangedSignal("const") readonly b Persistent = ...; @org.freedesktop.DBus.Property.EmitsChangedSignal("const") readonly b WakeSystem = ...; @org.freedesktop.DBus.Property.EmitsChangedSignal("const") readonly b RemainAfterElapse = ...; }; interface org.freedesktop.DBus.Peer { ... }; interface org.freedesktop.DBus.Introspectable { ... }; interface org.freedesktop.DBus.Properties { ... }; interface org.freedesktop.systemd1.Unit { ... }; };

Properties Unit contains the name of the unit to activate when the timer elapses.

TimersMonotonic contains an array of structs that contain information about all monotonic timers of this timer unit. The structs contain a string identifying the timer base, which is one of "OnActiveUSec", "OnBootUSec", "OnStartupUSec", "OnUnitActiveUSec", or "OnUnitInactiveUSec" which correspond to the settings of the same names in the timer unit files; the microsecond offset from this timer base in monotonic time; the next elapsation point on the CLOCK_MONOTONIC clock, relative to its epoch.

TimersCalendar contains an array of structs that contain information about all realtime/calendar timers of this timer unit. The structs contain a string identifying the timer base, which may only be "OnCalendar" for now; the calendar specification string; the next elapsation point on the CLOCK_REALTIME clock, relative to its epoch.

NextElapseUSecRealtime contains the next elapsation point on the CLOCK_REALTIME clock in miscroseconds since the epoch, or 0 if this timer event does not include at least one calendar event.

Similarly, NextElapseUSecMonotonic contains the next elapsation point on the CLOCK_MONOTONIC clock in microseconds since the epoch, or 0 if this timer event does not include at least one monotonic event.

Result knows the values "success" and "resources" with the same meanings as the matching values of the corresponding property of the service interface.