Re: /proc/<pid>/cmdline

Bernd Eckenfels (
10 Jul 1996 22:44:23 GMT

Mr A.M. ( wrote:
: A brief observation that on my system, cat of /proc/<pid>/cmdline gives
: the cmdline minus spaces between the arguments. Is this correct,
: is my system in need of an upgrade somewhere, or is it an error?
There are NULLs, you can use

xargs -n 1 -0 echo < /proc/XXX/cmdline


  (OO)      -- --
 ( .. )  ecki@lina.{,}
  o--o     *plush*  2048/93600EFD  eckes@irc  +4972573817  *plush*
(O____O)       If privacy is outlawed only Outlaws have privacy