Disk Usage TWiki Plugin
Show the disk usage for the current web
Syntax Rules
%LOGSIZES%
%LOGSIZES%
%QUOTA%
%QUOTA%
%DISKUSAGE%
%DISKUSAGE%
%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
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
Related Topics: TWikiPreferences,
TWikiPlugins