graphics() fixed issue (nvidia-smi)
This commit is contained in:
parent
be12a1b4fc
commit
41ade36496
@ -30,6 +30,7 @@ For major (breaking) changes - version 3 and 2 see end of page.
|
|||||||
|
|
||||||
| Version | Date | Comment |
|
| Version | Date | Comment |
|
||||||
| -------------- | -------------- | -------- |
|
| -------------- | -------------- | -------- |
|
||||||
|
| 4.33.2 | 2020-12-27 | `graphics()` fixed issue (nvidia-smi) |
|
||||||
| 4.33.1 | 2020-12-22 | `versions()` fixed issue (mac OS) |
|
| 4.33.1 | 2020-12-22 | `versions()` fixed issue (mac OS) |
|
||||||
| 4.33.0 | 2020-12-21 | `graphics()` nvidia-smi support (linux, windows) |
|
| 4.33.0 | 2020-12-21 | `graphics()` nvidia-smi support (linux, windows) |
|
||||||
| 4.32.0 | 2020-12-14 | `graphics()` clinfo support (linux) |
|
| 4.32.0 | 2020-12-14 | `graphics()` clinfo support (linux) |
|
||||||
|
|||||||
16
README.md
16
README.md
@ -30,11 +30,25 @@
|
|||||||
[![Sponsoring][sponsor-badge]][sponsor-url]
|
[![Sponsoring][sponsor-badge]][sponsor-url]
|
||||||
[![MIT license][license-img]][license-url]
|
[![MIT license][license-img]][license-url]
|
||||||
|
|
||||||
|
#### Happy new year
|
||||||
|
|
||||||
|
```
|
||||||
|
.''.
|
||||||
|
.''. . *''* :_\/_: .
|
||||||
|
:_\/_: _\(/_ .:.*_\/_* : /\ : .'.:.'.
|
||||||
|
.''.: /\ : ./)\ ':'* /\ * : '..'. -=:o:=-
|
||||||
|
:_\/_:'.:::. ' *''* * '.\'/.' _\(/_'.':'.'
|
||||||
|
: /\ : ::::: *_\/_* -= o =- /)\ ' *
|
||||||
|
'..' ':::' * /\ * .'/.\'. '
|
||||||
|
* *..* :
|
||||||
|
*
|
||||||
|
```
|
||||||
|
|
||||||
This is amazing. Started as a small project just for myself, it now has > 10,000 lines of code, > 350 versions published, up to 3 mio downloads per month, > 25 mio downloads overall. Thank you to all who contributed to this project!
|
This is amazing. Started as a small project just for myself, it now has > 10,000 lines of code, > 350 versions published, up to 3 mio downloads per month, > 25 mio downloads overall. Thank you to all who contributed to this project!
|
||||||
|
|
||||||
## Upcoming
|
## Upcoming
|
||||||
|
|
||||||
**MacOS on ARM (Apple silicon support), Windows on ARM**: November 11th 2020 - We will have a closer look on that! I just ordered new hardware (any support is highly appreciated - [Buy me a coffee](https://www.buymeacoffee.com/systeminfo)). As soon as I have the new hardware here, I work very hard on it to get full native support for those platforms!
|
**MacOS on ARM (Apple silicon support), Windows on ARM**: New Apple M1 silicon hardware just arrived (any support is highly appreciated - [Buy me a coffee](https://www.buymeacoffee.com/systeminfo)). We already made a lot of tests and improvements to support Apple M1 silicon. Current status can be seen [seen here](https://github.com/sebhildebrandt/systeminformation/issues/453).
|
||||||
|
|
||||||
**Version 5**: we are planning a new major version with some minor breaking changes and some additional features. Will try to make this available Q1 of 2021.
|
**Version 5**: we are planning a new major version with some minor breaking changes and some additional features. Will try to make this available Q1 of 2021.
|
||||||
|
|
||||||
|
|||||||
@ -83,6 +83,11 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">4.33.2</th>
|
||||||
|
<td>2020-12-27</td>
|
||||||
|
<td><span class="code">graphics()</span> fixed issue nvidia-smi</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">4.33.1</th>
|
<th scope="row">4.33.1</th>
|
||||||
<td>2020-12-22</td>
|
<td>2020-12-22</td>
|
||||||
|
|||||||
@ -169,7 +169,7 @@
|
|||||||
<img class="logo" src="assets/logo.png">
|
<img class="logo" src="assets/logo.png">
|
||||||
<div class="title">systeminformation</div>
|
<div class="title">systeminformation</div>
|
||||||
<div class="subtitle"><span id="typed"></span></div>
|
<div class="subtitle"><span id="typed"></span></div>
|
||||||
<div class="version">Current Version: <span id="version">4.33.1</span></div>
|
<div class="version">Current Version: <span id="version">4.33.2</span></div>
|
||||||
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
|
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="down">
|
<div class="down">
|
||||||
|
|||||||
@ -401,8 +401,9 @@ function graphics(callback) {
|
|||||||
const nvidiaSmiExe = getNvidiaSmi();
|
const nvidiaSmiExe = getNvidiaSmi();
|
||||||
if (nvidiaSmiExe) {
|
if (nvidiaSmiExe) {
|
||||||
const nvidiaSmiOpts = '--query-gpu=driver_version,pci.sub_device_id,name,pci.bus_id,fan.speed,memory.total,memory.used,memory.free,utilization.gpu,utilization.memory,temperature.gpu,temperature.memory,power.draw,power.limit,clocks.gr,clocks.mem --format=csv,noheader,nounits'
|
const nvidiaSmiOpts = '--query-gpu=driver_version,pci.sub_device_id,name,pci.bus_id,fan.speed,memory.total,memory.used,memory.free,utilization.gpu,utilization.memory,temperature.gpu,temperature.memory,power.draw,power.limit,clocks.gr,clocks.mem --format=csv,noheader,nounits'
|
||||||
|
const cmd = nvidiaSmiExe + ' ' + nvidiaSmiOpts + _linux ? ' 2>/dev/null' : '';
|
||||||
try {
|
try {
|
||||||
const res = execSync(nvidiaSmiExe + ' ' + nvidiaSmiOpts, options);
|
const res = execSync(cmd, options).toString();
|
||||||
return res;
|
return res;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
util.noop();
|
util.noop();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user