Sponsored Content
Full Discussion: Directory size limit
Top Forums UNIX for Dummies Questions & Answers Directory size limit Post 302492026 by rdcwayx on Saturday 29th of January 2011 07:02:34 AM
Old 01-29-2011
mount /export/example/ to separate filesystem, and assign 5G on it.
This User Gave Thanks to rdcwayx For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Limit size of the file

How do I limit size of a file to 1 MB or something like that under Linux? (4 Replies)
Discussion started by: _hp_
4 Replies

2. UNIX for Advanced & Expert Users

File Size Limit

Hi, I have a problem writing or copying a file 2GB or larger to either the second or third disk on my C8000. I've searched this forum and found some good information on this but still nothing to solve the problem. I'm running hpux 11i, JFS3.3 and disk version 4 (from fstyp) on all 3 disks. ... (2 Replies)
Discussion started by: HaidoodFaulkauf
2 Replies

3. UNIX for Dummies Questions & Answers

Limit Folder Size

Is there a way to limit a certain folder size(e.g. Documents, Desktop)? :) (2 Replies)
Discussion started by: tisdmin
2 Replies

4. UNIX for Dummies Questions & Answers

can I limit the size of a directory?

Hi, I am not root, but I need to limit the size of my directory, so that it cannot contain more than 200M of stuff inside. Is this possible? Also, how can I see the total size of that directory? If I do ls -ltrd, it does not give me the size of all the files inside the directory. And if I do df... (6 Replies)
Discussion started by: JamesByars
6 Replies

5. Linux

Limit directory size

Hello I want to limit the size of a directory; so a user cant copy more staff inside it then 5 Giga for example.. eg. /nfs/temp/jhon size can not increase more that 5Gb I havnt found anything on the net. Is there a way to do it? (2 Replies)
Discussion started by: jredx
2 Replies

6. UNIX for Advanced & Expert Users

logrotate size limit

Hi i configured log rotate for a specific file. /var/log/sauer i configured create a file in logrotate.d # cat /etc/logrotate.d/sauer #this is a logrotate configuration file for msu_ng logs /var/log/sauer { rotate 5 size=1M daily compress ... (5 Replies)
Discussion started by: modcan
5 Replies

7. UNIX for Advanced & Expert Users

file size limit?

hi, how can I find out what the limit of a file size is on unix? thanks (6 Replies)
Discussion started by: JamesByars
6 Replies

8. Shell Programming and Scripting

Limit on a File size.

Hi All, I want to store 32KB of file in Oracle DB into CLOB field. I am not able to insert more than 32KB of file into CLOB. So i want to put a limit on the file size. I am using k shell. My file size will dynamically increase its size, i want to check the file size if it is more than 32KB... (1 Reply)
Discussion started by: rajeshorpu
1 Replies

9. 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

10. AIX

Limit directory Size in AIX

Hello I have a disk mounted on my AIX server and inside the disk, I want to create 3 directories with max size limit, so that the directories can be limited to pre-defined size. Eg: My total disk size is 350 GB and I want to limit dir1 to max of 100 GB, dir 2 to 75 GB and dir 3 to 60 GB and... (3 Replies)
Discussion started by: karumudi7
3 Replies
resource.h(3HEAD)						      Headers							 resource.h(3HEAD)

NAME
resource.h, resource - definitions for resource operations SYNOPSIS
#include <sys/resource.h> DESCRIPTION
The <sys/resource.h> header defines the symbolic constants listed below as possible values of the which argument of getpriority() and set- priority(). See getpriority(3C). PRIO_PROCESS identifies the who argument as a process ID PRIO_PGRP identifies the who argument as a process group ID PRIO_USER identifies the who argument as a user ID The following type is defined through typedef: rlim_t unsigned integer type used for limit values The following symbolic constants are defined: RLIM_INFINITY a value of rlim_t indicating no limit RLIM_SAVED_MAX a value of type rlim_t indicating an unrepresentable saved hard limit RLIM_SAVED_CUR a value of type rlim_t indicating an unrepresentable saved soft limit The symbolic constants listed below are defined as possible values of the who parameter of getrusage(). See getrusage(3C). RUSAGE_SELF returns information about the current process RUSAGE_CHILDREN returns information about children of the current process The <sys/resource.h> header defines the rlimit structure, which includes the following members: rlim_t rlim_cur /* the current (soft) limit */ rlim_t rlim_max /* the hard limit */ The <sys/resource.h> header defines the rusage structure, which includes the following members: struct timeval ru_utime /* user time used */ struct timeval ru_stime /* system time used */ The timeval structure is defined as described in <sys/time.h>. The symbolic constants listed below are defined as possible values for the resource argument of getrlimit() and setrlimit(). See getr- limit(2). RLIMIT_CORE limit on size of core dump file RLIMIT_CPU limit on CPU time per process RLIMIT_DATA limit on data segment size RLIMIT_FSIZE limit on file size RLIMIT_NOFILE limit on number of open files RLIMIT_STACK limit on stack size RLIMIT_AS limit on address space size The id_t type is defined through typedef as described in <sys/types.h>. See types.h(3HEAD). Inclusion of the <sys/resource.h> header can also make visible all symbols from <sys/time.h>. See time.h(3HEAD). ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ SEE ALSO
getrlimit(2), getpriority(3C), time.h(3HEAD), types.h(3HEAD), attributes(5), standards(5) SunOS 5.10 10 Sep 2004 resource.h(3HEAD)
All times are GMT -4. The time now is 01:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy