LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 01-06-2008, 05:00 PM   #1
Ogi
Member
 
Registered: Jun 2004
Location: Belgrade
Distribution: Anything with a bash prompt :P
Posts: 74

Rep: Reputation: 15
Help getting hard disk activity status from linux


Hello!

I'm trying to get hard disk activity status for each individual disk in my RAID array. Before, when my RAID was based on PATA devices, the ability to get an LED for each individual disk was very easy (involved just tapping off one of the IDE Pins, I think pin 39 and wiring to an LED).

Now I have a sata raid array, and I can't use the method above anymore (as SATA connectors do not have a simple pin for LED activity).

So far the only method I have thought of involves software. I found that windows has a program which can register hdd activity (called hddled) and was wondering if anyone here either knows of a linux program that can do that or can give me tips on how to write one.

Seeing as the linux kernel has to send commands to the disk in order to make it do things I assume that there is some sort of interrupt for this. If anyone has any ideas for how I can do this, please let me know

Thanks!


Ognen

Last edited by Ogi; 01-06-2008 at 06:37 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Hard disk activity prabhatsoni Linux - Software 4 07-17-2007 03:25 PM
Hard Disk Activity ??? mike160 Slackware 8 04-02-2006 06:06 PM
hard disk activity patkim Linux - General 5 06-04-2004 01:00 PM
A lot of hard disk activity? HoosTrax Linux - Hardware 14 03-04-2004 07:36 PM
CPU at 100% along with non stop hard disk activity biotek1 Fedora 6 02-05-2004 08:27 PM


All times are GMT -5. The time now is 04:46 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration