[systemd-devel] List of unit states.

dE de.techno at gmail.com
Tue Jan 6 21:04:44 PST 2015


On 01/06/15 11:58, Andrei Borzenkov wrote:
> В 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.

Ok, thanks for the info.


More information about the systemd-devel mailing list