graphics() updated docs
This commit is contained in:
parent
66aa3c77d8
commit
188b27340b
@ -30,6 +30,7 @@ For major (breaking) changes - version 3 and 2 see end of page.
|
||||
|
||||
| Version | Date | Comment |
|
||||
| -------------- | -------------- | -------- |
|
||||
| 4.33.3 | 2020-12-27 | `graphics()` updated docs |
|
||||
| 4.33.2 | 2020-12-27 | `graphics()` fixed issue (nvidia-smi) |
|
||||
| 4.33.1 | 2020-12-22 | `versions()` fixed issue (mac OS) |
|
||||
| 4.33.0 | 2020-12-21 | `graphics()` nvidia-smi support (linux, windows) |
|
||||
|
||||
@ -48,7 +48,7 @@ This is amazing. Started as a small project just for myself, it now has > 10,000
|
||||
|
||||
## Upcoming
|
||||
|
||||
**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).
|
||||
**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 [is documented 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.
|
||||
|
||||
|
||||
@ -83,6 +83,11 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">4.33.3</th>
|
||||
<td>2020-12-27</td>
|
||||
<td><span class="code">graphics()</span> updated docs, typescript typings</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">4.33.2</th>
|
||||
<td>2020-12-27</td>
|
||||
|
||||
@ -169,7 +169,7 @@
|
||||
<img class="logo" src="assets/logo.png">
|
||||
<div class="title">systeminformation</div>
|
||||
<div class="subtitle"><span id="typed"></span></div>
|
||||
<div class="version">Current Version: <span id="version">4.33.2</span></div>
|
||||
<div class="version">Current Version: <span id="version">4.33.3</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>
|
||||
</div>
|
||||
<div class="down">
|
||||
|
||||
@ -401,7 +401,7 @@ function graphics(callback) {
|
||||
const nvidiaSmiExe = getNvidiaSmi();
|
||||
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 cmd = nvidiaSmiExe + ' ' + nvidiaSmiOpts + _linux ? ' 2>/dev/null' : '';
|
||||
const cmd = nvidiaSmiExe + ' ' + nvidiaSmiOpts + (_linux ? ' 2>/dev/null' : '');
|
||||
try {
|
||||
const res = execSync(cmd, options).toString();
|
||||
return res;
|
||||
|
||||
16
lib/index.d.ts
vendored
16
lib/index.d.ts
vendored
@ -258,6 +258,22 @@ export namespace Systeminformation {
|
||||
vram: number;
|
||||
vramDynamic: boolean;
|
||||
subDeviceId?: string;
|
||||
driverVersion?: string;
|
||||
subDeviceId?: string;
|
||||
name?: string;
|
||||
pciBus?: string;
|
||||
fanSpeed?: number;
|
||||
memoryTotal?: number;
|
||||
memoryUsed?: number;
|
||||
memoryFree?: number;
|
||||
utilizationGpu?: number;
|
||||
utilizationMemory?: number;
|
||||
temperatureGpu?: number;
|
||||
temperatureMemory?: number;
|
||||
powerDraw?: number;
|
||||
powerLimit?: number;
|
||||
clockCore?: number;
|
||||
clockMemory?: number;
|
||||
}
|
||||
|
||||
interface GraphicsDisplayData {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user