LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-24-2021, 08:30 AM   #1
jan128
Member
 
Registered: Nov 2020
Posts: 201

Rep: Reputation: Disabled
how to monitor hard drive disks activity ?


My system has no visible means - no "busy light" to indicate hard drive disk activity.
But I can hear them grinding.

My cheap USB sticks lights-up when activated.

Is there a generic Linux application to tell me when my HDD disks are in use.
Such as "gparted" "scanning for devices" or mdadm / RAID updating ?
But generic - triggered by ANY disk activity.

Cheers
 
Old 02-24-2021, 08:57 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,838

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
google is your friend https://www.opsdash.com/blog/disk-monitoring-linux.html
 
Old 02-24-2021, 10:15 AM   #3
lvm_
Member
 
Registered: Jul 2020
Posts: 925

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
Generic - no, but you might find what you are looking for amongst the widgets for your GUI. There is definitely one for Gnome, in KDE disk performance graphs come as standard but not the disk LEDs. Or have a look at conky - it can do all sorts of monitoring stuff.
 
Old 02-24-2021, 10:27 AM   #4
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Quote:
Originally Posted by lvm_ View Post
Generic - no ...
Generic - yes!
Code:
cat /proc/diskstats
cat /proc/stat
 
Old 02-25-2021, 09:07 AM   #5
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,800

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by jan128 View Post
My system has no visible means - no "busy light" to indicate hard drive disk activity.
But I can hear them grinding.

My cheap USB sticks lights-up when activated.

Is there a generic Linux application to tell me when my HDD disks are in use.
Such as "gparted" "scanning for devices" or mdadm / RAID updating ?
But generic - triggered by ANY disk activity.
I'm an old-school "blinkenlights" kind of guy so the fact that my laptop is also lacking activity LEDs for anything (well, it does, at least, have a power LED) always bugged me: Is the system CPU-bound? I/O-bound? Completely hung?

Look for "GKrellm" (you might see it as "GKrellem2") in your distribution's repository or search for it using your search engine of choice.

HTH...
 
Old 02-25-2021, 08:12 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
This article names several candidates: https://www.opsdash.com/blog/disk-monitoring-linux.html
 
Old 02-26-2021, 06:13 PM   #7
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
You could install lm-sensors and gkrellm
With gkrellm running you can see a real time graph of activity over time for each disk or as a composite. You can also monitor temps, fans, network, and more.
 
Old 02-26-2021, 07:17 PM   #8
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
Wot he said ^^^^^^^^

I've got a GKrellm strip permanently docked at the right hand side of my screen monitoring my CPUs, (4 cores plus 4 hyperthreads),temperatures of the cores and GPU, network traffic and both my disks. Also shows uptime. Love it!

Play Bonny!

 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] RAID 5 with 4 hard disks... array started with only 3 out of 4 disks kikinovak Slackware 9 08-11-2012 06:33 AM
Constant hard drive activity when optical drive is in use the trooper Linux - Hardware 5 08-15-2008 06:25 PM
Monitor all activity to hard drive esckey2004 Linux - Security 2 01-07-2006 12:56 PM
Odd hard drive activity and lock-ups on laptop using SuSE 9.1 personal tisource Linux - Hardware 0 12-05-2004 06:36 PM
Hard drive activity monitoring bkeating Linux - General 1 05-24-2002 04:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration