PEAR_Size

Find out how much disk space is consumed by an installed pear package or a number of pear packages - analagous to the unix command df.

Summary

Features

  • investigate a single PEAR package.

  • investigate a set of PEAR packages.

  • display information for all installed packages.

  • output report in CSV format.

  • print sizes in human readable format.

  • specify what type of files are to be included in the report.

  • produce a summary report.

  • sort results by file size.

  • output results in XML format.

System Requirements

Mandatory resources:

About

Table of Contents
Introduction -- About PEAR_Size
Re-using PEAR_Size -- Embedding it in your own application

Getting started

Table of Contents
Overview -- features and usage patterns
The Command-Line Script -- generating PEAR_Size reports at the commandline.
Outputting Results -- The Output Drivers

Reference guide

Command-Line version

Table of Contents
PEAR_Size_CLI::run() -- Run the CLI version

Output Drivers

Table of Contents
Overview -- The How and What of Output Drivers
PEAR_Size_OutputFactory::createInstance() -- Create an Instance of an output driver.
PEAR_Size_Output_Driver::display() -- Display specified text
PEAR_Size_Driver::generateReport() -- Generate Report
PEAR_Size_Output_CSV::display() -- Display specified text
PEAR_Size_Output_CSV::generateReport() -- Generate CSV formatted report
PEAR_Size_Output_Html::display() -- Display specified text
PEAR_Size_Output_Html::generateReport() -- Generate HTML formatted report
PEAR_Size_Output_Text::display() -- Display specified text
PEAR_Size_Output_Text::generateReport() -- Generate plain text formatted report
PEAR_Size_Output_XML::display() -- Display specified text
PEAR_Size_Output_XML::generateReport() -- Generate XML formatted report