[ Previous ] [ Contents ] [ Index ] [ Next ]

ns_quota

Overview

Check pageroot quota statistics

Syntax

ns_quota free ?server?

ns_quota recalc ?server?

ns_quota size ?server?

ns_quota used ?server?

Description

ns_quota free returns the number of bytes that can be used before exceeding the quota for the specified virtual server. If no server is specified, the current virtual server is used.

ns_quota recalc re-counts the number of bytes used and returns that number for the specified virtual server. If no server is specified, the current virtual server is used.

ns_quota size returns the maximum size in bytes to which the pageroot and its descendants may grow for the specified virtual server. If no server is specified, the current virtual server is used.

ns_quota used returns the number of bytes used by the pageroot and its descendants for the specified virtual server. If no server is specified, the current virtual server is used.

Note that quotas are not enforced when writing from a Tcl script, but any files created under the pageroot by a Tcl script are accounted for when the quota is recalculated.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.