4 ms·
What does binary size look like, and has it grown to match?
by kzrdude 7y ago
What does binary size look like, and has it grown to match?
- MegaDeKay 7y agoKinda rough and probably missing some stuff, but... [megadekay@ryzen ~]$ du -h /usr/bin/systemd* 1.5M /usr/bin/systemd-analyze 16K /usr/bin/systemd-ask-password 20K /usr/bin/systemd-cat 20K /usr/bin/systemd-cgls 36K /usr/bin/systemd-cgtop 24K /usr/bin/systemd-delta 20K /usr/bin/systemd-detect-virt 20K /usr/bin/systemd-escape 40K /usr/bin/systemd-firstboot 16K /usr/bin/systemd-hwdb 20K /usr/bin/systemd-id128 20K /usr/bin/systemd-inhibit 24K /usr/bin/systemd-machine-id-setup 48K /usr/bin/systemd-mount 20K /usr/bin/systemd-notify 312K /usr/bin/systemd-nspawn 20K /usr/bin/systemd-path 0 /usr/bin/systemd-resolve 56K /usr/bin/systemd-run 28K /usr/bin/systemd-socket-activate 20K /usr/bin/systemd-stdio-bridge 52K /usr/bin/systemd-sysusers 84K /usr/bin/systemd-tmpfiles 28K /usr/bin/systemd-tty-ask-password-agent 0 /usr/bin/systemd-umount
- majewsky 7y agoYou're missing the most significant one, PID 1 itself: $ du -hs /usr/lib/systemd/systemd 1,5M /usr/lib/systemd/systemd And there's plenty more in /usr/lib/systemd (basically all the binaries that are not supposed to be in $PATH).
- tpmx 7y agoTo add to the list: What shared libraries (.so) do these executables require? When trying to minimize the footprint of something, I often find that this is where the bulk is hiding.