11-14-2007
The posts in the FAQ submission queue are for submitting a FAQ to be put up. Not for asking questions. I have moved the thread to the AIX forum where it has the best chance of being answered.
Also, suggest that you do a bit of searching on the net before asking questions.
This man page should help.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
as per my Unix admin all parameters in Ulimit are set to Unlimited in Hard limits but some how few profiles setting data segment part to limited number value. So i wanted to over write in my profile to set unlimited as hard limits are set to unlimited. What is the command to set ulimit for... (1 Reply)
Discussion started by: terala_s
1 Replies
2. AIX
Hi all
Can any1 tell me how to check the AIX version on my server.
I have used uname -a but it does not give a specific version number. (4 Replies)
Discussion started by: masquerer
4 Replies
3. AIX
Anyone can help me explain the mean of AIX 5L 5.3 ML3
I don't know "what re - 5L mean and ML3 mean "
Tks all. (2 Replies)
Discussion started by: quan0509
2 Replies
4. AIX
Hello,
How can I setup the ulimit for memory permanent
ulimit -m unlimited
ulimit -a Output from the ulimit command should be similar to the following:time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 2097152
stack(kbytes) 32768... (4 Replies)
Discussion started by: filosophizer
4 Replies
5. AIX
I have been given multiple years of login files to determine workload. How do I determine the year in regards to the login. This is what is looks like now.
witkoaxdm/_0Sep 13 07:45 still logged in.
thank you (1 Reply)
Discussion started by: wildchild
1 Replies
6. HP-UX
Hi all
I have a request from user to change the file descriptors limit to 8192. The current setting are:
root@xxxxx:(wmdev)> ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 131072
memory(kbytes) unlimited... (3 Replies)
Discussion started by: hedkandi
3 Replies
7. AIX
Hello,
I've set up email alerts on AIX Servers. so that i can get email notifications (via mail relay server) when ever there is abnormal behavior.
for example
1) my script monitors CPU/disk/memory etc... when it reaches high water ark, it will send an email alert.
2) disk usage alerts
3)... (5 Replies)
Discussion started by: System Admin 77
5 Replies
8. AIX
Hi,
what are the ideal/best/recommended ulimit settings for a root user in AIX?
I understand that it depends on our environment. But I would like to know...what are settings you guys use in your environment for best performance.
default:
fsize = 2097151
core = 2097151
... (8 Replies)
Discussion started by: System Admin 77
8 Replies
9. UNIX for Beginners Questions & Answers
Hi,
I would like to upgrade my AIX box 6.1 to 7.1/7.2.
Current info of my AIX 6.1 box
/ > oslevel -s
6100-09-11-1810
System Model: IBM,9117-MMD
Machine Serial Number: xxx
Processor Type: PowerPC_POWER7
Processor Implementation Mode: POWER 7
Processor Version: PV_7_Compat
Number Of... (10 Replies)
Discussion started by: Phat
10 Replies
10. UNIX for Advanced & Expert Users
I have seen two different ways for changing the ulimit for a user in aix. Which one is better?
Option 1
edit /etc/security/limits
oracle:
fsize = -1
data = -1
stack = -1
fsize_hard = -1
nofiles = -1
nofiles_hard = -1
Option 2
... (6 Replies)
Discussion started by: cokedude
6 Replies
LEARN ABOUT NETBSD
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 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