11-27-2006
ranj@chn, you need to start using our search function. Search the HP-UX forum using "largefiles" as the keyword.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am trying to understand the webserver log file for an error which has occured on my live web site.
The webserver access file is very big in size so it's not possible to open this file using vi editor. I know the approximate time the error occured, so i am interested in looking for the log file... (4 Replies)
Discussion started by: sehgalniraj
4 Replies
2. Shell Programming and Scripting
Hi Unix gurus,
We have a masterfile which is to be split into smallerfiles with names as
masterfile00,masterfile01,masterfile03...etal
I was able to split the file using the "Split" cmd
but as masterfileaa,masterfileab..
Is it posiible to change the default suffix?
or is there any other... (2 Replies)
Discussion started by: Rvbs
2 Replies
3. UNIX for Dummies Questions & Answers
Is it possible?
I am trying to do it with gzip 1.2.4 and it comes back saying the file type is too large.
Any way to compress massive things? (2 Replies)
Discussion started by: LordJezo
2 Replies
4. UNIX for Dummies Questions & Answers
dears,
I have a folder containing huge no. of files, some of them are created on AUG 16, AUG 17 and AUG 18, for example.
All I want to do is tarring all the files created on a certain date, say AUG 18, in one tar file, only in one command line.
So, how to feed all the files created on a certain... (4 Replies)
Discussion started by: marwan
4 Replies
5. UNIX for Dummies Questions & Answers
I have found the following code on this forum
ls -lh | awk '{print $5,$9}' | sort -n
Its purpose is to show a list of files in a dir sorted by file size. I need to make it recursive
ls -lhR | awk '{print $5,$9}' | sort -n
The problem is that there are lots of files on the... (3 Replies)
Discussion started by: jadionne
3 Replies
6. Shell Programming and Scripting
Hi,
i want to compare 2 large files both around 300 mb. They are text files having only one column of numbers. I wish to get the unique values in file2. I tried using diff but it gave an error of memory exhausted. Both files are sorted and i am running on a 1gb ram core 2 duo 2ghz. Help!!
Thanks... (4 Replies)
Discussion started by: bezudar
4 Replies
7. UNIX for Dummies Questions & Answers
When I have a file for example with the wrong name I normally use the cp {filename} {new filename} comand so I will have the original as well as the correct named file. Just for backup purposes.
Problem: I have a file that is 24gb with a case sensitive filename. The file was named with upper... (3 Replies)
Discussion started by: trek88
3 Replies
8. Shell Programming and Scripting
Hello everyone!
I have 2 types of files in the following format:
1) *.fa
>1234
...some text...
>2345
...some text...
>3456
...some text...
.
.
.
.
2) *.info
>1234 (7 Replies)
Discussion started by: ad23
7 Replies
9. Solaris
Hello everyone. Need some help copying a filesystem. The situation is this: I have an oracle DB mounted on /u01 and need to copy it to /u02. /u01 is 500 Gb and /u02 is 300 Gb. The size used on /u01 is 187 Gb. This is running on solaris 9 and both filesystems are UFS.
I have tried to do it using:... (14 Replies)
Discussion started by: dragonov7
14 Replies
10. UNIX for Advanced & Expert Users
Hi All,
I am using iconv to convert huge files. the process is getting killed. I tried the option in below link
https://www.unix.com/shell-programming-and-scripting/258825-iconv-large-files.html
i.e
iconv -f UCS-2 -t UTF-8 < inputfile.txt > outputfile.txt
However, the process still gets... (4 Replies)
Discussion started by: tostay2003
4 Replies
creat64(2) System Calls Manual creat64(2)
NAME
creat64(), fstat64(), fstatvfs64(), getrlimit64(), lockf64(), lseek64(), lstat64(), mmap64(), open64(), pread64(), prealloc64(),
pwrite64(), setrlimit64(), stat64(), statvfs64(), truncate64(), ftruncate64(), O_LARGEFILE - non-POSIX standard API interfaces to support
large files
SYNOPSIS
DESCRIPTION
New API's to support large files in 32-bit applications. These API interfaces are not a part of the POSIX standard and may be removed in
the future.
The function returns a file descriptor which can be used to grow the file past 2 GB if desired. All other functional
behaviors, returns, and errors are identical to
The function is identical to except that returns file status in a instead of a All other functional behaviors,
returns, and errors are identical.
The function is indentical to except that returns file status in a struct instead of a struct
The function is identical to except that passes a as its second parameter instead of a All other functional behaviors,
returns, and errors are identical.
The function is identical to except that accepts an for the size parameter instead of All other functional behaviors,
returns, and errors are identical.
The function is identical to except that accepts an type as the desired offset and has a return value of All other
functional behaviors, returns, and errors are identical.
The function is identical to except that returns file status in a instead of All other functional behaviors, returns,
and errors are identical.
The function is identical to except that accepts the file offset as an
The function opens files of any size. It returns a file descriptor which can be used to grow the file past 2 GB if
desired. All other functional behaviors, returns, and errors are identical to
The function is identical to except that accepts the file offset as an All other functional behaviors, returns, and
errors are identical to
The function is identical to except that accepts the file offset as an All other functional behaviors, returns, and
errors are identical to
The function is identical to except that accepts the file offset as an All other functional behaviors, returns, and
errors are identical to
The function is identical to except that passes a as its second parameter instead of a All other functional behaviors,
returns, and errors are identical.
The function is identical to except that returns file status in a instead of a
Refer to
The function is identical to except that accepts the length parameter as an instead of All other functional behaviors,
returns, and errors are identical to
The function is identical to except that accepts the length parameter as an instead of All other functional behaviors,
returns, and errors are identical to
Setting in a call to or is equivalent to calling or both of which set in the file status flags. This bit is automatically
set by and if is set to 64. The bit may be queried by (or which can also turn the bit on or off if desired.
APPLICATION USAGE
The standard POSIX interfaces may be used by 32-bit applications to create and access large files if compiled with set to 64.
The interfaces described here are alternatives to the standard ones, and are enabled by defining
For 64-bit applications, access to large files is automatic, as long as the underlying file system is enabled for large files. The inter-
faces on this man page are available to 64-bit applications, for convenience in porting, but provide no additional capabilities. The
exception is which is not visible to 64-bit applications.
SEE ALSO
creat(2), thread_safety(5).
creat64(2)