Questions tagged [io]

I/O refers to "Input/Output" generally being a synonym to Write/Read in terms of a file.

104 questions
37
votes
7 answers

How can System Monitor display disk io?

I can't imagine this is not possible.... but I can't figure out where to enable it. can't system monitor (gnome-system-monitor) display disk io?
otmezger
  • 471
  • 1
  • 4
  • 5
23
votes
7 answers

Poor IO performance - PCIe NVMe Samsung 950 pro

I just finished a hardware build expecting a big gain from the new NVMe drive. My prior performance was lower than expected (~3gb transferred), so I've replaced the motherboard/cpu/memory/hdd. While performance is double what it was, it is still…
kross
  • 709
  • 4
  • 8
  • 18
22
votes
3 answers

What does & mean exactly in output redirection?

I see stuff like command 1> out or with 2>&1 to redirect stderr, but sometimes I also see &> by itself, etc. What is the best way to understand & and what it means exactly?
AJJ
  • 852
  • 2
  • 12
  • 21
20
votes
5 answers

How do I tell if a command is running or waiting for user input?

On command line, I typed a command and hit enter. It doesn't output anything . How do I tell if it's running and not yet output, or it's asking for user input?
Gqqnbig
  • 689
  • 1
  • 5
  • 15
17
votes
1 answer

jbd2 constantly writing to disk

I know there are related issues, but none of them seem to apply to my case. Below is iotop output. jbd2 is constantly above 90% usage. It's been grinding away for 2 days. It stops for a while after a reboot, but then starts again after some time.…
Curvian Vynes
  • 173
  • 1
  • 1
  • 7
16
votes
3 answers

Is the default 512 byte physical sector size appropriate for SSD disks under Linux?

GSmartControl and any other command line tool (like fdisk, smartctl, cat /sys/block/sd*/queue/hw_sector_size, cat /sys/block/sd*/queue/physical_block_size) I had used report the same for both of my disks: Sector Size: 512 bytes…
FedKad
  • 9,212
  • 7
  • 40
  • 79
13
votes
1 answer

How to limit resource usage for a given process?

I have a process for an application which needs to run, but ends up using far too much IO usage for what it does. And really crashes my computer, making it impossible to do anything else whilst it is running. So I was wondering if there is a way to…
user364819
12
votes
1 answer

Is closing a file after having opened it with `open()` required in Python?

Regarding my previous question, I noticed that in both answers that used the open() function, there was no mention of closing the file. I've read that it's good practice to do so, but is there actually any need for it? Is it just unnecessary…
TellMeWhy
  • 17,124
  • 39
  • 95
  • 141
12
votes
6 answers

print_req_error: I/0 error

Every couple of days I get these errors that lockup the server. [501.882940] print_req_error: I/O error, dev fd0, sector 0 [504.338961] print_req_error: I/O error, dev fd0, sector 0 [504.738984] print_req_error: I/O error, dev fd0, sector…
John De La Motte
  • 131
  • 1
  • 1
  • 3
10
votes
5 answers

What is causing Unity to be slow on startup?

A few days ago I noticed that after I login in, the top panel and the dash took a bit more time to load and I noticed more disc activity than usual. I thought that it might have been caused by some update or by the installation of pdftk. So I…
To Do
  • 15,172
  • 12
  • 70
  • 116
9
votes
1 answer

System locks up when disk I/O is saturated

When I do a large file transfer from my external USB3 hard drive to my internal hard drive (or vice versa), be it via Nautilus or via terminal, Ubuntu (Unity) will almost completely lock up. Things like alt-tab take 20 seconds or more to complete…
Degru
  • 342
  • 2
  • 13
8
votes
4 answers

sh: echo: I/O error on pm-suspend Ubuntu 14.04

I just installed Ubuntu 14.04 on my Fujitsu Lifebook U772 after a long hiatus with Opensuse and after the install, it appears that pm-suspend works out of the box. A few days of setting up later, however, suspend stopped working, with the menu…
rey_balgs
  • 131
  • 1
  • 1
  • 6
8
votes
1 answer

Show files being accessed most in a short time period

So I've got a server that's struggling under the weight of several Wordpress installs. Things are relatively well cached (I am planning to improve things anyway) but I can quickly see that disk IO is extremely high. I have used iotop to see that…
Oli
  • 289,791
  • 117
  • 680
  • 835
6
votes
0 answers

Buffer I/O error on dev sdc, logical block 0, async page read

The first error appeared when i had installed the program on my usb flash on windows. During the installation from unknown reason, there was an error, something like "error, please format your drive" and i pulled out my usb flash (i think…
Ms.Simpson
  • 69
  • 1
  • 8
6
votes
2 answers

How to trace/monitor the I/O of a Linux command

I ran find / -name abc.html and a short time after I ran this command again. This time it was very fast, so I know the find must be caching the result somewhere. How can I find out where the cache is stored?
lovespring
  • 401
  • 1
  • 5
  • 11
1
2 3 4 5 6 7