Sponsored Content
Full Discussion: memory limits
Top Forums UNIX for Dummies Questions & Answers memory limits Post 302597296 by kalyanilinux on Friday 10th of February 2012 12:00:10 AM
Old 02-10-2012
memory limits

hello..
My task now is to set memory limits to users in a linux system. I found out two ways, one is using disk quotas and the other is using PAM. But my question here is what is the difference between these two. We have 'memlock' in PAM and we can set limits using quota also. Are they both same?? Please help..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

tar--limits ????

Hi! All, This is True64 Unix, 4.0.F patch kit 4 I have a 15GB Oracle dump file that I have to backup to tape. I am trying to use "tar" to dump it to tape, but tar complained that the file was too big and that it was truncating it!. I am compressing the file using the "compress" utility.... (3 Replies)
Discussion started by: sdharmap
3 Replies

2. UNIX for Advanced & Expert Users

user access limits?

how do i limit access for users so that they can only login via FTP and can only view/make changes to their own directories only. (1 Reply)
Discussion started by: sphiengollie
1 Replies

3. UNIX for Advanced & Expert Users

.netrc limits in Aix 4.3

Does anyone know what the max char limit is for login in .netrc? Thanks, Jeff (0 Replies)
Discussion started by: lawadm1
0 Replies

4. Linux

limits.conf

Hello! How do make the limits.conf parameters work for a normal user. Ive changed both the hard and soft parameter for the specific user. It used to be 4096 and i changed it to 16384. But when i use the ulimit -n, all i got is permissen denied. Witch i can understand. But my question is? how... (1 Reply)
Discussion started by: dozy
1 Replies

5. UNIX for Dummies Questions & Answers

limits.conf

I have line in this file that says: username - maxlogins 1 and user can login 2 times instad of one. does enybody know why? and how can I fix that? (2 Replies)
Discussion started by: shooroop
2 Replies

6. Solaris

FTP limits - mput *

I am trying to upload via FTP 11,000 files in a Solaris 8 system. I am using Windows 2000 and its FTP client to upload the files. The command used is mput *.jpg.When the quantity of files reaches 10,000 the upload aborts. Is this problem related with the FTP client ? If yes, another FTP client... (2 Replies)
Discussion started by: waldecy
2 Replies

7. Programming

semaphore limits

Hi Could anybody tell me how can i see the semaphore limits on my system. I am using solaris 8. Thanks in advance (2 Replies)
Discussion started by: axes
2 Replies

8. UNIX Desktop Questions & Answers

File size limits

I want to increase the file size, I am trying to store the output but it's not storing the whole output in to the file (7 Replies)
Discussion started by: navintsm
7 Replies

9. UNIX for Dummies Questions & Answers

Soft and hard limits for nproc value in /etc/security/limits.conf file (Linux )

OS version : RHEL 6.5 Below is an excerpt from /etc/security/limits.conf file for OS User named appusr in our server appusr soft nproc 2047 appusr hard nproc 16384 What will happen if appusr has already spawned 2047 processes and wants to spawn 2048th process ? I just want to know... (3 Replies)
Discussion started by: kraljic
3 Replies

10. Programming

Limits on 32 and 64 bit in C++ / C

Hi All, I am getting below run time error I checked the code and see the structure defined as below and using the file position variable typedef struct Get_file { char *current_pathname; unsigned int tot_bytes_io, physical_position; int... (2 Replies)
Discussion started by: arunkumar_mca
2 Replies
EDQUOTA(8)						      System Manager's Manual							EDQUOTA(8)

NAME
edquota - edit user quotas SYNOPSIS
edquota [ -p protoname ] [ -u | -g ] [ -r ] [ -F format-name ] [ -f filesystem ] username... edquota [ -u | -g ] [ -F format-name ] [ -f filesystem ] -t DESCRIPTION
edquota is a quota editor. One or more users or groups may be specified on the command line. For each user or group a temporary file is created with an ASCII representation of the current disk quotas for that user or group and an editor is then invoked on the file. The quo- tas may then be modified, new quotas added, etc. Setting a quota to zero indicates that no quota should be imposed. Users are permitted to exceed their soft limits for a grace period that may be specified per filesystem. Once the grace period has expired, the soft limit is enforced as a hard limit. The current usage information in the file is for informational purposes; only the hard and soft limits can be changed. 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 either the EDITOR or the VISUAL environment variable specifies otherwise. Only the super-user may edit quotas. OPTIONS
-r Edit also non-local quota use rpc.rquotad on remote server to set quota. The -n option is equivalent, and is maintained for back- ward compatibility. -u Edit the user quota. This is the default. -g Edit the group quota. -p protoname Duplicate the quotas of the prototypical user specified for each user specified. This is the normal mechanism used to initialize quotas for groups of users. -F format-name Edit quota for specified format (ie. don't perform format autodetection). Possible format names are: vfsold (version 1 quota), vfsv0 (version 2 quota), rpc (quota over NFS), xfs (quota on XFS filesystem) -f filesystem Perform specified operations only for given filesystem (default is to perform operations for all filesystems with quota). -t Edit the soft time limits for each filesystem. In old quota format if the time limits are zero, the default time limits in <linux/quota.h> are used. In new quota format time limits must be specified (there is no default value set in kernel). Time units of seconds, minutes, hours, days, weeks, and months are understood. Time limits are printed in the greatest possible time unit such that the value is greater than or equal to one. FILES
aquota.user or aquota.group quota file at the filesystem root (version 2 quota, non-XFS filesystems) quota.user or quota.group quota file at the filesystem root (version 1 quota, non-XFS filesystems) /etc/mtab mounted filesystems table SEE ALSO
quota(1), vi(1), quotactl(2), quotacheck(8), quotaon(8), repquota(8) EDQUOTA(8)
All times are GMT -4. The time now is 10:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy