[systemd-devel] When service consumption cpu time message will be at the journal?

Michal Koutný mkoutny at suse.com
Wed Jun 21 17:13:28 UTC 2023


Hi.

On Tue, Jun 20, 2023 at 06:13:01PM +0000, u34 at net9.cf wrote:
> I have timers to run user, and system, services.
> Usually, but not always, the journal has a 
> 
>     systemd[1]: NAME.service: Consumed DURATION CPU time.
> 
> as the last message for each activation of a service. I wonder whether it 
> is expected that sometimes there is no such message.

The message presence/absence should be deterministic.

> I can not predict, or characterise, when such message will not be
> given, other than saying I suspect the user service is more likely to
> not have such a message.

What do you mean by "user service"? (Service with User=, user at .service,
a service of user systemd instance or ...)

Do you observe any other anomalies correlated with missing consumption
message too?

Thanks,
Michal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20230621/b2093a18/attachment.sig>


More information about the systemd-devel mailing list