How long does cat take per line? [on hold]Cat with Headers and Line Numbers?How to cat a file for a certain number of seconds?cat files with directorycat file to udp, pt 2: send 1 udp packet per ^C-delimited lineDoes cat never read from terminal?How to cat two heredocs?/bin/cat: Argument list too longWhy does head; tail on a large file sometimes take a long time and sometimes not?What does cat of a tar archive show?What is the equivalent (programmatically) of cat /dev/something > file.txt
Why are only specific transaction types accepted into the mempool?
How can bays and straits be determined in a procedurally generated map?
What are these boxed doors outside store fronts in New York?
Copenhagen passport control - US citizen
A newer friend of my brother's gave him a load of baseball cards that are supposedly extremely valuable. Is this a scam?
Can I make popcorn with any corn?
"You are your self first supporter", a more proper way to say it
How to add power-LED to my small amplifier?
Why is this code 6.5x slower with optimizations enabled?
How does one intimidate enemies without having the capacity for violence?
The magic money tree problem
A function which translates a sentence to title-case
What would the Romans have called "sorcery"?
Why is the design of haulage companies so “special”?
Is there a minimum number of transactions in a block?
How to make payment on the internet without leaving a money trail?
Prevent a directory in /tmp from being deleted
Banach space and Hilbert space topology
How to report a triplet of septets in NMR tabulation?
black dwarf stars and dark matter
Download, install and reboot computer at night if needed
What Brexit solution does the DUP want?
Extreme, but not acceptable situation and I can't start the work tomorrow morning
I probably found a bug with the sudo apt install function
How long does cat take per line? [on hold]
Cat with Headers and Line Numbers?How to cat a file for a certain number of seconds?cat files with directorycat file to udp, pt 2: send 1 udp packet per ^C-delimited lineDoes cat never read from terminal?How to cat two heredocs?/bin/cat: Argument list too longWhy does head; tail on a large file sometimes take a long time and sometimes not?What does cat of a tar archive show?What is the equivalent (programmatically) of cat /dev/something > file.txt
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
If I had a txt file of, say, 4,000,000 lines, how long would the command cat take on that? What about 4,000,000,000? Is there an easy way of calculating this time?
performance cat io
New contributor
put on hold as too broad by muru, Michael Homer, Stephen Harris, Rui F Ribeiro, Prvt_Yadv 2 days ago
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
If I had a txt file of, say, 4,000,000 lines, how long would the command cat take on that? What about 4,000,000,000? Is there an easy way of calculating this time?
performance cat io
New contributor
put on hold as too broad by muru, Michael Homer, Stephen Harris, Rui F Ribeiro, Prvt_Yadv 2 days ago
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
4
The vacuous answer istime cat file
, but this is too broad for anyone to answer. Are you reading from a floppy drive, tape drive, spinning rust, SSD, RAM disk, etc? Are you writing to the screen, a tape drive, a satellite connection, etc? What other activity could distract either I/O?
– Jeff Schaller♦
Apr 5 at 1:30
1
Also, how long are your lines? There could be a multi-thousand-fold difference just from that.
– Michael Homer
Apr 5 at 1:51
1
Also the output device;cat file > /dev/null
is quicker thancat file
... especially if you're on a 9600 baud tty!
– Stephen Harris
Apr 5 at 2:00
add a comment |
If I had a txt file of, say, 4,000,000 lines, how long would the command cat take on that? What about 4,000,000,000? Is there an easy way of calculating this time?
performance cat io
New contributor
If I had a txt file of, say, 4,000,000 lines, how long would the command cat take on that? What about 4,000,000,000? Is there an easy way of calculating this time?
performance cat io
performance cat io
New contributor
New contributor
edited Apr 5 at 1:15
Jeff Schaller♦
44.7k1163145
44.7k1163145
New contributor
asked Apr 5 at 1:14
Beats_in_BytesBeats_in_Bytes
1
1
New contributor
New contributor
put on hold as too broad by muru, Michael Homer, Stephen Harris, Rui F Ribeiro, Prvt_Yadv 2 days ago
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
put on hold as too broad by muru, Michael Homer, Stephen Harris, Rui F Ribeiro, Prvt_Yadv 2 days ago
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
4
The vacuous answer istime cat file
, but this is too broad for anyone to answer. Are you reading from a floppy drive, tape drive, spinning rust, SSD, RAM disk, etc? Are you writing to the screen, a tape drive, a satellite connection, etc? What other activity could distract either I/O?
– Jeff Schaller♦
Apr 5 at 1:30
1
Also, how long are your lines? There could be a multi-thousand-fold difference just from that.
– Michael Homer
Apr 5 at 1:51
1
Also the output device;cat file > /dev/null
is quicker thancat file
... especially if you're on a 9600 baud tty!
– Stephen Harris
Apr 5 at 2:00
add a comment |
4
The vacuous answer istime cat file
, but this is too broad for anyone to answer. Are you reading from a floppy drive, tape drive, spinning rust, SSD, RAM disk, etc? Are you writing to the screen, a tape drive, a satellite connection, etc? What other activity could distract either I/O?
– Jeff Schaller♦
Apr 5 at 1:30
1
Also, how long are your lines? There could be a multi-thousand-fold difference just from that.
– Michael Homer
Apr 5 at 1:51
1
Also the output device;cat file > /dev/null
is quicker thancat file
... especially if you're on a 9600 baud tty!
– Stephen Harris
Apr 5 at 2:00
4
4
The vacuous answer is
time cat file
, but this is too broad for anyone to answer. Are you reading from a floppy drive, tape drive, spinning rust, SSD, RAM disk, etc? Are you writing to the screen, a tape drive, a satellite connection, etc? What other activity could distract either I/O?– Jeff Schaller♦
Apr 5 at 1:30
The vacuous answer is
time cat file
, but this is too broad for anyone to answer. Are you reading from a floppy drive, tape drive, spinning rust, SSD, RAM disk, etc? Are you writing to the screen, a tape drive, a satellite connection, etc? What other activity could distract either I/O?– Jeff Schaller♦
Apr 5 at 1:30
1
1
Also, how long are your lines? There could be a multi-thousand-fold difference just from that.
– Michael Homer
Apr 5 at 1:51
Also, how long are your lines? There could be a multi-thousand-fold difference just from that.
– Michael Homer
Apr 5 at 1:51
1
1
Also the output device;
cat file > /dev/null
is quicker than cat file
... especially if you're on a 9600 baud tty!– Stephen Harris
Apr 5 at 2:00
Also the output device;
cat file > /dev/null
is quicker than cat file
... especially if you're on a 9600 baud tty!– Stephen Harris
Apr 5 at 2:00
add a comment |
0
active
oldest
votes
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
4
The vacuous answer is
time cat file
, but this is too broad for anyone to answer. Are you reading from a floppy drive, tape drive, spinning rust, SSD, RAM disk, etc? Are you writing to the screen, a tape drive, a satellite connection, etc? What other activity could distract either I/O?– Jeff Schaller♦
Apr 5 at 1:30
1
Also, how long are your lines? There could be a multi-thousand-fold difference just from that.
– Michael Homer
Apr 5 at 1:51
1
Also the output device;
cat file > /dev/null
is quicker thancat file
... especially if you're on a 9600 baud tty!– Stephen Harris
Apr 5 at 2:00