Sponsored Content
Top Forums UNIX for Dummies Questions & Answers ulimit on sco release 3.2v5.0.4 Post 661 by PxT on Thursday 21st of December 2000 06:12:51 PM
Old 12-21-2000
All shells that I know of have a built in ulimit command. Just use: ulimit <n>
where n is the max file size (usually given in 512 byte blocks). This does not have anything to do with mounting file systems.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

SCO UNIX System V/386, Release 3.2

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

Sco Unix OpenServer Release 3.0

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

SCO 3.2v5.05Eb: ? on trimming strings

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

Installing SCO release supplement

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

File size limit exceeded... SCO ulimit?

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

sco openserver release 5.0.5 installation problems on notebook

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

Printing to Windows 7 using Samba 2.0.3 via VPN connection to SCO 3.2v5.0.6

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

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

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
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 int ulimit(int cmd, ...); DESCRIPTION
The ulimit() function provides a method to query or alter resource limits of the calling process. The method to be performed is specified by the cmd argument; possible values are: UL_GETFSIZE Return the soft file size limit of the process. The value returned is in units of 512-byte blocks. If the result cannot be represented in an object of type long int, the result is unspecified. UL_SETFSIZE Set the hard and soft file size limits of the process to the value of the second argument passed, which is in units of 512-byte blocks, and which is expected to be of type long int. The new file size limit of the process is returned. Any process may decrease the limit, but raising it is only permitted if the caller is the super-user. If successful, the ulimit() function will not change the setting of errno. RETURN VALUES
If successful, the ulimit() function returns the value of the requested limit. Otherwise, it returns -1, sets errno to indicate an error, and the limit is not changed. Therefore, to detect an error condition applications should set errno to 0, call ulimit(), and check if -1 is returned and errno is non-zero. ERRORS
The ulimit() function will fail if: [EINVAL] The cmd argument is not valid. [EPERM] It was attempted to increase a limit, and the caller is not the super-user. SEE ALSO
getrlimit(2), setrlimit(2) STANDARDS
The ulimit() function conforms to X/Open System Interfaces and Headers Issue 5 (``XSH5'') and IEEE Std 1003.1-2001 (``POSIX.1''). It was marked as obsolete in the IEEE Std 1003.1-2008 (``POSIX.1'') revision, which recommended the use of getrlimit(2) and setrlimit(2) instead, noting that because ulimit() uses the type long rather than rlim_t, it may not be sufficient for file sizes on many current systems. BSD
April 30, 2010 BSD
All times are GMT -4. The time now is 07:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy