Display CPU frequency, usage, memory consumption, and battery percentage remaining within the VSCode status bar.
Just the system information node module.
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 total).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.
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.
- Fixed readme typos, code typos, set CPU Frequency to have a leading 0 if less than 10% issue: #33, removed a small vulnerability, added option for issue: #23, and updated recommended VS Code module.
- 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.
- Added DiskSpace, CPU Temperature. Adjusted battery icon.
- Refactored code heavily, addressed Github issue with memory.used versus memory.active.
- Added icon for store.
- Changed icons. Added selectable units.
- Actually properly added systeminformation as a real dependency.
- Properly added systeminformation as a real dependency
- Initial release