Re: /proc/<pid>/cmdline

Randy Scott (scottr@belle.bork.com)
Wed, 10 Jul 1996 22:48:36 -0500


In article <4s1aso$em6@belle.bork.com> you 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?

If you look more closely (like with hexdump or od), you will see that
the command line options are separated by NULL (0) characters.