[systemd-devel] Show library status

Thomas Meyer thomas at m3y3r.de
Mon Jan 2 11:11:38 PST 2012


Hello,

is there an option to show the service units with changed/deleted on disk libraries?

something like "sudo grep deleted /proc/*/maps | sort -t / -k 1,3 -u"
for systemctl? (btw. is this the best/correct way of detecting this,
i.e. grep for "deleted" in all /proc/*/maps files?)

$ systemctl show-changed
dbus.service
[...]

and

$ systemctl status dbus.service
dbus.service - D-Bus System Message Bus
	  Loaded: loaded (/lib/systemd/system/dbus.service; static)
	  Active: active (running) since Tue, 27 Dec 2011 20:52:29 +0100; 5 days ago
	Main PID: 611 (dbus-daemon)
	  CGroup: name=systemd:/system/dbus.service
		  ├  611 /bin/dbus-daemon --system --address=systemd: --nofork --systemd-activation
		  ├  672 /usr/libexec/polkit-1/polkitd --no-debug
		  ├  715 /usr/sbin/modem-manager *(changed)*
		  ├  759 /usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -B -u -f /var/log/...
		  ├  894 /usr/libexec/upowerd
		  ├ 1126 /usr/libexec/packagekitd
		  ├ 1224 /usr/libexec/udisks-daemon --no-debug
		  ├ 1226 udisks-daemon: not polling any devices
		  └ 1467 /usr/libexec/colord

kind regards
thomas





More information about the systemd-devel mailing list