Sponsored Content
Operating Systems AIX Maxuproc parameter and number of processes Post 303033575 by MadeInGermany on Monday 8th of April 2019 01:48:33 PM
Old 04-08-2019
maxuproc limits the number of processes per user. In other words, each user can run up to maxuproc processes in parallel.
And 10 users can run a total of 10*maxuproc processes.
The limit does not apply for uid=0.
See also this article.
This User Gave Thanks to MadeInGermany For This Post:
 

10 More Discussions You Might Find Interesting

1. Solaris

How to find number of processes ?

Hi , I need to count all processes contains the pattren "FND" For Example: I was reteriving the details of all processes related to "FND" by this command $ ps -ef | grep FND but now I just wanna count them . Regards Adel (2 Replies)
Discussion started by: ArabOracle.com
2 Replies

2. UNIX for Dummies Questions & Answers

checking if parameter passed is a number

I have written a function that fills an array and another function where if a parameter is supplied it will jump to that part of the array and cat it to the screen. I need to put in some checks to make sure the parameter supplied is firstly a number and then not a number great than the length of... (2 Replies)
Discussion started by: magnia
2 Replies

3. Programming

How to limit the number of child processes

I need a mechanism to fork child processes and all child processes should connect to a server.but the number of child processes should be limited(for ex:50) Here's my pseudo, but I cant figure out how to limit the child process number. Should I use a semaphore? or what? for(;;)... (3 Replies)
Discussion started by: xyzt
3 Replies

4. Shell Programming and Scripting

Dynamic number of parameter

Hi all Is there away to create a script with dynamic number of parameter.. like the kill command in UNIX kill -9 xxx xxx cheers (4 Replies)
Discussion started by: co0oly
4 Replies

5. Shell Programming and Scripting

How to Control Number of Processes Running

Hi Is there a way to count how many processes a script has started, count how many of these have finished, and make the script wait if their difference goes over a given threshold? I am using a script to repeatedly execute a code (~100x) which converts 2 data files into one .plt which is in... (4 Replies)
Discussion started by: drbones
4 Replies

6. Shell Programming and Scripting

Check parameter is number or string

Hey I'm new in linux, I'm looking for a code to check whether the parameter is a number or a string. I have already tried this code: eerste=$(echo $1 | grep "^*$">aux) if But it doesn't work.:confused: Thanks (2 Replies)
Discussion started by: Eclecticaa
2 Replies

7. AIX

Maximum number of processes kernel parameter

Hi, Is there a maximum number of processes kernel parameter in AIX. Solaris has max_nprocs, HP-UX has nproc, I can only find max user process (maxuproc) for AIX. Thanks, Wilson. (3 Replies)
Discussion started by: wilsonee
3 Replies

8. AIX

Maxuproc vs ulimit -u [processes(per user)]

Morning, Somebody can tell me in AIX 6.1 what is the different between the maxuproc (lsattr -El sys0 | grep max) and the for a user. Example: Oracle is limited by : #ulimit -u processes(per user) unlimited But lsattr -El sys0| grep maxuproc show me : maxuproc 16384 So... (1 Reply)
Discussion started by: bacup540
1 Replies

9. UNIX for Dummies Questions & Answers

Maxuproc and limit

// AIX 6.1 & Power 7 server I have maxuproc set to 16384. lsattr -El sys0 -a maxuproc maxuproc 16384 Maximum number of PROCESSES allowed per user True What is the maximum number of maxuproc we can go for? If I increase maxuproc to the higher number, what would be ramifications? I... (1 Reply)
Discussion started by: Daniel Gate
1 Replies

10. Red Hat

Increase maxuproc value

Hi Guys, I am running RHEL6 and now my processes reach maximum limit. How do I increase the maxuproc value? Can I increase the value without rebooting the server? Thanks in advance... Please Help!!! (5 Replies)
Discussion started by: Phuti
5 Replies
getpriority(2)							System Calls Manual						    getpriority(2)

NAME
getpriority, setpriority - get or set process priority SYNOPSIS
DESCRIPTION
returns the priority of the indicated processes. sets the priority of the indicated processes to priority. The processes are indicated by which and who, where which can have one of the following values: Get or set the priority of the specified process where who is the process ID. A who of implies the process ID of the calling process. Get or set the priority of the specified process group where who is the process-group ID, indicating all processes belonging to that process-group. A who of implies the process-group ID of the calling process. Get or set the priority of the specified user where who is the user ID, indicating all processes owned by that user. A who of implies the user ID of the calling process. If more than one process is indicated, the value returned by is the lowest valued priority of all the indicated processes, and sets the priority of all indicated processes. priority is a value from to where lower values indicate better priorities. The default priority for a process is 0. If the calling process contains more than one thread or lightweight process (i.e., the process is multi-threaded) these functions shall apply to all threads or lightweight processes in the calling process. The priority specified (or retrieved) is the same for all threads or lightweight processes in a process. Negative priorities require appropriate privileges. Security Restrictions These system calls are subject to compartmental restrictions which restrict their access to processes in other compartments. This restric- tion covers for querying the priority of processes in other compartments, and for changing the priority of processes in other compartments. See compartments(5) for more information about compartmentalization on systems that support that feature. Compartmental restrictions can be overridden if the process has the privilege (PRIV_COMMALLOWED). Processes owned by the superuser may not have this privilege. Processes owned by any user may have this privilege, depending on system configuration. requires the privilege (PRIV_OWNER) to change the priority of a process whose uid does not match the caller's real or effective uid.. Pro- cesses owned by the superuser have this privilege. Processes owned by other users may have this privilege, depending on system configura- tion. requires the privilege (PRIV_LIMIT). Processes owned by the superuser have this privilege. Processes owned by other users may have this privilege, depending on system configuration. RETURN VALUE
returns the following values: Successful completion. n is an integer priority in the range to Failure. is set to indicate the error. See WARNINGS below. returns the following values: Successful completion. Failure. is set to indicate the error. ERRORS
If or fails, is set to one of the following values: [EACCES] The calling process does not have access rights to change one or more of the indicated processes. All processes for which access is allowed are still affected. [EINVAL] which is not one of the choices listed above, or who is out of range. [EPERM] The calling process attempted to change the priority of a process to a smaller priority value without having appro- priate privileges. [ESRCH] Processes indicated by which and who cannot be found. WARNINGS
can return both when it successfully finds a priority of and when it fails. To determine whether a failure occurred, set to before calling then examine after the call returns. AUTHOR
and were developed by the University of California, Berkeley. SEE ALSO
nice(1), renice(1M), nice(2). getpriority(2)
All times are GMT -4. The time now is 06:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy