On Sat, Oct 26, 2013 at 11:02:13PM +0100, Simon McVittie wrote: > # systemd units on my laptop that are generated internally by systemd > # when it reads a sysvinit script (or "LSB init script" as it > # calls them) > % systemctl list-units | grep LSB | wc -l That's only currently loaded units, i.e. probably the ones which are/were running, without --all.
> # systemd units on my laptop that are really systemd units, > # only counting ".service" files (its closest equivalent of init > # scripts) and not counting systemd's equivalents of the initscripts > # package, or daemons from src:systemd > % systemctl list-units | grep -v 'LSB\|systemd-' | grep '\.service' | wc -l > 28 Also it's better to say systemctl list-units -t service --no-legend --all then grep by type. Yours nitpicky, Zbyszek -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20131026233712.gm28...@in.waw.pl