LCDHost Forums

LCDHost => LCDHost Plugins => Topic started by: Triscopic on 2011-11-09 23:21:25

Title: [Release] LH_DriveStats
Post by: Triscopic on 2011-11-09 23:21:25
LH_DriveStats
Latest Version: v1.02

LH_DriveStats is a plugin that allows LCDHost to display information about the computer's disk drives. You can select any drive and display any of the following details:


These can be displayed in any of the standard formats: text, bar, dial, graph, status image... and pie chart. Pie charts are only available for drive space; this is the first outing for this new rendering type, so please report any bugs in the pie chart behaviour.

Download LH_DriveStats v1.02 (http://lcdhost.googlecode.com/files/LH_DriveStats_win32_R497.zip)
Title: Re: [Release] LH_DriveStats
Post by: Triscopic on 2011-11-09 23:21:35
*reserved*
Title: Re: [Release] LH_DriveStats
Post by: novax1 on 2011-11-10 07:03:27
hello
 LH_DriveStats give bad data will not work, dial, bar
Title: Re: [Release] LH_DriveStats
Post by: Triscopic on 2011-11-10 08:19:17
Works perfectly for me on the three PCs I tested it on. Any chance you can be more specific in your complaint?

And... are you sure you've set the min/max values on the bars/dials correctly? They don't "adapt" like the graph does (obviously) so you need to set a manual maximum for them or they just go full-empty-full-empty
Title: Re: [Release] LH_DriveStats
Post by: novax1 on 2011-11-10 08:42:38
Works perfectly for me on the three PCs I tested it on. Any chance you can be more specific in your complaint?

And... are you sure you've set the min/max values on the bars/dials correctly? They don't "adapt" like the graph does (obviously) so you need to set a manual maximum for them or they just go full-empty-full-empty

I show an image bar, dial, the data show no
are configured with the same unit of HDD
Title: Re: [Release] LH_DriveStats
Post by: Triscopic on 2011-11-10 09:06:46
Ah ok. I didn't test the HDD usage stats on anything other than the pie. I'll look at it tonight.
Title: Re: [Release] LH_DriveStats
Post by: novax1 on 2011-11-11 06:26:43
hello
 a good job as always.
 show as much information to the HDD. you just have to show the temperatures
Title: Re: [Release] LH_DriveStats
Post by: littlemixi on 2011-11-11 06:57:16
..and I couldn't use it for my server drives  :-[ Any chance for the future?

Anyway..I like this idea AND the realization very much..
Title: Re: [Release] LH_DriveStats
Post by: Triscopic on 2011-11-11 08:03:06
I've updated it to v1.01 via the auto-update now.

That should fix the problems you were having before Novax. Nice layout there btw.

Mixi: Not sure. I intend to look into it later however.
Title: Re: [Release] LH_DriveStats
Post by: novax1 on 2011-11-11 09:08:37
this in the past with the update
 standing drivers does not work, dial, bar
 regards
 thanks
Title: Re: [Release] LH_DriveStats
Post by: Triscopic on 2011-11-11 09:31:22
Damn.

I've done a quick retest @ on my work pc, and it looks like this to me:

Text: Works perfectly
Graph: Works perfectly
Bar: Works perfectly
Dial: Works perfectly
Pie: Doesn't work in 1.01 (argh!)

Does that match your experience?
Title: Re: [Release] LH_DriveStats
Post by: novax1 on 2011-11-11 09:41:08
This shows me to my
Text: Works perfectly
Graph: Works perfectly
Bar: Works perfectly
Dial: Works perfectly
Pie: Doesn't work in 1.01 (not working)
perdon
 
Title: Re: [Release] LH_DriveStats
Post by: Triscopic on 2011-11-13 11:40:44
Ok, updated to 1.02 to fix the pie chart bug.

Hope that does it!
Title: Re: [Release] LH_DriveStats
Post by: novax1 on 2011-11-14 09:37:36
everything works ok  ;D  ;D
 thanks  ;)
Title: Re: [Release] LH_DriveStats
Post by: Neofit on 2011-11-28 07:10:15
Great work, as always.

I have a request tough. The Bar control has a 'Units' parameter for the 'Bytes Read/written' values, while the 'Text' control does not, the latter is automatically adapting the units used to the current speed. While of course this is a nice feature to have, not giving people the opportunity to switch off this automatic choice of units has two "problems":

1. If we uncheck the 'Append Units' checkbox to save screen space we don't know whether we are seeing bytes, KB, MB, GB or TB (yes, mine are that fast :) ).

2. I personally do not care about bytes and KBytes, I'd rather round them down to '0', and only see the current activity in MB/sec.

Also, the 'Bytes Read' and 'Bytes Written' value names may be misleading. At first I assumed it was a cumulative value (like the one Process Explorer is displaying). Maybe it would be better to call them something like 'data rate', 'reads/sec', etc.?

Thanks.
Title: Re: [Release] LH_DriveStats
Post by: Triscopic on 2011-12-11 10:21:53
I've added "Drive Stats (Text): Allow disabling of adaptive units & ability to lock units at one level like Bars etc" to my to do list. Sorry for the delay in replying by the way.
Title: Re: [Release] LH_DriveStats
Post by: Neofit on 2011-12-12 21:51:02
I've added "Drive Stats (Text): Allow disabling of adaptive units & ability to lock units at one level like Bars etc" to my to do list. Sorry for the delay in replying by the way.
No need to be sorry, thanks for the great work.
Title: Re: [Release] LH_DriveStats
Post by: havik2k on 2011-12-14 03:34:15
Thanks for the excellent work. LCDHost is helping me enjoy my G19. I have a couple requests:
1. Hard Drive temps (AIDA64) reporting (unless i made a mistake on the setup).
2. Be able to change between MB, GB or TB for Free space.
Thanks again for your time.
Title: Re: [Release] LH_DriveStats
Post by: Triscopic on 2011-12-14 09:55:02
1. Hard Drive temps (AIDA64) reporting (unless i made a mistake on the setup).
LH_Monitoring can get data from Aida. It should be able to get all data you tell Aida to share publicly.2. Be able to change between MB, GB or TB for Free space. Look for the monitoring tools under "3rd Party\Monitoring"

2. Be able to change between MB, GB or TB for Free space.

By which I assume you mean the same thing as Neofit was asking for above, in which case it's on the to-do list.
Title: Re: [Release] LH_DriveStats
Post by: hiltondk on 2012-01-03 14:12:09
Posted an issue in the google bug tracker..

http://code.google.com/p/lcdhost/issues/detail?id=108&sort=-type

What steps will reproduce the problem?
1. Add Bytes read/write and no data or graphs work
2. Change to different drive no change in behaviour
3.

What is the expected output?
disk read/write performance in bytes/s displayed in graph or text
 What do you see instead?
no data - ie 0bytes and no graph


What version of the product are you using?
1.02

On what operating system?
Win 7 64bit ultimate SP1 .Net 4.0

Please provide any additional information below.
only drive capacity works (free/used)
Rebuilt performance counters with lodctr /r and checked all counters were enabled and no difference, still not working.
Title: Re: [Release] LH_DriveStats
Post by: Triscopic on 2012-01-07 11:40:32
I've added "Drive Stats (Text): Allow disabling of adaptive units & ability to lock units at one level like Bars etc" to my to do list. Sorry for the delay in replying by the way.

Done. This will be released with LCDHost A22.
Title: Re: [Release] LH_DriveStats
Post by: Triscopic on 2012-01-07 19:41:16
Posted an issue in the google bug tracker..

http://code.google.com/p/lcdhost/issues/detail?id=108&sort=-type

...

Please provide any additional information below.
only drive capacity works (free/used)
Rebuilt performance counters with lodctr /r and checked all counters were enabled and no difference, still not working.

Hmmm. Ok... You seem to be technical so here's some technical info:

Drive stats are acquired via the "DeviceIoControl/IOCTL_DISK_PERFORMANCE" API. This pulls everything apart from the disk size & usage, which is pulled using a different API. That's why the size/free/used values work for you even though the rest don't: they're read in a different way.

So this means the question is why the DeviceIoControl/IOCTL_DISK_PERFORMANCE call doesn't work for you.

I suppose it's possible that you've not got the disk performance counters enabled... if you open up the command prompt and type diskperf what does it say? My output can be seen below...

(http://forum.linkdata.se/dlattach/attach.1201/image./lcdhost_plugins/release_lhdrivestats_434.0.html)
Title: Re: [Release] LH_DriveStats
Post by: hiltondk on 2012-01-08 02:19:47
I get the same output as you. Available on demand for physical and logical.

FYI I tried on other drives with no change.
1.Raid 0 SSD boot drives
2.External USB 3 raid 10 array
3.standard single Sata2 drive

All performance counters work in the Perf mon app. ;)
Title: Re: [Release] LH_DriveStats
Post by: Neofit on 2012-01-10 09:09:38
I've added "Drive Stats (Text): Allow disabling of adaptive units & ability to lock units at one level like Bars etc" to my to do list. Sorry for the delay in replying by the way.

Done. This will be released with LCDHost A22.

Thanks for adding this. But there is a small display issue which made me think that this feature didn't make it into A22 in the end. For instance, when I add a bytes read or written counter I have this window:

(http://img256.imageshack.us/img256/6466/aaabhx.th.jpg) (http://imageshack.us/photo/my-images/256/aaabhx.jpg/)

Note the absence of the new 'Units' field. For it to appear, and I found it out by accident  (when I was trying other settings for 'Value Item' out of frustration to see what else is broken :) ), is to switch to a Value for which 'Units' makes no sense, like 'Read Count', then switch back to 'Bytes Written' and the 'Units' field will appear.

Edit: This 'Units' field also disappears if you change the drive. For instance choose c: and 'bytes read', 'Units' is shown. Switch from c: to d: without touching the 'bytes read' value, and the 'Units' field disappears.
Title: Re: [Release] LH_DriveStats
Post by: Triscopic on 2012-01-14 18:05:54
I get the same output as you. Available on demand for physical and logical.
...
All performance counters work in the Perf mon app. ;)

Well, I'm at something of a loss here. Perhaps you could try one of the other utilities out there that uses this API and confirm that that doesn't work also. If you google for DeviceIoControl/IOCTL_DISK_PERFORMANCE you'll find a couple of options such as "HDD Activity Monitoring LED" or "Another HDD Activity Monitor"... perhaps you could install one of those and see if they work?

Although I freely admit I'm straw-clutching here.
Title: Re: [Release] LH_DriveStats
Post by: Triscopic on 2012-01-14 18:08:32
Thanks for adding this. But... for it to appear... switch to a Value for which 'Units' makes no sense, like 'Read Count', then switch back to 'Bytes Written' and the 'Units' field will appear... [Also] this 'Units' field also disappears if you change the drive. For instance choose c: and 'bytes read', 'Units' is shown.

Rats.

Ok, I'm investigating these issues... I did try! I must admit though I only tested it lightly (but I did test it, honest)
Title: Re: [Release] LH_DriveStats
Post by: Triscopic on 2012-01-14 19:01:02
... ok... make sure LCDHost has updated the plugin to v1.04, try it again and let me know how it goes
Title: Re: [Release] LH_DriveStats
Post by: hiltondk on 2012-01-20 06:19:46
Thanks for the suggestion. The other HDD monitoring utilities work fine...  :-\  oh well, ill keep trying as you release newer versions and hopefully I can track something down in my system that is breaking it!
Title: Re: [Release] LH_DriveStats
Post by: Triscopic on 2012-01-21 11:37:00
Thanks for the suggestion. The other HDD monitoring utilities work fine...  :-\  oh well, ill keep trying as you release newer versions and hopefully I can track something down in my system that is breaking it!

...really? they do??? Ok, *that's* unexpected.

Which one(s) did you try?
Title: Re: [Release] LH_DriveStats
Post by: hiltondk on 2012-01-23 08:09:37
Free HDD LED v1.10 from http://www.myportablesoftware.com/
Drives Monitor gadget from http://www.myfavoritegadgets.info/
Title: Re: [Release] LH_DriveStats
Post by: Triscopic on 2012-01-27 14:57:05
hmmm. I shall ponder on this...
Title: Re: [Release] LH_DriveStats
Post by: pinkfloyd on 2012-06-23 13:00:31
Hi,

Your plugins doesn't read data from ramdrive created by http://www.romexsoftware.com/en-us/primo-ramdisk/index.html


Thanks if you can get a look !
Title: Re: [Release] LH_DriveStats
Post by: TYLER on 2013-10-16 10:04:16
hello people

First, only once, great program. Makes really fun, to experiment and to work. Unfortunately, I have since the last update problems with some functions.

LH_DriveStats / DrivePerformanceBar 2.0
Neither the Free / Total / Used Space is displayed correctly. Did not find here in the forum to nothing.

I ever say thank you and sorry for my bad english.

Mfg. DISPLETT


Hallo leute

Zunächst erst mal, tolles Programm. Macht echt Spass, damit zu Arbeiten und zu experimentieren. Leider habe ich seit dem letzten Update Probleme mit einigen Funktionen.
LH_DriveStats/DrivePerformanceBar 2.0
Weder die Free/Total/Used Space wird korrekt angezeigt. Habe hier im Forum leider nichts dazu gefunden.

Ich sage schonmal Danke und sorry für mein schlechtes englisch.

Mfg DISPLETT
Title: Re: [Release] LH_DriveStats
Post by: ronzino on 2013-10-19 17:58:20
is it possible to show NON-IDLE time % ?

i mean, can you subtract 100 from IDLE time in order to measure the disk activity ? it is simple and a must have  8) is it tells the disk busy state

thanks
Title: Re: [Release] LH_DriveStats
Post by: Sasaka-4628 on 2018-11-10 01:46:54
Is there anybody out there who can help getting the Weather plugin working again.

ทางเข้า จีคลับ (https://gclub.royal-ruby888.com/)