09-14-2009
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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. Solaris
I want to have a permanent file created - and limit the size that this file can grow.. I want a circular file..
ie max size of file is 10 mb.. and if any new data written to file the oldest data removed..
How can I do this?
I am on solaris 9 x86 (3 Replies)
Discussion started by: frustrated1
3 Replies
3. AIX
Can anybody help me?
How to increase file size limit in aix 5.2? I have already specified in /etc/security/limits file :
default:
fsize = -1
core = 2097151
cpu = -1
data = -1
rss = -1
stack = -1
nofiles = 2000 (2 Replies)
Discussion started by: vjm
2 Replies
4. Programming
When i run my C program which dynamically creates the output file, the program stops after sometime and gives the error "File size limit exceeded" even though my working directory has space.Can anyone plz help me out. (13 Replies)
Discussion started by: drshah
13 Replies
5. UNIX for Advanced & Expert Users
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
6. UNIX for Dummies Questions & Answers
Is there any size limit for FTPing file from one unix system to another? (6 Replies)
Discussion started by: swarup2008
6 Replies
7. Shell Programming and Scripting
My code is
awk '{
out=split(FILENAME,a,"/")
sub(/\./,"_",a)
sub(/\-/,"_",a)
NEWSTRING="main_"a"_"a"(" # The word we want to insert
gsub(/main\(/,NEWSTRING); # the word to be replaced
print "Main becomes ",NEWSTRING")","in file ",FILENAME >> "/home/ds2/test/NEW2.txt" ... (4 Replies)
Discussion started by: senior_ahmed
4 Replies
8. Shell Programming and Scripting
Hi,
Can some one please tell me the file size limit (if any) while using sftp
I am trying to transfer a file ( size is almost 350 MB ) but it fails as shown below.
sftp> put file1 ./file1
Uploading file1 to /dir1/./file1
file1 25% 100MB 10.2MB/s 00:28 ETA
Couldn't write to remote... (6 Replies)
Discussion started by: vikash_k
6 Replies
9. Shell Programming and Scripting
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
10. HP-UX
Greetings,
I'm attempting to dump a filesystem from a RHEL5 Linux server to a VXFS filesystem on an HP-UX server. The VXFS filesystem is large file enabled and I've confirmed that I can copy/scp a file >2GB to the filesystem.
# fsadm -F vxfs /os_dumps
largefiles
# mkfs -F vxfs -m... (12 Replies)
Discussion started by: bkimura
12 Replies
LEARN ABOUT OPENSOLARIS
resource.h
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.11 10 Sep 2004 resource.h(3HEAD)