I am trying to invoke
ps -o comm:1024 --pid 1391 --cols 1024 -w in the hope of getting the full process name (and only that), but I always end up with this
while the process name is instead notification-area-applet. I also tried all combinations of -w, --cols and : formatter. cmd and args give the full path and arguments of the process. I might be able to get the process name from these, but still...