[GoLUG] Graphical output on xterm
Ron
admin at bclug.ca
Fri Feb 28 05:24:59 EST 2025
Kyle Terrien wrote on 2025-02-27 23:58:
> I suppose there must be a way to convert SVG, or maybe ditch the
> SVG step entirely and output raw vector Tektronix codes.
> (systemd-analyze plot should implement this.)
I'd suggest plot should implement SVG, not systemd implement Tektronix.
It being 2025 and all.
But, this was the first thing I thought of - `systemd-analyze plot` to
get an SVG of the boot processes and display it in xterm.
Really unfortunate that SVG isn't supported; alas, it kind of inhibits
the usefulness.
```
systemd-analyze plot
This command prints either an SVG graphic, detailing which system
services have been started at what time, highlighting the time
they spent on initialization, or the raw time data in JSON or table
format.
Example 5. Plot a bootchart
$ systemd-analyze plot >bootup.svg
```
Getting JSON is nice:
systemd-analyze plot --json=pretty
Or a table:
systemd-analyze plot --table
More information about the GoLUG
mailing list