[Toybox] [PATCH] Implement lsof.
Rob Landley
rob at landley.net
Fri Sep 4 08:47:24 PDT 2015
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.
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. :)
Thanks,
Rob
1441381644.0
More information about the Toybox
mailing list