Hmmm... 'Running', or 'Installed'?

If all you need is running apps, check the rc files and check the crontab(s) (as well as the services and ports as the other poster mentioned). On BSD, there's also a startup directory /usr/local/etc/rc.d where any script that's executable gets fired off.

If you're looking for what's installed, I'd also do a systemwide sweep of everything in /usr except /usr/src, and look at the magic numbers (first 2 bytes) and shebang lines. Once you have that list, you can identify what's code. Come to think of it, I suppose you could do a first pass look at anything that has its x permission set.

In reply to Re: Perl, sort of Unix/system archaeology question by samizdat
in thread Perl, sort of Unix/system archaeology question by Miss Brain

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.