On Sun, 21.04.13 16:04, Reindl Harald (h.rei...@thelounge.net) wrote:

> why is the Main PID process below truncated?

>  Main PID: 65508 (/usr/sbin/postg)

because that is the "comm" process name of the process, i.e. the name
"top" shows, rather than the name "ps" shows. The "comm" name is
maintained by the kernel and the kernel limits it to 16chars max.

Usually, the "comm" name does not contain slashes, though. Your daemon
probably changes it via PR_SET_NAME, and does this incorrectly and
doesn't chop off the path before doing this. Also see prctl(2) for more
information.

Long story short: it's not systemd that truncates this, it's the kernel.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to