On Monday 26 March 2012 22:37, Tito wrote: > On Monday 26 March 2012 20:47:57 souf wrote: > > Le 25/03/2012 18:47, Sven Oliver Moll a écrit : > > > Again another offer for an lsof applet. To make it as small as possible, > > > now all memory is allocated on the stack. If the complete path to an > > > opened file > > > is larger that PATH_MAX, it will get truncated. On my x86_64 box, > > > size(1) of > > > lsof.o reports 573 bytes. > > > > > > Greetings, > > > SvOlli > > > > > > > > > _______________________________________________ > > > busybox mailing list > > > [email protected] > > > http://lists.busybox.net/mailman/listinfo/busybox > > Hi, > > You can try this : > > .. > > Hi, > Looks good, but the output is not same as before because it is listing also > the files > that lsof itself opens. I don't know if this behaviour is acceptable. > With this little fix it is as before and bloatometer is still good:
Thanks guys! Committed to git. -- vda _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
