hiyohiyo / crystaldiskinfo Goto Github PK
View Code? Open in Web Editor NEWCrystalDiskInfo
Home Page: https://github.com/hiyohiyo/CrystalDiskInfo
License: MIT License
CrystalDiskInfo
Home Page: https://github.com/hiyohiyo/CrystalDiskInfo
License: MIT License
NVMe 用 S.M.A.R.T. 属性をテキストコピー(編集 > コピー)時の情報を16 bytes 生の値を表示する形に変更する。
ID Cur Wor Thr RawValues(6) Attribute Name
01 __0 __0 __0 000000000000 Critical Warning
02 __0 __0 __0 000000000136 Composite Temperature
ID RawValues(16) Attribute Name
01 00000000000000000000000000000000 Critical Warning
02 00000000000000000000000000000136 Composite Temperature
本当に 16 bytes も表示するのが良いのかは要検討ですが・・・。
What is the license for this code?
Can I fork this product and reproduce/redistribute it?
総読み込み量/総書き込み量などの単位をユーザーが選択できるようにする。
https://crystalmark.info/board/c-board.cgi?cmd=one;no=1609;id=#1609
https://osdn.net/projects/crystaldiskinfo/ticket/30723
Silicon Image対応の改善はかなり難しそう。
https://osdn.net/projects/crystaldiskinfo/ticket/35849
任意のS.M.A.R.T.属性について、任意の条件で警報を上げられるようにしたい。
Hi Guys,
Thanks for all of your good work.
How do you perceive a feature, especially useful for SSDs, where in Alerts would be definable an Alert that would show when certain Bytes per Time are writen, i.e. 10 GB written in last minute?
I am requesting this feature because I saw a scenario where an app that was profiling the SSD in background, what was unwanted and also not triggered by the user, wrote 500 GB to it without a knowledge of a user. If there would be an early enough alert that something had written 50 GB in last, let's say minute, or maybe an earlier alert after 30 sec that there were 25 GB written in last 30 sec, the unwanted process could be stopped before wasting the rest of valuable GBs up to 500GB.
Thank you very much for considering this, best regards, God bless you, Kamil+
Line 3091 in ffc641d
how about:
asi.HostReads = (*(ULONG64*)&asi.SmartReadData[0x20]) * 512 / 1024 / 1024;
?
Most of the items are displayed as "Vendor Specific".
The S.M.A.R.T. information of this model can be obtained from the following software.
Kingston SSD Toolbox
https://www.hyperxgaming.com/jp/support/technical/kingston-ssd-toolbox
Exported Data
suv400s37240g.txt
温度センサー非対応の場合、温度を非表示にする。
リフレッシュする度にIDENTIFY_DEVICEを送るように変更する。
・IDENTIFY_DEVICEで確認するパラメータが存在
・ストレージの切断をいち早く反映
など
Are you aware that the ATA standard is now able to report larger cache sizes via bytes 32 - 39 in the Identify Device Log?
See page 454 of the following document:
http://www.t13.org/Documents/UploadedDocuments/docs2013/d2161r5-ATAATAPI_Command_Set_-_3.pdf
「温度アイコンのみ表示」をチェックしても通知領域アイコンのメインアイコンが消えないことがある。
https://osdn.net/projects/crystaldiskinfo/ticket/24505
UIとサービスを分離して、インストール後は、一般ユーザー権限でも動作するようにする。
https://osdn.net/projects/crystaldiskinfo/ticket/39877
通知領域のアイコンを温度ではなく健康状態で色を変える機能が欲しい。
赤青緑は0℃から100℃までアイコンが揃っているため、黄色と灰色を追加すれば一応対応は可能。
色相変更で対応できるかな。
<- Drives->
現状 UI スレッドをブロックする形での実装。(超簡易手法)
I'm trying to get physical drives as following:
CAtaSmart m_Ata;
m_Ata.Init(TRUE, FALSE, NULL, FALSE, TRUE, FALSE);
However when checking m_Ata.vars.GetCount()
it return Zero.
What are the possible cases for getting this result? Thanks.
Would it be possible to add an option to launch an external command
(e.g. .bat file) when the temperature warning becomes active/inactive?
I want to switch on an additional fan to lower the temperature.
グラフ機能は NVMe に未対応。根本的な対応にはフォーマット変更などが必要ですが、現状を維持しつつ対応したい。
Running CDI generates symbolic links (Dialog & Language as shown in screenshot) along with the CDI-Smart folder. These symbolic links reference the parent folder they sit in (Reference, in this case), which causes recursion issues with programs/scripts accessing that parent folder.
Workaround for the moment:
Deleting symbolic links of course removes the issue. CDI only seems to create these links on launch, but deleting them with CDI still open does cause functionality issues with the program.
Suggested fix:
CDI remove symbolic links upon closing program.
https://crystalmark.info/board/c-board.cgi?cmd=one;no=1557;id=#1557
Intel RST 環境で RAID0 構成配下のドライブが見えない。
最大8台から最大12台の表示に対応(通常版のみ)
横幅 672px → 1008px
Logitec LHR-2BDPU3 に接続されたドライブが読めないという動作報告を受領。
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>ロジテックのHDDクレードル買ったら、CrystalDiskInfoでSMART値が読めなかった。HDDScanだと読めた。
— れーて (@letheiv) 2016年5月28日
エンジニアリングの結果、こんな感じの 16 バイトコマンドを送り込むことで接続された 2 台の S.M.A.R.T. 情報などが取得できるようになりました。
else if (type == CMD_TYPE_LOGITEC2)
{
sptwb.Spt.CdbLength = 16;
sptwb.Spt.Cdb[0] = 0xD8;
sptwb.Spt.Cdb[1] = 0x15;
sptwb.Spt.Cdb[2] = 0x00;
sptwb.Spt.Cdb[3] = 0xD0; // READ_ATTRIBUTES
sptwb.Spt.Cdb[4] = 0x06;
sptwb.Spt.Cdb[5] = 0x7B;
sptwb.Spt.Cdb[6] = 0x00;
sptwb.Spt.Cdb[7] = 0x00;
sptwb.Spt.Cdb[8] = 0x02;
sptwb.Spt.Cdb[9] = 0x00;
sptwb.Spt.Cdb[10] = 0x01;
sptwb.Spt.Cdb[11] = 0x00;
sptwb.Spt.Cdb[12] = 0x4F; // SMART_CYL_LOW
sptwb.Spt.Cdb[13] = 0xC2; // SMART_CYL_HIGH
sptwb.Spt.Cdb[14] = target; //
sptwb.Spt.Cdb[15] = 0xB0;// SMART_CMD
}
Vendor/Model: KINGSTON SA400S37120G
Firmware: SBFKB1E1_N/A
Norm Worst Thresh Raw Flags
======================================================
0 100 0 0x0000000000000000 0x32,SP,EC,OC
100 100 0 0x0000000000000003 0x32,SP,EC,OC
100 100 0 0x0000000000000007 0x32,SP,EC,OC
100 100 0 0x0000000000000000 0x00
100 100 0 0x0000000000000000 0x00
100 100 0 0x0000000000000000 0x00
100 100 0 0x0000000000000000 0x12,EC,OC
100 100 0 0x000000000000000a 0x00
100 100 10 0x0000000000000007 0x00
100 100 0 0x0000000000000000 0x32,SP,EC,OC
100 100 0 0x0000000000000002 0x00
100 100 0 0x0000000000000000 0x32,SP,EC,OC
100 100 0 0x0000000000000000 0x00
100 100 0 0x0000000000000000 0x32,SP,EC,OC
100 100 0 0x0000000000000001 0x12,EC,OC
65 61 0 0x0000002700160023 0x22,SP,OC
100 100 0 0x0000000000000000 0x32,SP,EC,OC
100 100 0 0x0000000000000000 0x32,SP,EC,OC
100 100 0 0x0000000000000000 0x32,SP,EC,OC
0 0 0 0x0000000000000064 0x00
100 100 0 0x000000000000001d 0x32,SP,EC,OC
100 100 0 0x0000000000000017 0x32,SP,EC,OC
100 100 0 0x0000000000000017 0x32,SP,EC,OC
100 100 0 0x0000000000000000 0x00
100 100 0 0x0000000000000002 0x00
100 100 0 0x0000000000000508 0x00
100 100 0 0x0000000000000508 0x00
Sort drives by drive letter, physical drive id, etc...
Chocolateyやwingetといったパッケージマネージャで管理できる形でリリースするといいかも
Default font was changed from Tahoma to Segoe UI.
So, label space is too small.
GitHub 公開時にはリソースが不足しており、リソースファイルを追加しないとビルドできませんでした。
リソースファイルを git 管理対象として追加
---- User's request
I would like to track the Data with my Syslog Server. It would be sensational if you could add the following:
Then the Software would be absolutely perfect for professional use.
https://osdn.net/projects/crystaldiskinfo/ticket/33547
記憶域スペースの対応はなかなか難しそう・・・。
Will you support this SSD in future? Or can SMART information be modified by users?
Thanks!
Port SMART info from intel ssd toolbox:
s3500.txt
一部ドライブで S.M.A.R.T. 属性としきい値の index がずれる。健康状態の誤判定にもつながっている。
http://crystalmark.info/board/c-board.cgi?cmd=one;no=676;id=
n 氏からのパッチ
BOOL CAtaSmart::FillSmartThreshold(ATA_SMART_INFO* asi)
{
int count = 0;
for(int i = 0; i < MAX_ATTRIBUTE; i++)
{
SMART_THRESHOLD* pst = (SMART_THRESHOLD*)&(asi->SmartReadThreshold[i * sizeof(SMART_THRESHOLD) + 2]);
if(pst->Id != 0)
{
for(int j = 0; j < asi->AttributeCount; j++)
{
if(pst->Id == asi->Attribute[j].Id)
{
memcpy(&(asi->Threshold[j]), pst, sizeof(SMART_THRESHOLD));
count++;
}
}
}
}
...
}
https://osdn.net/projects/crystaldiskinfo/ticket/35235
Power On Hoursの単位を誤認識することがあるため、ユーザー側で単位を指定する機能を搭載する。
No Logging support for reducing storage access.
This is a minor, but I try to reduce the amount of writes to my SSD. While
auditing writes, I noticed CDI writes logs every minute. It there a way to
stop the log collection while keeping alerting operational?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.