Re: Getting tar to play nice


Subject: Re: Getting tar to play nice
From: Mike Post (mpost@aracnet.com)
Date: Fri Jun 01 2001 - 09:51:54 MDT


On Thu, 31 May 2001, Gawain Reifsnyder wrote:

> nice -n 10 tar -czvf honkingbackup.tar.gz file1 file2...
>
> The priority of the tar process is lowered, but the gzip process
> appears to proceed at full steam, hogging the cpu.
>
> I tried doing the tar/gzip operation in two steps, but that seems
> like a kludge, especially with large files that might fill up my
> drive before being gzipped.

You could try specifying your tar file as a named pipe and passing the
pipe to gzip. This would work well if you didn't have alot of disk space
to throw around.

Mike

---
"After the holocaust, there'll be, like, roaches, Tammy Faye, and Cher." - Jim J.
Bullock



This archive was generated by hypermail 2a24 : Fri Jun 01 2001 - 08:57:45 MDT