- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- dtksh stdout file limited in size and other size i...
Operating System - HP-UX
1752781
Members
6135
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО03-20-2011 08:02 AM
тАО03-20-2011 08:02 AM
dtksh stdout file limited in size and other size issues
HP-UX newprod B.11.31 U ia64 1694867344
root@newprod> ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 32768
memory(kbytes) unlimited
coredump(blocks) -4194303
nofiles(descriptors) 2048
vmemory(kbytes) unlimited
root@newprod>
ksh Version M-12/28/93d (/usr/dt/bin/dtksh)
typeset -i ll=4294967293
echo $ll
-3
Version 11/16/88 (/bin/ksh)
# typeset -i ll=4294967293
# echo $ll
4294967293
creating a file that ends up 3210415357 bytes fails on dtksh
gzip: stdout: File too large
doing the same tar - . | gzip > file on /bin/ksh completes. Looks like dtksh has a lot of internal issues around 64bit integers.
Its about time /bin/ksh became ksh93 with bug fixes for these issues or at least add [ -e file ] to ksh88 like it is on tru64 ksh Version M-11/16/88f
root@newprod> ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 32768
memory(kbytes) unlimited
coredump(blocks) -4194303
nofiles(descriptors) 2048
vmemory(kbytes) unlimited
root@newprod>
ksh Version M-12/28/93d (/usr/dt/bin/dtksh)
typeset -i ll=4294967293
echo $ll
-3
Version 11/16/88 (/bin/ksh)
# typeset -i ll=4294967293
# echo $ll
4294967293
creating a file that ends up 3210415357 bytes fails on dtksh
gzip: stdout: File too large
doing the same tar - . | gzip > file on /bin/ksh completes. Looks like dtksh has a lot of internal issues around 64bit integers.
Its about time /bin/ksh became ksh93 with bug fixes for these issues or at least add [ -e file ] to ksh88 like it is on tru64 ksh Version M-11/16/88f
- Tags:
- dtksh
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2011 11:12 AM
тАО03-20-2011 11:12 AM
Re: dtksh stdout file limited in size and other size issues
>creating a file that ends up 3210415357 bytes fails on dtksh
It looks like dtksh doesn't support largefiles nor 64 bit ints. You can use tusc to check the open(2) parms.
It looks like dtksh doesn't support largefiles nor 64 bit ints. You can use tusc to check the open(2) parms.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2011 03:28 PM
тАО03-20-2011 03:28 PM
Re: dtksh stdout file limited in size and other size issues
I agree with you Dennis Handly, This was more of a rant than a real question ;( HPUX continues to disappoint me at every turn.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2011 05:23 AM
тАО03-21-2011 05:23 AM
Re: dtksh stdout file limited in size and other size issues
Based on the what string for dtksh, it appears that nothing has been changed since it was first released. It would indeed be a very useful enhancement to release a current version of ksh93 complete with 64 bit ints and largefile support.
Bill Hassell, sysadmin
Bill Hassell, sysadmin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP