aboutsummaryrefslogtreecommitdiff
path: root/whatmaps/systemd.py
Commit message (Collapse)AuthorAge
* systemd: Shorten error message if proess is from a user sessionGuido Günther2016-04-08
| | | | | | | | | | | | | | | | No need to print the whole process tree which so far looked like WARNING: No systemd unit found for '/bin/bash': Can't parse service name from ● session-8762.scope - Session 8762 of user root Loaded: loaded Drop-In: /run/systemd/system/session-8762.scope.d └─50-After-systemd-logind\x2eservice.conf, 50-After-systemd-user-sessions\x2eservice.conf, 50-Description.conf, 50-SendSIGHUP.conf, 50-Slice.conf Active: active (running) since Thu 2016-04-07 20:53:52 CEST; 19min ago CGroup: /user.slice/user-0.slice/session-8762.scope ├─21150 sshd: root@pts/0 ├─21155 -bash ├─23956 /usr/bin/python /usr/bin/whatmaps --debug libc6 └─23962 systemctl status 21155
* The usual 2to3 string encoding madnessGuido Günther2016-02-24
|
* Don't print overly long error message In the systemd caseGuido Günther2015-06-29
| | | | | So far we dumped the whole output of the status command. Only dump the pats we actually looked at.
* Fix service name parsing for systemd >= 215Guido Günther2014-12-28
| | | | | | | | | | | Newer systemd put a colored bullet point '●' in front of the service name output: # sudo systemctl status 971 ● libvirtd.service - Virtualization daemon ... Skip that.
* Add systemd supportGuido Günther2014-07-11