Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 11:18 on June 26, 2006


"Zombies" process! How do? ?

*.tar.gz Path1 is because the document to path1 codecs, the former backup to path2 in codecs, so write a shell in foxplus procedure call. Shell is as follows :
#!/bin/sh
P1=path1
P2=path2
Cp ${p1}/$1.tar.gz ${p2}
Gzip-d ${S1}/$1.tar.gz
Cd ${p1}
Tar -xvf ${p1}/$1.tar
Rm ${p1}/$1.tar

Procedures after discovery system, there are many "zombie" process, with the level of poor, do not know how to resolve, consult comrades!

"Zombies" process! How do? ?

#!/bin/sh
P1=/path1
P2=/path2
Cd $p1
#backup
Tar cvf - *.tar.gz | (cd $p2;tar xvf-)
#extract To tar.gz from p1 p2
For i in `echo *.tar.gz`
Do
Gzip-dc $i | (cd $p2;tar xvf-)
Done

"Zombies" process! How do? ?

Thank you upstairs help!
I may have expressed, my objectives are :
Compression will stall solution to the current catalog (p1), and then be moved to another stall compression catalog (p2), p1 made under does not contain compression stall.
And I do not want to cycle only hope that by reducing the number of stalls in order to untie a time (because the paper is RENAMED compression stall, the first all codecs, will swap front cover of the document); I want to untie the documents and other treatment.
There presumptuous to ask, "tar cvf - *.tar.gz | (cd $p2;tar xvf-)" is used to achieve this copy? How to achieve?
I was a beginner, we hope to send a slightly more detailed answer, thank you!



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com