DragonFly BSD
DragonFly kernel List (threaded) for 2004-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Listing Memory-Resident Executables


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 4 Jun 2004 09:53:59 -0700 (PDT)

:A few moments ago, I added support for listing resident executables by
:running resident(8) with the '-l' flag:
:
:     # resident /usr/bin/d*
:     # resident -l
:     Id      Executable                      Size            Address
:     1       /usr/bin/dc                     30300           0x2805152c
:     2       /usr/bin/dialog                 8612            0x2804c52c
:     3       /usr/bin/diff                   57792           0x2805852c
:     4       /usr/bin/diff3                  17472           0x2804e52c
:     5       /usr/bin/dig                    1138704         0x2815b52c
:     6       /usr/bin/dirname                3328            0x2804b52c
:     7       /usr/bin/dnssec-keygen          315628          0x2809552c
:     8       /usr/bin/dnssec-makekeyset      913284          0x2812652c
:     9       /usr/bin/dnssec-signkey         913540          0x2812652c
:     10      /usr/bin/dnssec-signzone        933920          0x2812b52c
:     11      /usr/bin/doscmd                 172356          0x2806a52c
:     12      /usr/bin/du                     8044            0x2804c52c
:
:The 'Executable' column can be expanded later on if really required.
:
:This change will require a buildworld. :-) :-)
:
:Cheers.
:
:				-Hiten

    Excellent work Hiten!  I'm requesting one tiny little change... put
    the 'Executable' last rather then second.  That way you don't have
    to width-format the columns to an absurb degree if an executable's
    path is long.

    e.g.:

     # resident -l
     Id	    Size	Address	    Executable
     1	    30300	0x2805152c  /usr/bin/dc
     2	    123456	0x89abcdef  /some/very/long/path/to/the/binary

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]