- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ulimit
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
Forums
Discussions
Discussions
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
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
10-26-2004 07:37 AM
10-26-2004 07:37 AM
ulimit
Can I know more about 'ulimit'
Thanks
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2004 07:42 AM
10-26-2004 07:42 AM
Re: ulimit
ex: if you don't want the shell to create a core file larger than 1024 blocks , you can use the following command:
ulimit -c 1024
ulimit -a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2004 07:43 AM
10-26-2004 07:43 AM
Re: ulimit
The 'ulimit' command lets you set or display resource limits.
One place to find out about it is in the man page for the POSIX shell. Do a 'man sh-posix' and search for 'ulimit'.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2004 07:45 AM
10-26-2004 07:45 AM
Re: ulimit
Ulimit can apply to all of these and it epends upon which shell you are running as to how many of these can be changed. There are also "hard" limits (set in the kernel) which cannot be exceeded and "soft" limits which can be increased up to the "hard" value. Man sh-posix (search for ulimit) and man 2 ulimit for details. These man pages should tell you everything you need to know -- or at least get you to the point of better asking your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2004 07:46 AM
10-26-2004 07:46 AM
Re: ulimit
ulimit -Sa -- to know soft limits
ulimit -Ha -- Hard limits
ulimit -c xx (core file size)
ulimit -n xx (no. of file descriptors)
ulimit -s xx (stack size)
ulimit -d xx (data size)
ulimit -f xx (file blocks)
ulimit -t xx (time in secs)
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2004 07:46 AM
10-26-2004 07:46 AM
Re: ulimit
ulimit, for the korn shell:
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90046/B2355-90046_top.html&con=/hpux/onlinedocs/B2355-90046/00/01/120-con.html&toc=/hpux/onlinedocs/B2355-90046/00/01/120-toc.html&searchterms=ulimit&queryid=20041026-133909
ulimit system call:
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B3921-90010/B3921-90010_top.html&con=/hpux/onlinedocs/B3921-90010/00/11/1167-con.html&toc=/hpux/onlinedocs/B3921-90010/00/11/1167-toc.html&searchterms=ulimit&queryid=20041026-134440
HTH,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2004 07:53 AM
10-26-2004 07:53 AM
Re: ulimit
ulimit - get and set user limits
You can also use it to limit the size of core dumps:
To completely suppress core dumps:
Bourne-style shells: "ulimit -c 0"
C-style shells: "limit coredumpsize 0"
If you want to limit dumps to a specific size, specify a number instead of 0, in blocks for Bourne-style shells, or kilobytes for C-style shells.
Rgds...Geoff
BTW : a google for ulimit unix returns 29,800 pages.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2004 08:09 AM
10-26-2004 08:09 AM
Re: ulimit
thanks for the info.
regards
Anil