Re: Should i be worried about this?

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

 



Mike McCarty wrote:

For example, on my machine I just did this:

$ ps
  PID TTY          TIME CMD
 6022 pts/3    00:00:00 bash
 6085 pts/3    00:00:03 xcdroast
 6229 pts/3    00:00:00 ps
$ cat /proc/6022/cmdline
bash$

TRIVIA:

Since the contents of "cmdline" are null separated, the best way to examine those files is probably:

tr '\0' ' ' < /proc/<pid>/cmdline ; echo

"tr" will convert the 0 bytes to space characters, which will allow you to see the arguments better.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux