Get the invocation of a process without using /proc/pid/cmdline or ps