Sponsored Content
Full Discussion: Max size directory
Top Forums Shell Programming and Scripting Max size directory Post 302811059 by ptappeta on Thursday 23rd of May 2013 03:05:11 AM
Old 05-23-2013
Max size directory

Hi
I know that a perticular direxctory is cosuming max space .

Code:
 
Filesystem           1K-blocks      Used Available Use% Mounted on
nfsfi02:/vol/fivol2/Dir2/dir
                     104857600  92671400  12186200  89% /fs/dir

I want to know which sub directory is consuming max space in this problematic directory /itf/ude

Any command please?

Last edited by Don Cragun; 11-05-2015 at 04:21 AM.. Reason: Sanitize directory names.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Max size of variable

What is the maximum amount of characters that you can have in a varible name in the ksh shell? (1 Reply)
Discussion started by: lesstjm
1 Replies

2. UNIX for Dummies Questions & Answers

Max I/O Size

My HP-UX 11.0 system is supporting an Oracle database. I have found a number of references on the Net to the "Max I/O size" in relation to setting Oracle parameters. How can I tell what my max i/o size is? I originally made the assumption that it was referring to my stripe size but now I think... (1 Reply)
Discussion started by: keelba
1 Replies

3. Programming

Max file size can't exceed 2 GB

We have Sun OS 5.9 we are doing a backup process (ProC program) that uses the function... fprintf(fp,"%s;%s;%s;%s;%s;%ld;%ld;%ld;%ld;%s;%s;%s;%d;%s;%s;%s;%ld;%s;%s;%s;%ld;%ld;%s;%ld;%s;%ld;%s;%s;%c%c",x_contrno, x_subno, x_b_subno,x_transdate,x_last_traffic_date,BillAmt_s, x_billamount_int,... (10 Replies)
Discussion started by: atiato
10 Replies

4. AIX

max size of a volum group with 5.3

hello i would like to create a volume group with 2200 Go (with pp size= 64) it is possible, or it is too big ? thank you (2 Replies)
Discussion started by: pascalbout
2 Replies

5. UNIX for Advanced & Expert Users

How to determine the max file size

Does anyone know a way to determine the maximum filesize on a file system on Solaris, HP-UX, AIX, Linux, and OSF1 using the command line? TIA (2 Replies)
Discussion started by: dknight
2 Replies

6. Solaris

max. size of file

I wants to ask that what is the max size of file that we can create in the unix file system. (2 Replies)
Discussion started by: sameerghogre
2 Replies

7. UNIX for Advanced & Expert Users

Max. file size

i want to know what is the maximum file size supported by linux with ext3 file system. (1 Reply)
Discussion started by: nagalenoj
1 Replies

8. UNIX for Advanced & Expert Users

Max size of the attachment

Hi Gurus, I am unable to send a file which size is more than 10mb through the "sendmail" command in unix. I searched from internet and followed the path specified over there "/etc/mail/sendmail.cf" and too "/etc/mail/main.cf" but found in those files below lines. # maximum message size... (1 Reply)
Discussion started by: sanjay.login
1 Replies

9. Shell Programming and Scripting

finding max size

Hi I have a list of 2000 records with multiple entries and I want to get the max size for each entry ABC 1 ABC 2 ABC 3 ABC 4 DEF 1 DEF 2 DEF 2 DEF 2 DEF 2 ... (9 Replies)
Discussion started by: Diya123
9 Replies

10. Shell Programming and Scripting

How to delete some of the files in the directory, if the directory size limits the specified size

To find the whole size of a particular directory i use "du -sk /dirname".. but after finding the direcory's size how do i make conditions like if the size of the dir is more than 1 GB i hav to delete some of the files inside the dir (0 Replies)
Discussion started by: shaal89
0 Replies
FS_SETQUOTA(1)						       AFS Command Reference						    FS_SETQUOTA(1)

NAME
fs_setquota - Sets the quota for the volume containing a file or directory SYNOPSIS
fs setquota [-path <dir/file path>] -max <max quota in kbytes> [-help] fs setq [-p <dir/file path>] -m <max quota> [-h] fs sq [-p <dir/file path>] -m <max quota> [-h] DESCRIPTION
The fs setquota command sets the quota (maximum possible size) of the read/write volume that contains the directory or file named by the -path argument. To set the quota on multiple volumes at the same time, use the fs setvol command. To display a volume's quota, use the fs examine, fs listquota, or fs quota command. CAUTIONS
Currently, the maximum size of a volume is 2 terabytes (2^31 bytes). OPTIONS
-path <dir/file path> Names the directory or file for which to set the host volume's quota. Partial pathnames are interpreted relative to the current working directory, which is also the default value if this argument is omitted. Specify the read/write path to the file or directory, to avoid the failure that results from attempting to change a read-only volume. By convention, the read/write path is indicated by placing a period before the cell name at the pathname's second level (for example, /afs/.abc.com). For further discussion of the concept of read/write and read-only paths through the filespace, see the fs mkmount reference page. -max <max quota> Sets the maximum amount of file server disk space the volume can occupy. The quota value should be a positive integer followed by an optional suffix: "K" for kibibytes (1024 bytes, the default), "M" for mebibytes (1024 kibibytes), "G" for gibibytes (1024 mebibytes), and "T" for tebibytes (1024 gibibytes). A value of 0 sets an unlimited quota, but the size of the disk partition that houses the volume places an absolute limit on the volume's size. If the -path argument is omitted (to set the quota of the volume housing the current working directory), the -max switch must be included with this argument. -help Prints the online help for this command. All other valid options are ignored. EXAMPLES
The following command imposes a maximum quota of 3000 kilobytes on the volume that houses the /afs/abc.com/usr/smith directory: % fs setquota -path /afs/abc.com/usr/smith -max 3000 PRIVILEGE REQUIRED
The issuer must belong to the system:administrators group. SEE ALSO
fs_examine(1), fs_listquota(1), fs_quota(1), fs_mkmount(1), fs_setvol(1) COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved. This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell. OpenAFS 2012-03-26 FS_SETQUOTA(1)
All times are GMT -4. The time now is 03:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy