gpu102
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

GPU-INFO-NV

Description

Shows GPU Load, Temp, Clocks, Name. Currently working only for NVIDIA GPU's(until I get an AMD GPU for tests)

Install

Using NPM
	npm install gpu-info-nv
Using Yarn
	yarn add gpu-info-nv

Usage

// Example

const nv = require('gpu-info-nv');

nv.getName().then(data => {
	console.log(data) ---> GeForce GTX 1060 3GB
})

Available Methods

	1. getName() --> Returns GPU Name
	2. getTemp() --> Returns Current GPU Temp in Celsius
	3. getUsage() ---> Returns Current GPU Load in Percents
	4. getMemoryTotal() ---> Returns Total GPU Memory in MB
	5. getMemoryUsed() ---> Returns Total Used Memory in MB
	6. getMemoryFree() ---> Returns Total Free Memory in MB
	7. getGpuClock() ---> Returns GPU Clock in MHZ
	8. getMemClock() ---> Returns Memory Clock in MHZ

Package Sidebar

Install

npm i gpu102

Weekly Downloads

0

Version

2.0.1

License

MIT

Unpacked Size

6.36 kB

Total Files

5

Last publish

Collaborators

  • mva