lkml.org 
[lkml]   [1996]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    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 ;-)

    Hans
    <lermen@fgan.de>




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