Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

xdu (patched) - display the output of du -k in an X window

xdu is a program for displaying a graphical tree of disk space utilization as reported by the UNIX utility du. You can navigate up and down in the tree, sort things, and print out information. See the manual page for details.

This version has been patched for more functions.

  • key n : change size display ( bytes, MiB, GiB, TiB )
  • key p : print as postscript
  • key v : print as scalable-vector-graphic
  • option -f : set postscript file name

This is a works-for-me release.

compilation

make

installation

cp

No autoconf, hg, docker, what-ever. Never. Ever. This is ~1500 lines of pure C. Get a life!

See the XDu.ad file if e.g. you have problems with the selected font.

usage

du -k /usr | xdu

This release was tested against MarIuX.

Revision History

Version 3.0p13 - Mar 29 2019

  • fix , as 1k divider for numerical output
  • Niclas Hofmann, niclas@molgen.mpg.de

Version 3.0p12 - Mar 20 2019

  • use , as 1k divider for numerical output
  • Niclas Hofmann, niclas@molgen.mpg.de

Version 3.0p11 - Jan 23 2019

  • remove newline in window title
  • Niclas Hofmann, niclas@molgen.mpg.de

Version 3.0p10 - Jan 23 2019

  • fix integer overflow
  • Niclas Hofmann, niclas@molgen.mpg.de
  • David Schrader, schrader@molgen.mpg.de

Version 3.0p9 - Sep 13 2018

  • fix segmentation fault
  • Niclas Hofmann, niclas@molgen.mpg.de

Version 3.0p8 - Sep 3 2018

  • change and add mouse control
  • Niclas Hofmann, niclas@molgen.mpg.de

Version 3.0p7 - Jun 11 2018

  • add feature to export to svg-file
  • Niclas Hofmann, niclas@molgen.mpg.de
  • consistently indent with spaces
  • initialize variables name in all cases
  • make format string a string literal
  • Paul Menzel, pmenzel@molgen.mpg.de

Version 3.0p6 - Jul 10 2017

  • githubify
  • code cleanup for fixing bugs
  • works-for-me Makefile
  • -Wall -Werror -Wextra -pedantic
  • Peter Marquardt, marquardt_p@molgen.mpg.de

Version 3.0p5 - Feb 16 2012

Version 3.0p4 - Mar 16 2007

Version 3.0p3 - Apr 9 1997

  • new option -f and new key p
  • Marius Tolzmann, tolzmann@mpimg-berlin-dahlem.mpg.de

Version 3.0p2 - Oct 1 1998

  • added ability to print postscriptfiles Thr Oct 1 12:17 MET DST 1998 by
  • Marius Tolzmann, tolzmann@mpimg-berlin-dahlem.mpg.de

Version 3.0 5 - Jun 1994

  • X11R6 contrib release
  • Popup help window
  • Now uses Athena widgets, but no menus or buttons yet

Version 2.1 22 - Jul 1993

  • Fixed a bug in the sorting code where traversal back up a sorted tree could land you in the wrong parent directory.

Version 2.0 21 - Jul 1993

  • Added sorting.
  • Command line options.
  • More resources.
  • Better redraw behavior.
  • Bug fixes (to handle trailing slashes and directories with no or zero size information).

Version 1.1 5 - Oct 1991

  • Added resource control
  • Display of size information
  • More accurate label positioning

Version 1.0 4 - Sep 1991

  • First public release

Acknowledgements

xdu-3.0p

Marius Tolzmann m@rius.berlin Peter Marquardt marquardt_p@molgen.mpg.de

xdu-3.0

Bug reports and code fixes from:

Casey Leedom <casey@gauss.llnl.gov> Stephen Gildea <gildea@expo.lcs.mit.edu> Nelson Minar <nelson@reed.edu> Don Tiessen <dtiessen@silver.cs.umanitoba.ca> Gerry Tomlinson Gerry.Tomlinson@newcastle.ac.uk Mark Evans <mre1@itri.bton.ac.uk> Juha Takala <jta@piuha.sah.vtt.fi>

And the many others who told me what they thought about it.

Originally developed by:

Phil Dykstra, <phil@arl.mil> http://info.arl.mil/~phil/