Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 10-22-2007, 10:10 AM   #1
Registered: Dec 2002
Location: UK
Distribution: Slackware 12; Ubuntu 7.10
Posts: 358

Rep: Reputation: 31
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?

some refs for pacct
Old 10-23-2007, 10:41 AM   #2
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,824

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
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.
Old 10-23-2007, 02:29 PM   #3
LQ Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285
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.
Old 10-23-2007, 04:43 PM   #4
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,824

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
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.


install, packages, system, trim

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kmymoney, Accounting package mickeyboa Fedora 2 02-28-2006 05:13 PM
User and Process Accounting Log Files lafinhyena Linux - Newbie 0 05-19-2004 03:57 AM
Process Accounting. unixpirate Linux - Software 0 02-25-2003 09:37 AM
Process Accounting??? pir2 Linux - General 2 06-19-2002 07:56 PM
Turning on process accounting accton: desbyleo Linux - General 0 03-02-2002 06:59 PM

All times are GMT -5. The time now is 05:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration