admin_tool2Add my vote for this tag visualization1Add my vote for this tag create new tag
, view all tags

Disk Usage TWiki Plugin

Show the disk usage for the current web

Syntax Rules





%DISKUSAGE{web="Sandbox"}% %DISKUSAGE{web="Sandbox"}%

DiskUsagePlugin Global Settings

  • One line description, shown in the Text Formatting Rules topic:
    • Set SHORTDESCRIPTION = Show the disk usage for the current web
  • Whether you want debug output
    • Set DEBUG = 0

Plugin Installation Instructions

Note: You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the server where TWiki is running.

  • Download the ZIP file from twiki.org (see below)
  • Unzip DiskUsagePlugin.zip in your twiki installation directory. Content:
    File: Description:
    data/TWiki/DiskUsagePlugin.txt Plugin topic
    lib/TWiki/Plugins/DiskUsagePlugin.pm Plugin Perl module
  • Visit configure in your TWiki installation, and enable the plugin in the {Plugins} section.
  • Test if the plugin is correctly installed:
  • see whether the %DISKUSAGE% directive is expanded above

Future development possibilities

It could be improved on considerably. e.g.

  • One possibility is to install it in the TWiki web and use an include like WebChanges does
  • This could be called WebDiskUsage or used on a page called WebStatus
  • It should allow specification of topic and web. Currently it works only for the current web

Plugin Info

Plugin Author: TWiki:Main.MartinCleaver
Copyright: © 2004 Martin Cleaver,
© 2004-2010 TWiki:TWiki.TWikiContributor
License: GPL (GNU General Public License)
Plugin Version: 2010-10-30
Change History:  
2010-10-30: TWikibug:Item6530: Doc fixes
2004-03-11: Initial release - Martin Cleaver
CPAN Dependencies: none
Other Dependencies: /usr/bin/du
Perl Version: 5.005
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/DiskUsagePlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/DiskUsagePluginDev

Related Topics: TWikiPreferences, TWikiPlugins

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatmd5 DiskUsagePlugin.md5 r3 r2 r1 manage 0.2 K 2010-10-31 - 06:10 PeterThoeny  
Compressed Zip archivetgz DiskUsagePlugin.tgz r5 r4 r3 r2 r1 manage 4.9 K 2010-10-31 - 06:10 PeterThoeny  
Compressed Zip archivezip DiskUsagePlugin.zip r6 r5 r4 r3 r2 manage 6.3 K 2010-10-31 - 06:10 PeterThoeny  
Unknown file formatEXT DiskUsagePlugin_installer r2 r1 manage 3.4 K 2010-10-31 - 06:10 PeterThoeny  
Edit | Attach | Watch | Print version | History: r21 < r20 < r19 < r18 < r17 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r21 - 2013-10-16 - PeterThoeny
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.