> 
> My original message is below, but I still haven't found out how to
> do it, though there is at least one other person who is interested
> in getting information back from diald.
> 
> Someone mentioned diald-top.  I read the manpage (I couldn't install
> it because I was missing some ncurses stuff, but anyway...) and it
> leads me to believe that it won't provide me anything over kludges
> involving parsing the output of a netstat -rn, which is what I'm
> trying to avoid.
> 
> So my question still stands- Can you get status from a running copy
> of diald, and if so, how?
> 
> Matt Bennett
> 
> Matthew J. Bennett writes:
> > 
> > I have diald running, and now I'd like to ask diald for its current
> > status.  I've looked at the diald, diald-control, and diald-monitor
> > man pages, but I'm still really confused about getting information
> > from diald (I'm sending commands to diald just fine using the fifo).
> > 
> > Can anyone give me a sample script fragment (Perl, sh) that demonstrates 
> > querying a running diald process for the information that diald-monitor man
> > page details?
> > 
> > I have RTFM, but I ended up just about as confused as when I started.
> > 
> 

I looked at dctrl and wrote a tcl script that scrolls diald status to the
screen.  It helped us debug diald problems in a machine without X.
Unfortunately, the program is at work.  

It was pretty easy if you know tcl.  Basically you want openFifo and fifoCmd, but 
modify the things they call.  At the end, you need a

        vwait x

To put tcl into the event loop.

If people want I will post the program monday.

-- cary

-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to