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
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
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
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
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
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
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
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
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
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
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
QUOTA(1) General Commands Manual QUOTA(1)
NAME
quota - display disk usage and limits
SYNOPSIS
quota [ -F format-name ] [ -guvs | q ]
quota [ -F format-name ] [ -uvs | q ] user
quota [ -F format-name ] [ -gvs | q ] group
DESCRIPTION
quota displays users' disk usage and limits. By default only the user quotas are printed.
quota reports the quotas of all the filesystems listed in /etc/mtab. For filesystems that are NFS-mounted a call to the rpc.rquotad on the
server machine is performed to get the information.
OPTIONS
-F format-name
Show 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)
-g Print group quotas for the group of which the user is a member. The optional
-u flag is equivalent to the default.
-v will display quotas on filesystems where no storage is allocated.
-s flag will make quota(1) try to choose units for showing limits, used space and used inodes.
-q Print a more terse message, containing only information on filesystems where usage is over quota.
Specifying both -g and -u displays both the user quotas and the group quotas (for the user).
Only the super-user may use the -u flag and the optional user argument to view the limits of other users. Non-super-users can use the the
-g flag and optional group argument to view only the limits of groups of which they are members.
The -q flag takes precedence over the -v flag.
DIAGNOSTICS
If quota exits with a non-zero status, one or more filesystems are over quota.
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 default filesystems
SEE ALSO
quotactl(2), fstab(5), edquota(8), quotacheck(8), quotaon(8), repquota(8)
QUOTA(1)