You are here: TWiki> Plugins Web>DiskUsagePlugin (2008-12-12, SopanShewale)
Tags:
admin_tool2Add my vote for this tag visualization1Add my vote for this tag create new tag
, view all tags

Disk Usage TWiki Plugin

This plugin shows you the diskusage (in kb) for the current web.

Syntax Rules

%LOGSIZES%
%LOGSIZES%

%QUOTA%
%QUOTA%

%DISKUSAGE{ web="" }%

Plugins Disk Usage

%DISKUSAGE{ web="Plugins" }%

%DISKUSAGE%
%DISKUSAGE%

DiskUsagePlugin Global Settings

  • There are no settings for this plugin
  • One line description, shown in the Text Formatting Rules topic:
    • Set SHORTDESCRIPTION = This plugin shows the disk usage for the current web
  • Whether you want debug output
    • Set DEBUG = 1

Plugin Installation Instructions

(This plugin is preinstalled, you do not need to install it.)

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 the Plugin web (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
  • 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
Plugin Version: 12 Apr 2004 Martin Cleaver
Change History: 12 Apr 2004 Martin Cleaver - quotas, diskspace for history, attachments and topics 
  11 Mar 2004 Martin Cleaver - initial release 
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, DefaultPlugin

-- TWiki:Main.MartinCleaver - 11 Mar 2004

Topic attachments
I Attachment Action Size Date Who Comment
elsemd5 DiskUsagePlugin.md5 manage 0.2 K 2008-12-12 - 11:14 SopanShewale checksum file , Uploaded as a part of Release Process
ziptgz DiskUsagePlugin.tgz manage 5.1 K 2008-12-12 - 11:13 SopanShewale See DiskUsagePlugin for details. Untar and run the installer script, Uploaded as a part of Release Process
zipzip DiskUsagePlugin.zip manage 6.5 K 2008-12-12 - 11:14 SopanShewale See DiskUsagePlugin for details. Unzip and run the installer script , Uploaded as a part of Release Process
elseEXT DiskUsagePlugin_installer manage 3.4 K 2008-12-12 - 11:14 SopanShewale Installer Script, Uploaded as a part of Release Process
Topic revision: r17 - 2008-12-12 - 11:14:17 - SopanShewale
 
TWIKI.NET
This site is powered by the TWiki collaboration platform
Ideas, requests, problems regarding TWiki? Send feedback
Copyright © 1999-2009 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.