From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,649ace5e326a61cf,start X-Google-Attributes: gid10d4db,public From: Peter.Chang@nottingham.ac.uk Subject: Binstats - an admin utility for binaries and dynamic libs Date: 1996/08/16 Message-ID: #1/1 X-Deja-AN: 174629685 organization: ? followup-to: comp.os.linux.misc reply-to: Peter.Chang@nottingham.ac.uk newsgroups: comp.os.linux.announce -----BEGIN PGP SIGNED MESSAGE----- Hi to Linux admin/users This is the second public release of binstats version 0.93 - an administration utility for tracking down the various types of binary formats for Linux (i386) executables and their dynamic library dependencies. Features include: 1) tally of a.out and ELF binaries, dynamically and statically linked, and unstripped binaries 2) tally of duplicated executable names 3) tally of binaries with missing dynamic libraries 4) tally of DLL and ELF dynamic libraries, used and unused 5) a log of all the above tallies plus listing a.out binaries, statically linked binaries, unstripped binaries, duplicated executables, missing library binaries, all used and unused dynamic libraries. It is inspired by "execount" written by Murple (murple@clark.net) . Changes from 0.91: 0.92 - Derefenced symbolic links that ldd (1.7.14) gives which confused the list of unused libraries on 1996/8/9 [ldd (1.7.14) doesn't dereference symlinked dynamic libraries which causes confusion when looking for unused libraries.] NB the dereferencing routine only works properly for symlinks that are either absolute (eg. libc.so -> /lib/libc.so.5) or local (eg. libX11.so -> libX11.so.6) not relative (eg. libz.so -> ../blah/libz.so.1). However it does do chained symlinks. 0.93 - Put in un-stripped binaries counting (relies on ELF patch to file), make sure we only count executables and include NMAGIC type on 1996/8/12 Plus miscellaneous little changes for output log format. Here's the lsm entry: - -----8<---snip--->8----- Begin3 Title: binstats Version: 0.93 Entered-date: 12AUG96 Description: An admin utility for tidying up binaries and dynamic libraries. It can find the number and identity of a.out and ELF binaries, plus their debugging symbols status and dynamic library dependence. Also it is able to look for any duplicated executable name, unused libraries, binaries with missing libraries and statically linked binaries. Keywords: aout elf binary dynamic library Author: Peter.Chang@nottingham.ac.uk Maintained-by: Peter.Chang@nottingham.ac.uk Primary-site: sunsite.unc.edu /pub/Linux/utils/scripts 4.3k binstats-0.93.tgz Alternate-site: http://www.ccc.nottingham.ac.uk/~etzpc/binstats.html Original-site: Platforms: Linux/i386, bash script needs lots of unix (or GNU) tools, and the Linux ldd Copying-policy: GPL End - -----8<---snip--->8----- - -- Peter.Chang@nottingham.ac.uk +44 (0)115 951 3848 at work For (my) amusement only: www.ccc.nottingham.ac.uk/~etzpc/ sirds.html - Stereograms & SIRDS == dclkprog.html - Diamond clock setter -----BEGIN PGP SIGNATURE----- Version: 2.6.2i iQCVAwUBMhQgEYQRll5MupLRAQGqzQP9EkBFhENzslWiHWPAQ6SXkG24YIYV9Cf6 qK8kV1nmSz9DVwlu35h+doUWK/aCAyoqWT6nFJpQcf7i3iNfXdPWNC+9pTI6PVCD lfwcFL79rx15yTFyaWOLqRqw/QBDm1ZZGT62OXgE6tMdz/8NZu/PjOR/oJOWlRC7 jJ4TdLwWAo4= =YwpM -----END PGP SIGNATURE----- -- This article has been digitally signed by the moderator, using PGP. Finger wirzeniu@kruuna.helsinki.fi for PGP key needed for validating signature. Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov PLEASE remember a short description of the software and the LOCATION.