wg-diskUsage - Online in the Cloud

This is the command wg-diskUsage that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


diskUsage - Display amount of disk space used by a WebGUI asset
an its desecendants.

SYNOPSIS


diskUsage --configFile config.conf
[--assetId id]
[--assetUrl url]
[--blockSize bytes]
[--norecurse]
[--quiet]
[--summary]

diskUsage --help

DESCRIPTION


This WebGUI utility script displays the amount of disk space used by an asset and it's
descendants. It has been modeled after the *nix 'du' utility.

--configFile config.conf
The WebGUI config file to use. Only the file name needs to be specified, since it will
be looked up inside WebGUI's configuration directory. This parameter is required.

--assetId id
Calculate disk usage starting from WebGUI's Asset identified by id. If this parameter
is not supplied, calculations will start from WebGUI's default page as defined in the
Site settings.

--assetUrl url
Calculate disk usage starting from the particular URL given by url, which must be
relative to the server (e.g. /home instead of http://your.server/home). If this
parameter is not supplied, calculations will start from WebGUI's default page as
defined in the Site settings.

--blockSize bytes
Use bytes as scaling factor to change the units in which disk space will be reported.
If this parameter is not supplied, it defaults to 1, hence the results will be
expressed in bytes. If you want to have kb, use --blockSize 1024.

--norecurse
Prevent recursive calculation of disk space. This effectively computes the used disk
space for the starting Asset only, without including its descendants.

--quiet
Just display the total amount of disk space as a raw value.

--summary
Just display the total amount of disk space in a human readable format.

--help
Shows this documentation, then exits.

Use wg-diskUsage online using onworks.net services



Latest Linux & Windows online programs