1quot(1M)                System Administration Commands                quot(1M)
2
3
4

NAME

6       quot - summarize file system ownership
7

SYNOPSIS

9       quot [-acfhnv] filesystem...
10
11
12       quot -a [-cfhnv]
13
14

DESCRIPTION

16       quot displays the number of blocks (1024 bytes) in the named filesystem
17       (one or more) currently owned by each user. There is a  limit  of  2048
18       blocks.  Files  larger  than this will be counted as a 2048 block file,
19       but the total block count will be correct.
20

OPTIONS

22       The following options are supported:
23
24       -a    Generate a report for all mounted file systems.
25
26
27       -c    Display three columns giving a file size in blocks, the number of
28             files  of  that size, and a cumulative total of blocks containing
29             files of that size or a smaller size.
30
31
32       -f    Display three columns giving, for each user, the number of blocks
33             owned,  the  count  of  number  of files, and the user name. This
34             option is incompatible with the -c and -v options.
35
36
37       -h    Estimate the number of blocks in the file. This does not  account
38             for files with holes in them.
39
40
41       -n    Attach  names to the list of files read from standard input. quot
42             -n cannot be used alone, because it expects  data  from  standard
43             input. For example, the pipeline
44
45             ncheck myfilesystem | sort +0n | quot -n myfilesystem
46
47             will produce a list of all files and their owners. This option is
48             incompatible with all other options.
49
50
51       -v    In addition to the default output, display three columns contain‐
52             ing  the number of blocks not accessed in the last 30, 60, and 90
53             days.
54
55

OPERANDS

57       filesystem    mount-point of the filesystem(s) being checked
58
59

USAGE

61       See largefile(5) for the description  of  the  behavior  of  quot  when
62       encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
63

EXIT STATUS

65       0     Successful operation.
66
67
68       32    Error  condition  (bad  or  missing  argument, bad path, or other
69             error).
70
71

FILES

73       /etc/mnttab    Lists mounted file systems.
74
75
76       /etc/passwd    Used to obtain user names
77
78

ATTRIBUTES

80       See attributes(5) for descriptions of the following attributes:
81
82
83
84
85       ┌─────────────────────────────┬─────────────────────────────┐
86       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
87       ├─────────────────────────────┼─────────────────────────────┤
88       │Availability                 │SUNWcsu                      │
89       └─────────────────────────────┴─────────────────────────────┘
90

SEE ALSO

92       du(1), mnttab(4), passwd(4), attributes(5), largefile(5)
93

NOTES

95       This command can only be used by the super-user.
96
97
98
99SunOS 5.11                        30 May 2001                         quot(1M)
Impressum