On Fri, Sep 4, 2015 at 8:47 AM, Rob Landley <[email protected]> wrote:
> On 08/29/2015 03:54 PM, enh wrote:
>> Implement lsof.
>>
>> This is a superset of the current AOSP lsof (which is itself a
>> superset of the lsof in Android M). It fixes several bugs/misfeatures
>> and adds support for decoding IPv4/IPv6 tcp/udp/raw sockets and Unix
>> domain sockets.
>>
>> I'll remove toolbox lsof as soon as this is available in toybox.
>
> Added, but could you hold off until monday on swapping over? I'd like to
> take a stab at cleaning it up and promoting it this weekend.

sure. (though bear in mind that what i sent you is quite different to
what we've been using in Android --- all the socket stuff is new, for
example. so it still needs to survive its first contact with the
enemy.)

> For one thing I have a lsof.txt here with:
>
>   names argument: restrict open files named to list of filenames
>   -l turn off username/group lookup for display
>   -u USR restrict processes examined to specified list of users
>   -p PIDS only processes in PID list (or ^PID to exclude that pid)
>   -t (thing android host scripts use?)
>
> So I should probably tackle adding that before people depend on the code
> being stable. :)

i can implement those too if you want to go back to ps :-)

> Thanks,
>
> Rob
> _______________________________________________
> Toybox mailing list
> [email protected]
> http://lists.landley.net/listinfo.cgi/toybox-landley.net



-- 
Elliott Hughes - http://who/enh - http://jessies.org/~enh/
Android native code/tools questions? Mail me/drop by/add me as a reviewer.
_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to