From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079034715453.tru64-unix-managers.marc@archive.invalid> From: Bernt Christandl Date: Fri, 08 Jan 1999 09:45:21 +0000 To: tru64-unix-managers Subject: SUMMARY: Monitoring the usage of a specific program X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079034715453 Hello managers, i've asked: >our boss has another good idea (and i have no solution, yet): > >We have several licences for several program-packages and he wants me >to tell him, how often those packages are used (e.g. IDL, NAG, >Mathematica, ...) - and what about free packages, that are installed, >but need no license (e.g. perl, tex, ... ;-) > >The first step i could think of, is to write wrappers and make such >logs myself, but i'm sure other solutions exist, even if i don't know >about them yet. What would you recommend? and got several fast responses. Thank you all for those! -> If licenses are managed by "flexlm", then there should be a log-file somewhere (typically flexlm.log) with the relevant information. (Obviously i have a problem there: i can't find such a logfile here...) -> On the other hand the unix accounting (try "apropos account") could be used for my purpose - if accounting is on... I erroneously thought, that this way i could only get information about cpu-, disk- and printer-usage, but obviously something like "sa -a" gives more and different informations. Gavin Kreuiter wrote: > If you can reboot soon, try "rcmgr set ACCOUNTING YES", reboot, > /usr/sbin/acct/turnacct on > then type a few commands > then /usr/sbin/acct/turnacct off; /usr/sbin/acct/acctcms -a I will try that soon... Be welcome in this happy New Year and have a nice weekend! Bernt Christandl ------------------------------------------------------------------------- - Bernt Christandl / Max-Planck-Institut fuer extraterrestrische Physik - - D-85740 Garching / Phone: +49/89/3299-3342 / Fax: +49/89/3299-3569 - - email: beb@mpe.mpg.de - -------------------------------------------------------------------------