Syntax

杜[options]...

Description

Shows estimated disk space used for each file or directory or both.

Command context

服务操作系统(动宾>)

参数

[options]

Selects the options for the command.

-a

Show file sizes.

-L

Shows all symlinks.

-H

Shows symlinks on a command line.

- d N

Shows limited output to directories (and files with-a)of depth less thanN

-c

Shows the total disk space usage of all files or directories or both.

-l

Shows the count sizes if hard linked.

-s

Shows only a total for each argument.

-x

Does not show directories on different file systems.

-h

Show sizes in human readable format (1K, 243M, and 2G).

-m

Show sizes in megabytes.

-k

Show sizes in kilobytes (default).

Specifies the file or directory or both for displaying a size estimate.

Authority

Administrators or local user group members with execution rights for this command.

例子

Estimating disk space for the /nos directory:

动宾>杜-ah /nos196.4M /nos/primary.swi 196.4M /nos SVOS>