- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ulimit and ksh
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
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
08-28-2002 05:09 AM
08-28-2002 05:09 AM
ulimit and ksh
I'm trying to use ulimit under ksh, with the -a option (ulimit -a), but I've got an error message. Back in sh, this works very well.
Is this normal (sh_posix != ksh) ?
Is there a tool under ksh to perform the same job.
Thanks in advance
Regards
Jerome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2002 05:16 AM
08-28-2002 05:16 AM
Re: ulimit and ksh
ulimit will be set to unlimited in sh(posix), whereas in ksh ulimit will be set to a value.
hence the error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2002 05:17 AM
08-28-2002 05:17 AM
Re: ulimit and ksh
ulimit will be set to unlimited in sh(posix), whereas in ksh ulimit will be set to a value.
hence the error. there is no tool under ksh to perform the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2002 05:18 AM
08-28-2002 05:18 AM
Re: ulimit and ksh
here is the error message from ulimit...
# ulimit -a
ksh: ulimit: bad option(s)
Could help?
Regards
Jerome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2002 05:21 AM
08-28-2002 05:21 AM
Re: ulimit and ksh
KSH is much older
For ksh 4194304 represents 'unlimited'.
The posix shell uses the characetr string 'unlimited' instead.
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2002 05:22 AM
08-28-2002 05:22 AM
Re: ulimit and ksh
-a is not a valid option for ksh's built-in ulimit command.
man ksh and look for ulimit.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2002 05:22 AM
08-28-2002 05:22 AM
Re: ulimit and ksh
If you look at the man pages for 'ksh' you will find that 'ulimit' is much more limited (no pun intended) than the POSIX shell version.
The POSIX shell (/sbin/sh or /usr/bin/sh) is a superset of the Korn shell (ksh). I would urge you to use the POSIX shell in lieu of the Korn one.
Whatever you choose, however, *never* change root's shell from '/sbin/sh' to anything else! Failure to heed this advice will leave you with an unbootable system.
Regards!
...JRF...