process accounting crossed with package data = slim system?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
process accounting crossed with package data = slim system?
I'd like to be able to use the data from /var/log/pacct to trim my system down. If I use that data to look at all packages that haven't been involved in processes active on the system then I could ditch packages automatically.
Anyone know of anything that does this sort of automatic cleaning either using pacct or some other means?
I've never heard of such a program that would do that and it sounds like a pretty bad way to decide what's needed on your system.
To trim your system down, I'd start by removing the package that produces that output! Removing something just because it hasn't been used in a while doesn't mean you won't be needing it soon.
For slackware, the best way I've found to decide what's needed by what is to use a program called slackdeptrack. It will examine each package installed on your system and run ldd on all the libs and binaries in that package and cross--reference that info against the other packages.
From my experience, on any OS, I strongly recommend that you keep only programs that you need, but always have a backup. Why ? Because Murphy's laws do apply. I have many good examples from the times I've had to do school projects and term papers and stuff like that. One program bites the bullet and I'm screwed. It's much less likely that both the main and backup program will both fail at the same time, both irreversibly within a reasonable amount of time.
I used to have a pretty good HOWTO on installing a minimal Slack system, but don't publish it anymore as it is out of date. Still, I have no problem to install a runnign system with X and a desktop environment in less than 250MB without cramping my style, except for needing compilers, etc. A system which can recompile itself needs round 400-500MB. And these figures mean using regular packages without deleting docs, header files or other non-essentials.
Anyway, a few months spent working on trimming down your system will teach you a great deal about what really makes you system tick.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.