Re: /proc/<pid>/cmdline

Randy Scott (
Wed, 10 Jul 1996 22:48:36 -0500

In article <4s1aso$> 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.