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


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.053 / U:0.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site