CPU usage restrictions for users?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers CPU usage restrictions for users?
# 8  
Old 08-05-2012
You can implement some static (they do not change depending on how many people are logged in) resource limits (memory, processes, cpu time, file size, descriptors, etc) using:

*BSD - /etc/login.conf
AIX - /etc/security/limits
Linux with pam_limits module - /etc/security/limits.conf

Regards,
Alister
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

High CPU Usage , users affected

Dear All, One production Server is affected by high usage. Application is slow now. Please guide me how to solve it? NMON Report shows full cpu usage. Here im posting some server details. bash-3.2# lparstat -i Node Name : ********* Partition Name ... (6 Replies)
Discussion started by: Thala
6 Replies

2. Shell Programming and Scripting

Admin user command usage restrictions

Hi, I need to work on restricting the Linux commands to the ADMIN user to some extent. It means for example, Admin users should not use passwd command to change the password of "root" or other important accounts like oracle, etc., So, I want to know which commands should be restricted upto which... (5 Replies)
Discussion started by: Dpu
5 Replies

3. AIX

balance CPU usage between users

Hi! Is there any way to balance CPU usage between users on percentage basis? Something like Resource Manager in Oracle databases. Regards. ---------- Post updated at 02:17 PM ---------- Previous update was at 02:09 PM ---------- Workload Manager? ---------- Post updated at 03:44 PM... (0 Replies)
Discussion started by: bas_ua
0 Replies

4. AIX

How to monitor the IBM AIX server for I/O usage,memory usage,CPU usage,network..?

How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies

5. Solaris

Multi CPU Solaris system shows 100% CPU usage.

Hello Friends, On one of my Solaris 10 box, CPU usage shows 100% using "sar", "vmstat". However, it has 4 CPUs and prstat and glance are not showing enough processes to justify high CPU utilization. ========================================================================= $ prstat -a ... (4 Replies)
Discussion started by: mahive
4 Replies

6. Solaris

current CPU usage, memory usage, disk I/O oid(snmp)

Hi, I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP. I want the oids for above tasks. can you please tell me that Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies

7. HP-UX

how can I find cpu usage memory usage swap usage and logical volume usage

how can I find cpu usage memory usage swap usage and I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times my final destination is monitor process logical volume usage above X % and number of Logical voluage above can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies

8. Programming

CPU usage and memory usage

Please tell me solaris functions/api for getting following information 1- Function that tells how much memory used by current process 2- Function that tells how much memory used by all running processes 3- Function that tells how much CPU is used by current process 4- Function that tells how... (1 Reply)
Discussion started by: mansoorulhaq
1 Replies

9. UNIX for Dummies Questions & Answers

Setting password restrictions for all users

I would like to change the password requirements for all our AIX 5.2 logins but am having trouble finding a place where I can set the rules for everyone at the same time. I know I can go user by user in smit passwords but is there a way to create rules for everyone at the same time? Thanks,... (2 Replies)
Discussion started by: drathbone
2 Replies

10. Programming

Monitor CPU usage and Memory Usage

how can i monitor usages of CPU, Memory, Hard disk etc. under SUN Solaries through a c program or java program i want to store that data into database so i can show it graphically thanks in advance (2 Replies)
Discussion started by: Gajanad Bihani
2 Replies
Login or Register to Ask a Question
IMAP_GET_QUOTAROOT(3)							 1						     IMAP_GET_QUOTAROOT(3)

imap_get_quotaroot - Retrieve the quota settings per user

SYNOPSIS
array imap_get_quotaroot (resource $imap_stream, string $quota_root) DESCRIPTION
Retrieve the quota settings per user. The limit value represents the total amount of space allowed for this user's total mailbox usage. The usage value represents the user's current total mailbox capacity. PARAMETERS
o $ imap_stream -An IMAP stream returned by imap_open(3). o $quota_root -$quota_root should normally be in the form of which mailbox (i.e. INBOX). RETURN VALUES
Returns an array of integer values pertaining to the specified user mailbox. All values contain a key based upon the resource name, and a corresponding array with the usage and limit values within. This function will return FALSE in the case of call failure, and an array of information about the connection upon an un-parsable response from the server. EXAMPLES
Example #1 imap_get_quotaroot(3) example <?php $mbox = imap_open("{imap.example.org}", "kalowsky", "password", OP_HALFOPEN) or die("can't connect: " . imap_last_error()); $quota = imap_get_quotaroot($mbox, "INBOX"); if (is_array($quota)) { $storage = $quota['STORAGE']; echo "STORAGE usage level is: " . $storage['usage']; echo "STORAGE limit level is: " . $storage['limit']; $message = $quota['MESSAGE']; echo "MESSAGE usage level is: " . $message['usage']; echo "MESSAGE limit level is: " . $message['limit']; /* ... */ } imap_close($mbox); ?> NOTES
This function is currently only available to users of the c-client2000 or greater library. The $imap_stream should be opened as the user whose mailbox you wish to check. SEE ALSO
imap_open(3), imap_set_quota(3), imap_get_quota(3). PHP Documentation Group IMAP_GET_QUOTAROOT(3)