Re: Extension of systemVersion
Posted: Tue Sep 03, 2019 8:40 pm
Linux is reasonably abstracted from the hardware layer. Windows somewhat less so. At a level very close to the metal I can envision a script wanting to take advantage of, say, a particular feature of a graphics card, and so have a need to query the hardware characteristics. But I don't see this as necessarily a function of "the machine'.
For Windows (and maybe linux as well) the script might want to do different things if it's running on a tablet or Surface or something else where it might take advantage of certain hardware features. On linux the output of the lshw command will give you much more than you could ever want in terms of hardware details. And FWIW the contents of /proc/version will at least tell me that I'm built on an Ubuntu 8.04 base. I don't know if there's a similar feature in Windows.
For Windows (and maybe linux as well) the script might want to do different things if it's running on a tablet or Surface or something else where it might take advantage of certain hardware features. On linux the output of the lshw command will give you much more than you could ever want in terms of hardware details. And FWIW the contents of /proc/version will at least tell me that I'm built on an Ubuntu 8.04 base. I don't know if there's a similar feature in Windows.