Besides using quota report and adding up the "File Used" for all the qtrees, is there a simpler way to get a summary file usage on a volume?
Bob Bailey Network Centric Systems (NCS) Information Solutions Enterprise Operations Server Management & Central Operations Desk Phone: 972-952-2518 Pager: 972-670-7336 Alpha Pager: 9726707336@messaging.nextel.com
df -i
On Nov 5, 2007 4:17 PM, Robert M Bailey r-bailey3@raytheon.com wrote:
Besides using quota report and adding up the "File Used" for all the qtrees, is there a simpler way to get a summary file usage on a volume?
Bob Bailey Network Centric Systems (NCS) Information Solutions Enterprise Operations Server Management & Central Operations Desk Phone: 972-952-2518 Pager: 972-670-7336 Alpha Pager: 9726707336@messaging.nextel.com
df -i will tell you how many inodes are being used in a volume. However, that isn't just files, it's directories, symlinks, etc.
-- Adam Fox
________________________________
From: Robert M Bailey [mailto:r-bailey3@raytheon.com] Sent: Monday, November 05, 2007 4:18 PM To: toasters@mathworks.com Subject: Single command to determine # of files on a volume
Besides using quota report and adding up the "File Used" for all the qtrees, is there a simpler way to get a summary file usage on a volume?
Bob Bailey Network Centric Systems (NCS) Information Solutions Enterprise Operations Server Management & Central Operations Desk Phone: 972-952-2518 Pager: 972-670-7336 Alpha Pager: 9726707336@messaging.nextel.com
Robert Bailey asks
Besides using quota report and adding up the "File Used" for all the qtrees, is there a simpler way to get a summary file usage on a volume?
Adam Fox replies:
df -i will tell you how many inodes are being used in a volume. However, that isn't just files, it's directories, symlinks, etc.
That last is also true of the "Files Used" value in "quota report" output. For that matter "maxfiles" (with no arguments, another way of getting the "df -i" information) also refers to inodes as "files" without qualification.
Others have suggested "df -i". Another alternative is the "filestats" command:
toaster> filestats volume root snapshot nightly.0
- Brian
________________________________
From: Robert M Bailey [mailto:r-bailey3@raytheon.com] Sent: Monday, November 05, 2007 1:18 PM To: toasters@mathworks.com Subject: Single command to determine # of files on a volume
Besides using quota report and adding up the "File Used" for all the qtrees, is there a simpler way to get a summary file usage on a volume? Bob Bailey Network Centric Systems (NCS) Information Solutions Enterprise Operations Server Management & Central Operations Desk Phone: 972-952-2518 Pager: 972-670-7336 Alpha Pager: 9726707336@messaging.nextel.com