[systemd-devel] List of unit states.

Andrei Borzenkov arvidjaar at gmail.com
Mon Jan 5 22:28:20 PST 2015


В Tue, 06 Jan 2015 10:52:17 +0530
dE <de.techno at gmail.com> пишет:

> Hi.
> 
> I dont have a better term.
> 
> When you look at the status of a unit or check the output of list-units, 
> there's a  'load/loaded' column/field also there's an active field/column.
> 
> What do these mean? I suspect load/loaded states weather they've been 
> enabled at startup and active should show if they're running or not.
> 

LOAD tells whether unit definition was seen. Units can be incomplete
when they are referred to by other units. E.g. After=foo.service when
foo.service itself does not exist. In this case systemd creates stub
for foo.service and its LOAD state would be not-found. 

ACTIVE tells current running state - whether it is stopped, started,
failed etc.

SUB is unit-type specific qualifier (or explanation) of active state
which hopefully makes it more clear what "active" means (mounted,
running etc). 

I do not think there is exhaustive list somewhere beyond sources.


More information about the systemd-devel mailing list