Sponsored Content
Full Discussion: Set maximum memory for user
Top Forums UNIX for Dummies Questions & Answers Set maximum memory for user Post 302905198 by bakunin on Tuesday 10th of June 2014 08:20:51 AM
Old 06-10-2014
I am no Solaris expert, so take this with some grain of salt:

There is a file in /etc (if i remember correctly "/etc/limits" or something such) where every user-specific limit is set. You can edit this file with a text editor.

I hope this helps.

bakunin
 

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
edquota(1M)                                               System Administration Commands                                               edquota(1M)

NAME
edquota - edit user quotas for ufs file system SYNOPSIS
edquota [-p proto_user] username... edquota -t DESCRIPTION
edquota is a quota editor. One or more users may be specified on the command line. For each user a temporary file is created with an ASCII representation of the current disk quotas for that user for each mounted ufs file system that has a quotas file, and an editor is then invoked on the file. The quotas may then be modified, new quotas added, etc. Upon leaving the editor, edquota reads the temporary file and modifies the binary quota files to reflect the changes made. The editor invoked is vi(1) unless the EDITOR environment variable specifies otherwise. Only the super-user may edit quotas. In order for quotas to be established on a file system, the root directory of the file system must contain a file, owned by root, called quotas. (See quotaon(1M).) proto_user and username can be numeric, corresponding to the UID of a user. Unassigned UIDs may be specified; unassigned names may not. In this way, default quotas can be established for users who are later assigned a UID. If no options are specified, the temporary file created will have one or more lines of the format, where a block is considered to be a 1024 byte(1K) block: fs mount_point blocks (soft =number, hard =number ) inodes (soft =number, hard =number) The number fields may be modified to reflect desired values. OPTIONS
The following options are supported: -p Duplicate the quotas of the proto_user specified for each username specified. This is the normal mechanism used to initialize quo- tas for groups of users. -t Edit the soft time limits for each file system. If the time limits are zero, the default time limits in /usr/include/sys/fs/ufs_quota.h are used. The temporary file created will have one or more lines of the form fs mount_point blocks time limit = number tmunit, files time limit = number tmunit tmunit may be one of ``month'', ``week'', ``day'', ``hour'', ``min'' or ``sec''; characters appended to these keywords are ignored, so you may write ``months'' or ``minutes'' if you prefer. The number and tmunit fields may be modified to set desired values. Time limits are printed in the greatest possible time unit such that the value is greater than or equal to one. If ``default'' is printed after the tmunit, this indicates that the value shown is zero (the default). USAGE
See largefile(5) for the description of the behavior of edquota when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes). FILES
quotas quota file at the file system root /etc/mnttab table of mounted file systems ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
vi(1), quota(1M), quotacheck(1M), quotaon(1M), repquota(1M), attributes(5), largefile(5), quotactl(7I) NOTES
All UIDs can be assigned quotas. SunOS 5.10 14 Feb 2003 edquota(1M)
All times are GMT -4. The time now is 08:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy