Tzafrir Cohen wrote:

> On Sun, 20 Jan 2002, Daniel Feiglin wrote:
> 
> 
>>Henry Ficher wrote:
>>
>>>Daniel Feiglin wrote:
>>>
>>>
>>>>I looked at anthing even faintly resemmbling a log file unde /var/log.
>>>>It there somewhere else?
>>>>
>>>Check also~/.xsession-errors? That's where KDE and everything else
>>>under XFree86 write debugging info and errors.
>>>
>>Izat so? Under SuSE 7.3 there aint no such thing. Do you need to set something
>>or other in startx or .xinitrc to make it happen? (I'm concurrently doing some
>>RTFM on this, but there is a **lot** of FR to R.)
>>
> 
> Why not simply pick a certain process and see to which file its '1' and
> '2' file descriptors are going?
> 
>   /proc/<process ID>/fd/[12]


For example, kdeinit 1 & 2 got to  ... pipes!


> 
> Note that the X server itself (the process called 'X' probably, and run by
> root) may have a different destination to its output.


X server: 1 -> a socket, 2 -> a pipe.

I guess the next question is: Which process is using pipe number n or socket 
number m. Is there some kind of simple inverse ps that does it? netstat -pa goes 
part of the way ...


> 
> 

We're missing something.

DAF




=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to