High disk usage?

So im using manjaro 21.0.2 kde on my kingston ssd 120gb , i just noticed in system monitor that disk usage is at 54% is it normal? or theres something working in the background?

ystem:
  Kernel: 5.11.14-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  Desktop: KDE Plasma 5.21.4 Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Desktop System: ASUS product: All Series v: N/A serial: <filter> 
  Mobo: ASUSTeK model: H97-PRO GAMER v: Rev X.0x serial: <filter> 
  UEFI: American Megatrends v: 2503 date: 02/26/2016 
CPU:
  Info: Quad Core model: Intel Core i7-4790 bits: 64 type: MT MCP 
  arch: Haswell rev: 3 cache: L2: 8 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 57629 
  Speed: 800 MHz min/max: 800/4000 MHz Core speeds (MHz): 1: 800 2: 1678 
  3: 1249 4: 826 5: 1159 6: 932 7: 2431 8: 2478 
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] 
  vendor: Sapphire Limited Nitro+ driver: amdgpu v: kernel 
  bus-ID: 01:00.0 
  Display: x11 server: X.Org 1.20.11 driver: loaded: amdgpu,ati 
  unloaded: modesetting resolution: 1920x1080 
  OpenGL: renderer: Radeon RX 580 Series (POLARIS10 DRM 3.40.0 
  5.11.14-1-MANJARO LLVM 11.1.0) 
  v: 4.6 Mesa 21.0.2 direct render: Yes 
Audio:
  Device-1: Intel 9 Series Family HD Audio vendor: ASUSTeK 
  driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 
  Device-2: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] 
  vendor: Sapphire Limited driver: snd_hda_intel v: kernel 
  bus-ID: 01:00.1 
  Device-3: Yamaha Steinberg UR22mkII type: USB driver: snd-usb-audio 
  bus-ID: 3-13.1:6 
  Sound Server-1: ALSA v: k5.11.14-1-MANJARO running: yes 
  Sound Server-2: JACK v: 0.125.0 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: no 
  Sound Server-4: PipeWire v: 0.3.25 running: yes 
Network:
  Device-1: Intel Ethernet I218-V vendor: ASUSTeK driver: e1000e 
  v: kernel port: f040 bus-ID: 00:19.0 
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter> 
RAID:
  Hardware-1: Intel SATA Controller [RAID mode] driver: ahci v: 3.0 
  bus-ID: 00:1f.2 
  Device-1: md126 type: mdraid level: raid-0 status: active 
  size: 465.77 GiB 
  Info: report: N/A blocks: 488391680 chunk-size: 128k 
  Components: Online: 0: sdb 1: sda 
  Device-2: md127 type: mdraid level: N/A status: inactive size: N/A 
  Info: report: N/A blocks: 5488 chunk-size: N/A 
  Components: Online: N/A Spare: 0: sda 1: sdb 
Drives:
  Local Storage: total: 1.47 TiB used: 562.23 GiB (37.3%) 
  ID-1: /dev/sda vendor: Samsung model: SSD 860 EVO 250GB 
  size: 232.89 GiB 
  ID-2: /dev/sdb vendor: Samsung model: SSD 850 EVO 250GB 
  size: 232.89 GiB 
  ID-3: /dev/sdc vendor: Western Digital model: WD10EZEX-08WN4A0 
  size: 931.51 GiB 
  ID-4: /dev/sdd vendor: Kingston model: SA400S37120G size: 111.79 GiB 
Partition:
  ID-1: / size: 109.18 GiB used: 9.91 GiB (9.1%) fs: ext4 dev: /dev/sdd2 
  ID-2: /boot/efi size: 299.4 MiB used: 296 KiB (0.1%) fs: vfat 
  dev: /dev/sdd1 
Swap:
  Alert: No swap data was found. 
Sensors:
  System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: amdgpu temp: 49.0 C 
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 997 
Info:
  Processes: 242 Uptime: 3h 28m Memory: 23.43 GiB used: 1.92 GiB (8.2%) 
  Init: systemd Compilers: gcc: 10.2.0 Packages: 1204 Shell: Bash 
  v: 5.1.0 inxi: 3.3.04

Pretty sure the “disk” section on the Overview page in System Monitor is the amount of space used on the disk, not the amount of read/writes going on.

1 Like

Ah thats what i thought, just wanted to confirm it.

But then again, around 9gb is used from 110gb, so idk how it gets that 50% are used.

Output of df -H ?

Filesystem      Size  Used Avail Use% Mounted on
dev              13G     0   13G   0% /dev
run              13G  1.7M   13G   1% /run
/dev/sdd2       118G   11G  101G  10% /
tmpfs            13G     0   13G   0% /dev/shm
tmpfs           4.2M     0  4.2M   0% /sys/fs/cgroup
tmpfs            13G  9.7M   13G   1% /tmp
/dev/sdd1       314M  304k  314M   1% /boot/efi
/dev/loop0       59M   59M     0 100% /var/lib/snapd/snap/core18/1997
/dev/loop1       34M   34M     0 100% /var/lib/snapd/snap/snapd/11588
/dev/loop2      189M  189M     0 100% /var/lib/snapd/snap/spotify/46
tmpfs           2.6G   70k  2.6G   1% /run/user/1000
/dev/sdc1       1.1T  594G  408G  60% /run/media/profile/34E44ECCE44E9052

Then it is right. 54% used on your storageS (sdd + sdc).

2 Likes

I don’t see it
(11 + 0,000304 + 594) * 100 / (118 + 0,314 + 1100) = 49,6588157076 % != 54 %

It was 54% then 50%. It may even have changed now if user puts or removes files on his disk without updating us of what he has done.

I didn’t calculate anything, it was rough approximation seeing his disks output.

It reports proper value to me. If you want you can see on your side if you find a wrong report in the tool.

PS: can’t make sense of your maths, math is not my thing so probably why.

used * 100 / total = used% where used and total are summed up values of all sdc and sdd filesystems.

OK I was using the wrong columns on my side LOL :sweat_smile:

//EDIT for the slight difference it may be because of the way it calculates things, I know different tools give different results (for example Timeshift reports more free space than Plasma System Monitor, or Dolphin, or lsblk). Not sure how they calculate it but the slight difference doesn’t sound that wrong to me. There is probably a good explanation but I’m not finding anything relevant in the code for now as it seems to rely on some sensors I didn’t find the code for yet.

Not sure “slight” applies for that difference: It is more than 4% and in absolute numbers amounts to more than 48GB …

True.

Still trying to find how it calculates it. So far I have some leads, it may use ksystemstats or udisks2 but I didn’t find any code yet to try to check (I am very limited in code reading but I can sometimes make sense of code).

//EDIT: a wild guess out of nowhere, it may count the tmpfs or other mount point as ‘used’ space?

//EDIT2: I may directly ask it on their Gitlab…