Differences between revisions 4 and 5
Revision 4 as of 2009-04-10 14:02:20
Size: 885
Editor: ?wekt
Comment:
Revision 5 as of 2009-04-10 14:28:47
Size: 1204
Editor: GeoffSimmons
Comment: Add title, mention dpigs, formatting.
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:

If you are running near the end of your disk space, the information here may help you.
= Freeing Disk Space =
If you are running near the end of your disk space, the information may help you.
Line 8: Line 8:
aptitude -F '%I %p' search '~i'|egrep '^[0-9]+[\.,]?[0-9]*[MG]B'|sort -n Using [[aptitude]]:
 {{{
aptitude -F '%I %p' search '~i'|egrep '^[0-9]+[\.,]?[0-9]*[MG]B'|sort -n}}}
Line 10: Line 12:
wajig size Using [[DebMan:1/dpigs|dpigs]] (DebPkg:debian-goodies):
 {{{
dpigs -n50
}}}
Line 12: Line 17:
=== Tools to erase ===
==== files you do not want ====
bleachbit
localepurge
==== packages you do not want ====
deborphan
debfoster
Using DebPkg:wajig:
 {{{
wajig size}}}
Line 20: Line 21:
=== Tools to alter files to reduce them ===
strip --strip-unneeded
upx-ucl
== Tools to erase ==
=== files you do not want ===
 * DebPkg:bleachbit ([[DebianSqueeze|Squeeze]] and later)
 * DebPkg:localepurge
Line 24: Line 26:
=== Reduce data creation ===
Use the following line as your /etc/rsyslog.conf configuration file in order to not save logs but output them on virtual terminal 12.
*.* -/dev/tty12
=== packages you do not want ===
 * DebPkg:debfoster
 * DebPkg:deborphan

== Tools to alter files to reduce them ==
 * [[DebMan:1/strip|strip]] (DebPkg:binutils)
  * eg. {{{strip --strip-unneeded foo}}}
 * DebPkg:upx-ucl

== Reduce data creation ==
Use the following line as your {{{/etc/rsyslog.conf}}} configuration file in order to not save logs but output them on virtual terminal 12:
 {{{

*.* -/dev/tty12}}}

Translation(s): none

(!) ?Discussion


Freeing Disk Space

If you are running near the end of your disk space, the information may help you.

Command line tools to see which package are using the most disk space:

Using aptitude:

  • aptitude -F '%I %p' search '~i'|egrep '^[0-9]+[\.,]?[0-9]*[MG]B'|sort -n

Using ?dpigs (debian-goodies):

  • dpigs -n50

Using wajig:

  • wajig size

Tools to erase

files you do not want

packages you do not want

Tools to alter files to reduce them

Reduce data creation

Use the following line as your /etc/rsyslog.conf configuration file in order to not save logs but output them on virtual terminal 12:

  • *.* -/dev/tty12