Busybox telnetd
Bryan Le
bryanhdl at yahoo.com
Wed Nov 21 23:52:05 UTC 2007
Hi,
The following is ps
command in telnet window:
/////////////////////////////////////////////
ps
PID Uid VmSize Stat Command
1 root 616 S init
2 root SW [ksoftirqd/0]
3 root SW< [desched/0]
4 root SW< [events/0]
5 root SW< [khelper]
10 root SW< [kthread]
13 root SW< [kblockd/0]
44 root SW [pdflush]
45 root SW [pdflush]
47 root SW< [aio/0]
46 root SW [kswapd0]
71 root SW [mtdblockd]
61 root SW [kseriod]
95 root SW< [IRQ 8]
98 root SW< [IRQ 15]
115 root 616 S init
116 root 588 S /bin/sh /etc/init.d/rcS
147 root SW< [IRQ 35]
150 root 572 /bin/sh
/etc/init.d/S99tonecommander start
153 root 4480 S phone
152 root Z [telnetd]
154 root 564 S telnetd -l /bin/sh
155 root 3776 S phone
163 root 4480 S phone
164 root 4480 S phone
165 root 4480 S phone
166 root 3816 S phone
167 root SW< [IRQ 45]
168 root 4480 S phone
169 root 4480 S phone
171 root 4480 S phone
178 root 4480 S phone
179 root 4480 S phone
180 root 4480 S phone
181 root 4480 S phone
182 root 4480 S phone
189 root Z [udhcpc]
190 root 576 S udhcpc -i esw0 -H
TC-SIP-3778663013 -V TCS_04
197 root 4480 S phone
206 root 612 S /bin/sh
207 root 4480 S phone
208 root 612 R ps
/ $
///////////////////////////////////////////////
TEST1 is "phone (PID=153)". The phone application is
started independently (not from telnet window). Do you
know how to redirect output from phone application to
telnet window?
Thank you,
Bryan
--- Denys Vlasenko <vda.linux at googlemail.com> wrote:
> On Wednesday 21 November 2007 09:22, Bryan Le wrote:
> > Hello,
> >
> > I'm connecting successfully to the device running
> > application TEST1 on Linux 2.6 (with BusyBox
> 1.2.2.1)
> > from PC by telnet . Problem is that the printf()
> > outputs from TEST1 application still go to the
> serial
> > console. If I start another application TEST2
> while
> > TEST1 running by typing TEST2 in the telnet
> session
> > window, then I can see the printf() outputs from
> > TEST2 (but not TEST1) on telnet session.
> >
> > Could someone tell me why printouts from TEST1 go
> to
> > serial console /dev/ttyS0 and printouts from TEST2
> go
> > to the /dev/pts/0 device? How do I redirect
> printouts
> > from TEST1 to /dev/pts/0 device?
>
> I don't fully understand the situation. Can you
> post ps output?
>
> For now it seems like TEST1 is run independently
> (it is not started from telnetd), so naturally it
> shouldn't print anything over telnel link.
> --
> vda
>
____________________________________________________________________________________
Be a better sports nut! Let your teams follow you
with Yahoo Mobile. Try it now. http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ
More information about the busybox
mailing list