[lkml]   [1996]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: /proc/<pid>/cmdline
    On Wed, 10 Jul 1996, Mr A.M. Kruczkowski 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?

    The 'spaces' between args are not missing, they are '\0'. Do a

    # cat /proc/<pid>/cmdline | tr '\0' ' '

    and the 'spaces' are visible ;-)


     \ /
      Last update: 2005-03-22 13:38    [W:0.015 / U:2.320 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site