I/O is an acronym for input/output, which refers to the mechanism or process for the transfer of information between one system or component and another.
Questions tagged [io]
629 questions
1
vote
2 answers
How to overwrite a file in the shell using < and > for the same file?
When I do my_script < filename.txt > filename.txt, the file is overwritten and truncated.
Is there some way on the Unix command line to specify that redirection is not done concurrently, i.e. the output does not begin until the input has…

Keith Bennett
- 315
1
vote
0 answers
What files process or what uses tons of IO?
I uses iotop and this is what I got
Total DISK READ : 0.00 B/s | Total DISK WRITE : 15.78 M/s
Actual DISK READ: 19.08 K/s | Actual DISK WRITE: 0.00 B/s
TID PRIO USER DISK READ DISK WRITE SWAPIN IO> …

user4951
- 10,519
1
vote
1 answer
Linux buffer(1) program -- replacement? useful?
I used to heavily use the buffer(1) program especially in talking to tape drives. Its a program made in the 1990's to essentially use a circular shared memory buffer to speed up I/O between two piped programs.
Is there a program in the standard…

mdpc
- 6,834
0
votes
0 answers
Is there a file that can be used to monitor `/dev/sda`s only IO activity in Linux?
I am familiar with iotop and those tools. But for some strange reason I have to write a Ruby program on my own to monitor only read and write activity of all the partitions on /dev/sda). I want to know how does iotop work.
I have the Kernel…

15 Volts
- 2,069
0
votes
0 answers
Why my disk is at full speed even though very little is written or read?
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util
sda 429.60 9.00 170.20 2.00 2479.20 71.20 29.62 10.80 67.28 5.81 100.02
sdb 0.00 103.60 …

user4951
- 10,519
0
votes
2 answers
How to know if io stream should stay open or close each time
I have a program that need to write in a file every second.
I thought there is a too much overhead if I open and close the file each time.
So I decided to keep open the file io stream.
But I don't want to rely on my unreliable hunch.
How can I find…

ironsand
- 5,205