...
I need to split these huge files (~300-400Mb), into smaller files (around 30-40Mb each). Also, I don't want to divide the data (i.e. every record starting with '>' should have its corresponding information in one smaller file).
If I correctly understand your requirement and assuming the above format of the big files,
For different smaller files' sizes adjust the value of the variable s.
Can you please help me with writing script for following purpose.
I have to divide single large web access log file into multiple log files based on dates inside the log file.
For example:
if data is logged in the access file for jan-10-08 , jan-11-08 , Jan-12-08
then make small log file... (1 Reply)
hi all
im new to this forum..excuse me if anythng wrong.
I have a file containing 600 MB data in that. when i do parse the data in perl program im getting out of memory error.
so iam planning to split the file into smaller files and process one by one.
can any one tell me what is the code... (1 Reply)
I have a file with a simple list of ids. 750,000 rows. I have to break it down into multiple 50,000 row files to submit in a batch process.. Is there an easy script I could write to accomplish this task? (2 Replies)
frnds:
i want to divide data on the behalf of dotted line and redirectd into new files
)
-------------------------
M-GET CONFIRMATION (
-------------------------
M-GET CONFIRMATION (
INVOKE IDENTIFIER
final data shuld be into 3 files ...... (6 Replies)
hello!
i need a little help from you :) ... i need to split a file into separate files depending on two conditions using scripting. The file has no delimiters. The conditions are col 17 = "P" and col 81 = "*", this will go to one output file; col 17 = "R" and col 81 = " ". Here is an example.
... (3 Replies)
I need to find some data in a large no. of files. The data is in the following format :
VALUE A VALUE B VALUE C VALUE D
10 4 65 1
12 4.5 65.5 2
10.75 5.1 ... (2 Replies)
Help needed urgently please.
I have a large file - a few hundred thousand lines.
Sample
CP START ACCOUNT
1234556
name 1
CP END ACCOUNT
CP START ACCOUNT
2224444
name 1
CP END ACCOUNT
CP START ACCOUNT
333344444
name 1
CP END ACCOUNT
I need to split this file each time "CP START... (7 Replies)
Hi All,
I do have an EBCDIC file sent from the z/os , this file has records with different record types in it, the type of record is identified by bytes 45-46 like
value 12 has employee record
value 14 has salaray record and etc....
we do now want to split the big ebcdic file into multiple... (3 Replies)
I will simplify the explaination a bit, I need to parse through a 87m file -
I have a single text file in the form of :
<NAME>house........
SOMETEXT
SOMETEXT
SOMETEXT
.
.
.
.
</script>
MORETEXT
MORETEXT
.
.
. (6 Replies)
Dears,
Need you help with the below file manipulation. I want to split the file into 8 smaller files but without cutting/disturbing the entries (meaning every small file should start with a entry and end with an empty line). It will be helpful if you can provide a one liner command for this... (12 Replies)
Discussion started by: Kamesh G
12 Replies
LEARN ABOUT DEBIAN
speedometer
speedometer(1) User Commands speedometer(1)NAME
speedometer - measure and display the rate of data across a network connection
SYNOPSIS
speedometer [options] tap [[-c] tap] ...
DESCRIPTION
Monitor network traffic or speed/progress of a file transfer. At least one tap option (-f, -rx, -tx) must be entered. Option -c starts a
new column, otherwise taps are piled vertically.
Note: before you use the program, satrt generating traffic by transferring files in/out e.g. with scp(1) in the network you're measuring.
OPTIONS -b Use old blocky display instead of smoothed display even when UTF-8 encoding is detected.
-f filename [size]
Display download speed with progress bar. This option must be used if directly following another file tap without an expected size
specified.
-i interval
Interval in seconds. Examples: 5 or 0.25". Default is 1.
-p Use plain-text display (one tap only).
-rx iface
Display bytes received on network interface.
-tx iface
Display bytes transmitted on network interface.
-z Report zero size on files that don't exist instead of waiting for them to be created
EXAMPLES
How long it will take for my 38MB transfer to finish?
speedometer favorite_episode.rm $(( 38 * 1024 * 1024 ))
How quickly is another transfer going?
speedometer dl/big.avi
How fast is this LAN?
host-a$ cat /dev/zero | nc -l -p 12345
host-b$ nc host-a 12345 > /dev/null
host-b$ speedometer -rx eth0
How fast is the upstream on this ADSL line?
speedometer -tx ppp0
How fast can I write data to my filesystem? (with at least 1GB free)
dd bs=1000000 count=1000 if=/dev/zero of=bigfile &
speedometer bigfile
ENVIRONMENT
None.
FILES
None.
SEE ALSO htop(1)iotop(1)scp(1)top(1)vmstat(1)AUTHORS
Program was written by Ian Ward <ian.ward@excess.org>
This manual page was written by Jari Aalto <jari.aalto@cante.net>. Released under license GNU GPL version 2 or (at your option) any later
version. For more information about license, visit <http://www.gnu.org/copyleft/gpl.html>.
speedometer 2011-12-10 speedometer(1)