ps output redirection problem

Luciano Miguel Ferreira Rocha strange at nsk.no-ip.org
Wed Mar 28 03:04:29 PDT 2007


On Wed, Mar 28, 2007 at 11:58:05AM +0200, Ignacio García Pérez wrote:
> Hi,
> 
> I just noticed that
> 
> ps > out.txt
> 
> ps 2>&1 > out.txt
> 
> Produce an empty out.txt file. If no output redirection is used, the 
> output of the ps command is as expected.
> 
> Any idea of what's wrong?

Are you using busybox statically linked to glibc?

-- 
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20070328/6225b8fb/attachment.pgp 


More information about the busybox mailing list