[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: /proc/$PID/environ and /proc/$PID/cmdline



Dawid Gajownik writes:

Hi!
	Is that normal, that some processes can have strange values in
/proc/$PID/environ and /proc/$PID/cmdline files? Here's the example:

[y4kk0 X ~]$ cat /proc/2089/environ

Individual environment variables and command line parameters are delimited by null bytes, not newline characters.

You can't just "cat" them.

Attachment: pgpKTj13UURQn.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]