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

Jan-Erik Lärka

  • Global Moderator
  • Full Member
  • *****
  • Posts: 238
  • Karma: +3/-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
  • Full Member
  • *****
  • Posts: 238
  • Karma: +3/-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: 3644
  • Karma: +34/-0
  • 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: 3666
  • Karma: +77/-0
    • 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
  • Full Member
  • *****
  • Posts: 238
  • Karma: +3/-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: 3666
  • Karma: +77/-0
    • 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
  • Full Member
  • *****
  • Posts: 238
  • Karma: +3/-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.