FileSystem:getByPartition

Method

Purpose

This method (on Mac OS X) returns utilization statistics for currently mounted file systems, filtered by device name. Information will be listed for only local partitions with non-zero data blocks.

Remarks

The argument is being treated as a pattern to match. If no argument string is given the whole mount table is reported.

Type

Synchronous, IMPACT_INFO.

Arguments

 

Name

Type

Description

Partition

String

Device name (hard disk partition)

Returns

 

Name

Type

Description

Partition

String

Device name of a hard disk partition. Table is indexed by Partition.

Mount Point

String

Mount point

% Free

Integer

The amount of disk space on the mounted file system that is currently free, expressed as a percentage of total size

% Used

Integer

The amount of disk space on the mounted file system that is currently in use, expressed as a percentage of total size

KBytes Free

Long

The amount of disk space on the mounted file system that is currently free, expressed as an absolute value in kilobytes

KBytes Used

Long

The amount of disk space on the mounted file system that is currently in use, expressed as an absolute value in kilobytes

KBytes Total

Long

The amount of disk space on the mounted file system, expressed in kilobytes

% Minimum

Integer

The minimum % free (for super user only)