Linux Today: Linux News On Internet Time.





More on LinuxToday


Tip of the Trade: Proc and Processes

Nov 12, 2008, 19:34 (0 Talkback[s])
(Other stories by Juliet Kemp)

"Look at the contents of that directory. The file cmdline tells you what command was used to launch this process. This can be useful if the problem you have is launch-related. You'll be warned that this might be binary, but it's mostly text and easy to read. environ, similarly, gives you the command environment, which is also useful for troubleshooting (try starting the process on another machine and comparing the files); and the fd directory allows you to check what the process is accessing."

Complete Story

Related Stories: