12-22-2000
The ulimit command gives a size of 4194303 blocks which is tranlated to a 2GB limit as block size is 512 bytes. If I have to read a single file of size > 2 GB, how do I do it? The -f option does not permit even the root to increase it beyond this. Is there any other way?
[Edited by Neo on 12-22-2000 at 05:22 PM]
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I was just wondering if there is a way to recursive grep for something in this version of UNIX... so that I don't have to do it a directory at a time? (1 Reply)
Discussion started by: PBNOSGT
1 Replies
2. UNIX for Advanced & Expert Users
hi everybody
I have got a set of sco unix open server release 3.0 flopyy disks series N1, N2, M1, P1...P43, Release notes..
ý did a fresh installation. but ý cant install ethernet card. when ý use netconfig-ad a chain -tcpip... there is a messge :
the sco contain TCP/IP driver. and ý... (2 Replies)
Discussion started by: kaygusuz
2 Replies
3. UNIX for Dummies Questions & Answers
Greetings.
If I have a file with the following format:
joe__________blow
1313 mockingbird pl.
Los Angeles________, CA. 90210
bill__________clinton
1234 doghouse
New York__________, NY. 12345
(note: I underlined what are spaces in the list due to the fact the billboard spaces them... (4 Replies)
Discussion started by: gee-dub
4 Replies
4. UNIX for Dummies Questions & Answers
I am a complete UNIX newbie (although trying desperately to learn) - I've tried to find the answer here and on the SCO support site but probably don't understand well enough to see that the answer is staring me in the face! So apologies if I am asking a question that has been asked a million times... (4 Replies)
Discussion started by: kath
4 Replies
5. UNIX for Dummies Questions & Answers
Hello -
O/S is UnixWare 7.1.4
My prefered method of copying files between servers is 'rcp', which does not recognize symbolic links; therefore, files are duplicated many times over.
To avoid this duplication, I would like to use 'tar' and/or 'cpio' and pipe them through 'rcp', but... (1 Reply)
Discussion started by: rm -r *
1 Replies
6. SCO
hello, i want to install release 5.0.5 on my notebook but the system hangs when extracing files from source media in fact after configuration all of setting please help me:confused: (1 Reply)
Discussion started by: hossein
1 Replies
7. SCO
I would like to know if anyone has a way to PRINT TO a printer attached to a Windows 7 PC, from SCO, while logged in via a VPN connection.
I am able to attach to a Samba share on the SCO server for files while attached to the VPN, so I know my Samba is workling - but my print jobs return:
... (2 Replies)
Discussion started by: tbb999
2 Replies
8. SCO
UNIX sco release 5.05 system does not boot:
cannot open device hd(40)/boot
stage 1 boot failure: error loading hd(40)/boot
what to do? (1 Reply)
Discussion started by: Joaoalpande
1 Replies
9. UNIX for Advanced & Expert Users
UNIX sco release 5.05 system does not boot:
cannot open device hd(40)/boot
stage 1 boot failure: error loading hd(40)/boot
what to do? (5 Replies)
Discussion started by: Joaoalpande
5 Replies
LEARN ABOUT FREEBSD
ulimit
ULIMIT(3) BSD Library Functions Manual ULIMIT(3)
NAME
ulimit -- get and set process limits
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <ulimit.h>
long
ulimit(int cmd, ...);
DESCRIPTION
The ulimit() function will get and set process limits. Currently this is limited to the maximum file size. The cmd argument is one of the
following:
UL_GETFSIZE will return the maximum file size in units of 512 blocks of the current process.
UL_SETFSIZE will attempt to set the maximum file size of the current process and its children with the second argument expressed as a long.
RETURN VALUES
Upon successful completion, ulimit() returns the value requested; otherwise the value -1 is returned and the global variable errno is set to
indicate the error.
ERRORS
The ulimit() function will fail if:
[EINVAL] The command specified was invalid.
[EPERM] The limit specified to ulimit() would have raised the maximum limit value, and the caller is not the super-user.
SEE ALSO
getrlimit(2)
STANDARDS
The ulimit() function conforms to IEEE Std 1003.1-2001 (``POSIX.1'').
HISTORY
The ulimit() function first appeared in FreeBSD 5.0.
BUGS
The ulimit() function provides limited precision for setting and retrieving process limits. If there is a need for greater precision than
the type long provides, the getrlimit(2) and setrlimit(2) functions should be considered.
BSD
January 4, 2003 BSD