2 mfs diskusg – Sun Microsystems MEDIACENTER 2.1 User Manual

Page 124

Advertising
background image

8-4

Sun MediaCenter Server Administrator’s Guide • December 1997

Note in the verbose

mfs df

output, above, that the MFS block size (

64k

) is reported,

as well as the disk type, which can be either

data

or

parity

. Output with the

-k

option is the same except that the

Total

,

Used

, and

Avail

data is displayed in

kilobytes rather than 64K blocks. The fact that space consumed is the about the same
on all disks is characteristic of the MFS, in which data is striped across all disks.

8.2.2

mfs diskusg

The

mfs diskusg

utility returns information on disk usage of an MPEG file, given

the size or duration, encoding rate, and encapsulation format that you supply. It has
the following syntax:

The parameters are described as follows:

-v

Specifies verbose mode, in which

mfs diskusg

displays information that would

be returned by the

mfs dump

utility, if a file of the specified parameters were in

the MFS.

-g

Returns an error status if there is no space for the specified content. This
parameter is intended for use in shell scripts where you need to determine if there
is enough space to store a particular content. If you specify both the

-v

and

-g

parameters at the same time, only the

-g

option will take effect.

size

Size of the MPEG file, in bytes.

duration

Duration of the MPEG file, in seconds.

rate

Encoding rate of the MPEG file, in bits per second.

format=

format

Format of the encoded source file. One of:

MPEGTS

MPEG Transport Stream packet format. The packetization of this encapsulation
consists of two 188-byte packets.

mfs diskusg [-v] [-g]{size=

size

| duration=

seconds

} rate=

rate

format=

format

Advertising