Disk Usage TWiki Plugin
This plugin shows you the diskusage (in kb) for the current web.
Syntax Rules
%LOGSIZES%
%LOGSIZES%
%QUOTA%
%QUOTA%
%DISKUSAGE%
%DISKUSAGE%
%DISKUSAGE{web="Main"}%
%DISKUSAGE{web="Main"}%
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 = 0
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 |
data/TWiki/DiskUsagePlugin.txt,v | Plugin topic repository |
lib/TWiki/Plugins/DiskUsagePlugin.pm | Plugin Perl module |
- (Dakar) 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: T Wiki Preferences,
T Wiki Plugins
--
TWiki:Main.MartinCleaver - 11 Mar 2004