Disk space used by depot files

To estimate how much disk space is used by specific files in a depot, use the p4 sizes command with a block size corresponding to that used by your storage solution. For example, the command:

$ p4 sizes -a -s -b 512 //depot/...

shows the sum (-s) of all revisions (-a) in //depot/..., as calculated with a block size of 512 bytes.

//depot/... 34161 files 277439099 bytes 5429111 blocks

Although the data reported by p4 sizes reflects the disk space required when files are synced to a client workspace, such data can be useful to estimate disk space consumption on the server,