Dividing a large file into smaller ones
From: Adibah (adibah_at_singnet.com.sg)
Date: 08/20/03
- Next message: Adibah: "Checking for last login"
- Previous message: me: "Re: Using find in shell script"
- Next in thread: Barry Kimelman: "Re: Dividing a large file into smaller ones"
- Reply: Barry Kimelman: "Re: Dividing a large file into smaller ones"
- Reply: Laurent Vogel: "Re: Dividing a large file into smaller ones"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 20 Aug 2003 05:29:00 -0700
Hi,
I have a script which will read the contents an input file to
perform a contact test. The input file is a list of machines that I
want to do the contact test on. In the event that the input file
doesn't exist, it will create it's own file by reading the internal
database. Problem is, this internal database has more than 2000
machines and this number varies. When I run this, the script takes a
whole day! I'd like to be able to cut up this list into smaller
files, probably each of these file will have 100 machine names and
then, run the script concurrently, so that the contact test is
completed within an hour and I can collate all the results. How can I
do this? I'd like to be able to automate the whole process so that I
can schedule the script to execute every week.
Thanks & Regards,
Adibah
- Next message: Adibah: "Checking for last login"
- Previous message: me: "Re: Using find in shell script"
- Next in thread: Barry Kimelman: "Re: Dividing a large file into smaller ones"
- Reply: Barry Kimelman: "Re: Dividing a large file into smaller ones"
- Reply: Laurent Vogel: "Re: Dividing a large file into smaller ones"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|