- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- To limit some user
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2007 08:12 AM
тАО06-25-2007 08:12 AM
I'm using HPUX 11.11
Is it possible to limit some user for someones applications, process and so far and so on?
For example... If the user XYZ try to start a process that consume 1GB of memory and 80% of CPU he doesn't will success because I've limited it like:
User: XYZ (*process)
Memory: <= 800MB
CPU: <= 50%
And I don't know if I've explained from a right way but basically what I want is to limit some users through of HPUX and using resources of HPUX.
Please, could someone give me a help?
Thanks!!!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2007 08:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2007 08:24 AM
тАО06-25-2007 08:24 AM
Re: To limit some user
There are some add-on products that do this sort of thing:
http://h20293.www2.hp.com/portal/swdepot/displayProductsList.do?category=ISS
Look for Process Resource Manager (PRM) and Workload Manager (WLM).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2007 06:12 PM
тАО06-25-2007 06:12 PM
Re: To limit some user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2007 10:47 PM
тАО06-25-2007 10:47 PM
Re: To limit some user
Thanks for all answer!
Dennis, please could you explain with more details or send an example?
Thank you!!
clefeitosa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2007 11:17 PM
тАО06-25-2007 11:17 PM
Re: To limit some user
In /etc/profile so it can't be bypassed:
name=$(id -u -n)
case $name in
name1|name2|name3)
# set the maximum data area smaller for these
ulimit -d 300000 # size in Kb
;;
esac
The above code sets the ulimit data size to 300Mb for the users name1, name2 or name3.