Re: /proc/<pid>/cmdline
Bernd Eckenfels (ecki@tapac.inka.de)
10 Jul 1996 22:44:23 GMT
Mr A.M. (a.kruczkowski@ic.ac.uk) 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
Greeting
Bernd
--
(OO) -- Bernd_Eckenfels@Wittumstrasse13.76646Bruchsal.de --
( .. ) ecki@lina.{inka.de,ka.sub.org} http://home.pages.de/~eckes/
o--o *plush* 2048/93600EFD eckes@irc +4972573817 *plush*
(O____O) If privacy is outlawed only Outlaws have privacy