Sponsored Content
Full Discussion: Set maximum memory for user
Top Forums UNIX for Dummies Questions & Answers Set maximum memory for user Post 302905273 by achenle on Tuesday 10th of June 2014 03:52:22 PM
Old 06-10-2014
man resource_controls
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Maximum number of threads per user

Anybody knows how to setup Maximum number of threads per user or some other value on Sun Solaris 8. (1 Reply)
Discussion started by: s_aamir
1 Replies

2. Solaris

MAximum ammount of memory

Wich is the maxumum ammount of memory supported by Solaris in the most recent version? And somebody knows if there is a document on SUN that support this? In advance thanks. (8 Replies)
Discussion started by: GEIER
8 Replies

3. Programming

Regarding the maximum memory allocated by malloc() function on HP-UX B11.11

In a 'C' program,when I am trying to allocate memory with the help of malloc () function, it is allocating the memory up to a certain limit for e.g. in my case, it is 670 MB (approx). malloc() returns NULL if I allocate more than this amount of memory.When I tried to allocate memory in chunks of... (1 Reply)
Discussion started by: vipinsachan
1 Replies

4. UNIX for Dummies Questions & Answers

Set up user trusting

dears am having 310-200 exam tomorrow and am preparing my self for the exam but i am confused of the below question: Q: You receive a request to set up trusting for user1 when user1 logs in to system1 from system2. so the choices are: A)system 1 user 1. B)user 1 system 2. C)system 2... (3 Replies)
Discussion started by: thehero
3 Replies

5. Solaris

cant set password for user

hi everybody i cant set password for user (jam) i tried to #passwd jam enter newpasswd : after enter it showing passwd : cannot get default domain:internal yp server or client error i also check cat /etc/shadow file jam:*:LK*:........ user is locked ... and i... (4 Replies)
Discussion started by: coolboys
4 Replies

6. Shell Programming and Scripting

Maximum number from input by user

I am trying to calculate the maximum number from four numbers input by the user. I have the following code, but it does not work. It says there's an error with the last line "done". Any help would be appreciated. max=0 echo "Please enter four numbers: " for i in 1 2 3 4 do read number... (17 Replies)
Discussion started by: itech4814
17 Replies

7. Filesystems, Disks and Memory

Maximum Memory RAM for windows 7 32 bit

Hi, i have just installed 4 gb RAM ddr3 on OS Windows 7 32 bit. In "manage peripherals" i see this section: Memory installed (ram) : 4,00 gb (2,30gb usable) Why only 2,30 gb usable ? In Windows 7 32bit the maximum size is not 3,00gb ? see file attached, please (4 Replies)
Discussion started by: nash83
4 Replies

8. AIX

Permanently set maxdata to maximum

Hi, I've a 32-bit program running on AIX. By default the memory limit of the process is 256 MB as per the 32-bit AIX OS behavior. This can be changed using the LDR_CNTRL=maxdata environment variable. Baseed on the value that we set in terms of increments of segments the process... (6 Replies)
Discussion started by: kprajesh
6 Replies

9. Red Hat

Cannot set 'soft limits' for 'maximum stack size' for a standard user

Hi Guys, I'm trying to install Oracle Database on to Oracle Linux 7.6 but when the database install package checks the OS set-up, it keeps on failing on the soft limits for the stack. It's default value is 8192 but I'm trying to set it to 10240. This is what I added to... (2 Replies)
Discussion started by: ASGR
2 Replies
rctladm(1M)															       rctladm(1M)

NAME
rctladm - display or modify global state of system resource controls SYNOPSIS
rctladm [-lu] [-e action] [-d action] [name...] The rctladm command allows the examination and modification of active resource controls on the running system. An instance of a resource control is referred to as an rctl. See setrctl(2) for a description of an rctl; see resource_controls(5) for a list of the rctls supported in the current release of the Solaris operating system. Logging of rctl violations can be activated or deactivated system-wide and active rctls (and their state) can be listed. The following options are supported: -d action Disable (-d) or enable (-e) the global action on the specified rctls. If no rctl is specified, no action is taken and an -e action error status is returned. You can use the special token all with the disable option to deactivate all global actions on a resource control. You can set the syslog action to a specific degree by assigning a severity level. To do this, specify syslog=level, where level is one of the string tokens given as valid severity levels in syslog(3C). You can omit the common LOG_ prefix on the severity level. -l List available rctls with event status. This option displays the global event actions available for each rctl and the action name used with the enable (-e) and disable (-d) options. The global flag values for the control are also displayed. If one or more name operands are specified, only those rctls matching the given names is displayed. This is the default action if no options are specified. -u Configure resource controls based on the contents of /etc/rctladm.conf. Any name operands are ignored. The following operands are supported: name The name of the rctl to operate on. Multiple rctl names may be specified. If no names are specified, and the list action has been specified, then all rctls are listed. If the enable or disable action is specified, one or more rctl names must be specified. Example 1: Activating System Logging for Specific Violations The following command activates system logging of all violations of task.max-lwps. # rctladm -e syslog task.max-lwps # Example 2: Examining the Current Status of a Specific Resource The following command examines the current status of the task.max-lwps resource. $ rctladm -l task.max-lwps task.max-lwps syslog=DEBUG $ The following exit values are returned: 0 Successful completion. 1 A fatal error occurred. A message is written to standard error to indicate each resource control for which the operation failed. The operation was successful for any other resource controls specified as operands. 2 Invalid command line options were specified. /etc/rctladm.conf Each time rctladm is executed, it updates the contents of rctladm.conf with the current configuration. See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWesu | +-----------------------------+-----------------------------+ setrctl(2), getrctl(2), prctl(1), rctlblk_get_global_flags(3C), rctlblk_get_global_action(3C), attributes(5), resource_controls(5) By default, there is no global logging of rctl violations. 1 Oct 2004 rctladm(1M)
All times are GMT -4. The time now is 06:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy