Author Topic: graphic interface for smartahci  (Read 45907 times)

Jan-Erik Lärka

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 284
  • Karma: +5/-0
    • View Profile
Re: graphic interface for smartahci
« Reply #30 on: February 24, 2022, 10:05:27 pm »
Wrote this in VX-Rexx, but don't know what/how to actually use smart...exe to actually test and take appropriate actions.
Can send it if you want to create something useful from it.

Jan-Erik Lärka

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 284
  • Karma: +5/-0
    • View Profile
Re: graphic interface for smartahci
« Reply #31 on: February 25, 2022, 09:54:36 pm »
Here's the code to improve to actually do something useful.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5021
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: graphic interface for smartahci
« Reply #32 on: February 25, 2022, 10:51:53 pm »
Hi Jan-Erik.

I want to try it this weekend, can you please send me the binaries?

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5078
  • Karma: +117/-1
    • View Profile
Re: graphic interface for smartahci
« Reply #33 on: February 25, 2022, 11:07:59 pm »
Wrote this in VX-Rexx, but don't know what/how to actually use smart...exe to actually test and take appropriate actions.
Can send it if you want to create something useful from it.

Looks pretty useful as is, smart mostly reports on the status anyways. There is triggering (and cancelling) tests, smartctrl -help or such says how.

Jan-Erik Lärka

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 284
  • Karma: +5/-0
    • View Profile
Re: graphic interface for smartahci
« Reply #34 on: February 26, 2022, 05:20:08 pm »
This is just the exe, the icons reside in the other package

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5078
  • Karma: +117/-1
    • View Profile
Re: graphic interface for smartahci
« Reply #35 on: February 27, 2022, 05:56:01 am »
This is just the exe, the icons reside in the other package

Hi, thanks for this. Sorta works after I built smartcrtl as in it shows the attributes of my first device, no others seem to work and Log, Report and summary are empty.
its a good start and has promise.
Wonder if it is easy to get the output from smartd as well, it usually goes to syslog

Jan-Erik Lärka

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 284
  • Karma: +5/-0
    • View Profile
Re: graphic interface for smartahci
« Reply #36 on: February 27, 2022, 09:57:38 am »
You need smartmontools-6.6-r4424.zip, but here it list (smartclt --scan) the disks on my other computer as you can see in the images.
You've noticed the problem with the Attribute tab, as it empty it and then add more columns with data, instead it should remove all and rebuild it from scratch every time, so now you have to scroll further and further to the right every time it load data.
The tabs for Log, Report and Summary should be filled in once the test finish (not implemented).
You can see that the right click menu has been prepared (though grayed out for now as it's not implemented).


vx-rexx is available not only as a demo if you look around the internet.

Jan-Erik Lärka

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 284
  • Karma: +5/-0
    • View Profile
Re: graphic interface for smartahci
« Reply #37 on: January 07, 2023, 09:10:06 pm »
Anyone tried to add code that for example test a hdd?


ivan

  • Hero Member
  • *****
  • Posts: 1601
  • Karma: +20/-0
    • View Profile
Re: graphic interface for smartahci
« Reply #38 on: January 08, 2023, 01:45:34 pm »
You could try free DFSee v17 for that and I think Peter Brown's PMsmartctl does a good job of showing the SMART data on a hard disk.

Neil Waldhauer

  • Hero Member
  • *****
  • Posts: 1073
  • Karma: +27/-0
    • View Profile
    • Blonde Guy
Re: graphic interface for smartahci
« Reply #39 on: January 08, 2023, 08:39:44 pm »
I'm not seeing my disks with smartmontools. I'm using the Arca Noae NVMe driver. I see we have smartmontools 6.6, but the release version is 7.3.
Expert consulting for ArcaOS, OS/2 and eComStation
http://www.blondeguy.com