- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: compress and/or gzip problem on HP-UX 11.0
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
тАО10-09-2002 07:55 AM
тАО10-09-2002 07:55 AM
compress and/or gzip problem on HP-UX 11.0
I have an 11.00 HP-UX system that I am loading an application onto from the hp-ux 11.0 application cd. I created a tar ball of these files and then wanted to compress or gzip this info to send to another system as well (a system that does not have an attached cdrom device). When I run compress terri.tar the system appears to be executing the command and returns to a # sign, but does not create the terri.tar.Z file. I've tried compressdir and also gzip. gzip created a file of very similar size, which is very large. I even downloaded the version of gzip for large files with no change. Can someone help? Thanks, Terri Christensen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2002 08:02 AM
тАО10-09-2002 08:02 AM
Re: compress and/or gzip problem on HP-UX 11.0
If the file that you want to compress is already a compressed one, then compress cannot compress it further.
You can reproduce the above by compressing few files, tar them up and then try to compress the tar bundle.
Use -v option to get more information.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2002 08:03 AM
тАО10-09-2002 08:03 AM
Re: compress and/or gzip problem on HP-UX 11.0
What happens when you try:
compress -v terri.tar
Also, can you do an:
echo $?
right after the compress to see if it gives back a return code? That might give a clue. Another thing to check is disk space. You'll need a good bit of free space to compress the file. How big is terri.tar, and how much free space do you have on the filesystem where you are trying to compress it?
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2002 08:22 AM
тАО10-09-2002 08:22 AM
Re: compress and/or gzip problem on HP-UX 11.0
files from the application CD are already compressed.
the fact to tar them will just place them in 1 file. And a second compress will not change anything !
The best way to install software is to share trough NFS your cdrom device, and read it directly from the other host.
This is what I do from my pc, because I don't want to go to the machine room to open the cdrom drive !!!!!
hope that help
Benoit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2002 11:57 PM
тАО10-09-2002 11:57 PM
Re: compress and/or gzip problem on HP-UX 11.0
To compress a file I used this command,
# gzip -cd new.gz |gzip > new1.gz
regards,
Hamdy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2002 01:36 AM
тАО10-10-2002 01:36 AM
Re: compress and/or gzip problem on HP-UX 11.0
#compress /home/files.tar
#tar cvf /home/files.tar
#gzip /home/files.tar
Also you can do a
tar cvf - /path | remsh
Make sure that the remsh works on the remote machine
Also you can do a
rcp -r /path/
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2002 01:45 AM
тАО10-10-2002 01:45 AM
Re: compress and/or gzip problem on HP-UX 11.0
By default, the compress command deletes the .Z file if it finds that it is larger than the original file.
The LZW algorithm used by "compress" can expand the file instead of compress it if it is already compressed.
Gzip creates the file anyway, that's why you have the big file.
If files are already compressed, compressing them further would do no good, actually, you'll expand the files.
HTH,
Vince