[clug] systemd question

Chris Smart clug at csmart.io
Mon Jul 13 23:02:47 UTC 2020


On Mon, 13 Jul 2020, at 22:50, Brenton Ross via linux wrote:
> On Mon, 2020-07-06 at 09:07 +0300, Adrian Blake via linux wrote:
> > Hi,
> > I have latest Ubuntu. Why would systemd have large disk reads ...
> > 300Mb
> > within 2 minutes of startup  and then more.
> > 
> > Adrian
> > 
> It might just be the shared libraries it loads, plus the data files
> that it uses so it knows what to do.
> 
> Typically one uses strace to answer this sort of question but I am at a
> loss to see how that could be done for the init process.
> 

Might be able to see what's currently using I/O (and CPU and RAM) with systemd-cgtop (-i sorts by I/O):

$ sudo systemd-cgtop -i

And if something's taking a while on boot, might be able to see it with systemd-analyze:

$ sudo systemd-analyze plot > /tmp/systemd-dump.svg

-c



More information about the linux mailing list