The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM
Home Forums Register Rules & FAQ Members List Arcade Search Today's Posts Mark Forums Read


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.


Other UNIX.COM Threads You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
gzip a directory (URGENT) grajesh_955 Shell Programming and Scripting 4 05-29-2008 11:54 AM
gunzip error - not in gzip format eagercyber UNIX for Dummies Questions & Answers 5 05-29-2008 12:58 AM
[need help urgent]error cpu messages bucci SUN Solaris 0 03-21-2007 01:10 AM
[urgent help] error log on /var/adm/messages bucci SUN Solaris 2 11-27-2006 12:16 AM
An error with gzip Cameron Shell Programming and Scripting 1 12-16-2005 11:59 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-01-2008
Registered User
 

Join Date: Apr 2008
Posts: 17
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
GZIP ERROR! -- Plesae help! -- Urgent

I have two huge files on AIX Ver 5.0. File size of each file is 6238884375 bytes. There is huge difference in sizes when I zip them by gzip coomand.
File1.gz 586147513
File2.gz 547585695

Any idea why it is so?

Thanks
Sumit
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-01-2008
redhead's Avatar
Registered User
 

Join Date: Feb 2002
Location: Denmark
Posts: 43
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
because the data in one of the files are easier to compress than the data in the other file.
When compressing a file the compression algorithm tries to describe as large a quantity of a file as compressed as possible, if this description has to say "next 1209 bytes needs to be 0" as opposed to "next 124324 bytes needs to be 0" the second one will be represented with less space consuming description than the first one.
Reply With Quote
  #3 (permalink)  
Old 05-05-2008
Registered User
 

Join Date: Dec 2007
Posts: 196
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
they can't be the same file then.

before you gzip then what is the output of du -sk and cksum on each file?
Reply With Quote
Google UNIX.COM
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 03:07 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102