Re: /proc/<pid>/cmdline

Kai Schulte (sp0005@aixrs1.hrz.uni-essen.de)
Fri, 12 Jul 1996 20:06:30 +0200 (MESZ)


On Thu, 11 Jul 1996, Jason Tyler wrote:

> ~; cat /proc/248/cmdline | cat -v
> xterm^@-ls^@-sl^@500^@-font^@7x13^@-sb^@-bg^@black^@-fg^@white
>
> The obvious 'cat -v /proc/248/cmdline' doesn't work, not for me at
> least -- anyone know why?

cat -v works directly on proc here with

cat from GNU fileutils 1.9 a.out, libc 4.6.27, linux-2.0.5
cat from GNU fileutils 1.14 a.out, libc 4.6.27, linux-2.0.5
cat from GNU fileutils 1.9 elf, libc 5.2.18, linux-2.0.4

Hard to find out where things changed without being able to reproduce this
behaviour... maybe you have more recent libs?

Kai