You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Nick Anderson 8720281234 Added precision customizability, in-progress network support, some mitigation of width changing of the StatusBarItem 5 years ago
.github/workflows Updating package.json and adding package-lock.json (#29) 5 years ago
.vscode initial commit 7 years ago
images Fixed bug with checking that a promise was resolving in isShown rather than using the promise value. Added hiding of CPU temp if its unsupported. 5 years ago
src Added precision customizability, in-progress network support, some mitigation of width changing of the StatusBarItem 5 years ago
.gitattributes initial commit 7 years ago
.gitignore initial commit 7 years ago
.vscodeignore initial commit 7 years ago
CHANGELOG.md Fixed bug with checking that a promise was resolving in isShown rather than using the promise value. Added hiding of CPU temp if its unsupported. 5 years ago
README.md Added lm-sensors feedback. Updated README. (#30) 5 years ago
package-lock.json Bump systeminformation from 4.23.3 to 4.27.11 (#39) 5 years ago
package.json Added precision customizability, in-progress network support, some mitigation of width changing of the StatusBarItem 5 years ago
tsconfig.json Pulling from upstream. Intermediate adding of precision and maxWidth support. 5 years ago
tslint.json initial commit 7 years ago

README.md

Resource Monitor

Features

Display CPU frequency, usage, memory consumption, and battery percentage remaining within the VSCode status bar.

Screenshots

Disk space feature.

Requirements

Just the system information node module.

Extension Settings

  • resmon.show.cpuusage: Show CPU Usage. In Windows, this percentage is calculated with processor time, which doesn't quite match the task manager figure.
  • resmon.show.cpufreq: Show CPU Frequency. This may just display a static frequency on Windows.
  • resmon.show.mem: Show consumed and total memory as a fraction.
  • resmon.show.battery: Show battery percentage remaining.
  • resmon.show.disk: Show disk space information.
  • resmon.show.cputemp: Show CPU temperature. May not work without the lm-sensors module on Linux. May require running VS Code as admin on Windows.
  • resmon.disk.format: Configures how the disk space is displayed (percentage remaining/used, absolute remaining, used out of totel).
  • resmon.disk.drives: Drives to show. For example, 'C:' on Windows, and '/dev/sda1' on Linux.
  • resmon.updatefrequencyms: How frequently to query systeminformation. The minimum is 200 ms as to prevent accidentally updating so fast as to freeze up your machine.
  • resmon.freq.unit: Unit used for the CPU frequency (GHz-Hz).
  • resmon.mem.unit: Unit used for the RAM consumption (GB-B).
  • resmon.alignLeft: Toggles the alignment of the status bar.
  • resmon.color: Color of the status bar text in hex code (for example, #FFFFFF is white). The color must be in the format #RRGGBB, using hex digits.

Known Issues

A better solution for Windows CPU Usage would be great. I investigated alternatives to counting Processor Time, but none of them seemed to match the Task Manager percentage.


Change Log

[1.0.7]

  • Changed underlying CPU frequency API, added hiding battery/CPU temp information if the device lacks a battery/doesn't support CPU temp sensing, added some clarifications about CPU frequency behavior on Windows.

[1.0.6]

  • Added DiskSpace, CPU Temperature. Adjusted battery icon.

[1.0.5]

  • Refactored code heavily, addressed Github issue with memory.used versus memory.active.

[1.0.4]

  • Added icon for store.

[1.0.3]

  • Changed icons. Added choosable units.

[1.0.2]

  • Actually properly added systeminformation as a real dependency.

[1.0.1]

  • Properly added systeminformation as a real dependency

[1.0.0]

  • Initial release