When I look for systemd job timing I get a lot of docks about timers which isn't what I'm looking for. How would I time the length of execution of a systemctl start xyz job

    You can use the time command.

    In your case:

    time systemctl start xyz
    • I don't believe this works. For long running commands, it will return immediately. Status will show it is actively running as background process. Probably I have to do some jounalctl -u xyz.service but I don't know what command to get the timing on the last run– Jazz ManJan 14 at 3:12
    • It works under systemd's definition of a "job" (where a job may be e.g. "start unit xyz.service"), your definition is just different from that.– grawityJan 14 at 9:09

    Your Answer


    By posting your answer, you agree to the privacy policy and terms of service.

    Not the answer you're looking for? Browse other questions tagged or ask your own question.