All Projects → jkuri → macstats

jkuri / macstats

Licence: MIT License
Mac OS X Statistics - Battery, Fans, CPU

Programming Languages

C++
36643 projects - #6 most used programming language
typescript
32286 projects
c
50402 projects - #5 most used programming language
javascript
184084 projects - #8 most used programming language
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to macstats

Easydeviceinfo
📱 [Android Library] Get device information in a super easy way.
Stars: ✭ 1,698 (+2987.27%)
Mutual labels:  cpu, battery
Stats
macOS system monitor in your menu bar
Stars: ✭ 7,134 (+12870.91%)
Mutual labels:  cpu, battery
clock
High-resolution clock functions: monotonic, realtime, cputime.
Stars: ✭ 52 (-5.45%)
Mutual labels:  cpu, darwin
Xsuspender
👀 💻 💤 🔋 Save battery by auto-suspending unfocused X11 applications.
Stars: ✭ 53 (-3.64%)
Mutual labels:  cpu, battery
Xfce4 Genmon Scripts
🐭 XFCE panel generic monitor scripts
Stars: ✭ 69 (+25.45%)
Mutual labels:  cpu, battery
Rainbarf
it's like Rainmeter, but for CLI!
Stars: ✭ 1,087 (+1876.36%)
Mutual labels:  cpu, battery
Auto Cpufreq
Automatic CPU speed & power optimizer for Linux
Stars: ✭ 843 (+1432.73%)
Mutual labels:  cpu, battery
Iglance
Free system monitor for OSX and macOS. See all system information at a glance in the menu bar.
Stars: ✭ 1,358 (+2369.09%)
Mutual labels:  cpu, battery
Sensors
A macOS application displaying the thermal, voltage and current sensor values.
Stars: ✭ 70 (+27.27%)
Mutual labels:  cpu, battery
Computer-Architecture-Task-2
Riscv32 CPU Project
Stars: ✭ 43 (-21.82%)
Mutual labels:  cpu
monolish
monolish: MONOlithic LInear equation Solvers for Highly-parallel architecture
Stars: ✭ 166 (+201.82%)
Mutual labels:  cpu
nativescript-performance-monitor
⚡ Proof your app maintains 60-ish FPS by collecting data or showing it on screen with this NativeScript plugin!
Stars: ✭ 21 (-61.82%)
Mutual labels:  cpu
peakperf
Achieve peak performance on x86 CPUs and NVIDIA GPUs
Stars: ✭ 33 (-40%)
Mutual labels:  cpu
XNU
Research into porting the XNU kernel to ARM devices.
Stars: ✭ 76 (+38.18%)
Mutual labels:  darwin
smbusb
USB SMBus Interface
Stars: ✭ 93 (+69.09%)
Mutual labels:  battery
SherwoodArch
The Sherwood Architecture is a custom 64-Bit RISC based CPU architecture.
Stars: ✭ 13 (-76.36%)
Mutual labels:  cpu
QNICE-FPGA
QNICE-FPGA is a 16-bit computer system for recreational programming built as a fully-fledged System-on-a-Chip in portable VHDL.
Stars: ✭ 51 (-7.27%)
Mutual labels:  cpu
uC-CPU
Designed with Micriμm's renowned quality, scalability and reliability, the purpose of μC/ CPU is to provide a clean, organized ANSI C implementation of each processor's/compiler's hardware-dependent.
Stars: ✭ 31 (-43.64%)
Mutual labels:  cpu
dagger-track
Gradle plugin to add clock trackings to your dagger components and subcomponents
Stars: ✭ 59 (+7.27%)
Mutual labels:  cpu
zelda-battery
A Legend of Zelda inspired health-bar battery meter for the CLI and GUI
Stars: ✭ 22 (-60%)
Mutual labels:  battery

macstats

node script for you mac stats

Example output:

--- CPU Stats ---
CPU Temp:        33.75°C

--- Fans Stats ---
Fan 0 speed:     1996 RPM
Fan 1 speed:     2003 RPM

--- Battery Stats ---
Charged:         82%
Capacity:        92%
Cycle Count:     692 (69%)
Max Cycle Count: 1000
Current Charge:  5189 mAh
Maximum Charge:  6316 mAh
Design Capacity: 6900 mAh
Time Remaining:  6.54 h
Temperature:     30.06°C

Installation

npm i macstats -g

Run

macstats

API

'use strict';

let macstats = require('macstats');

console.log(macstats);

API Reference

Data Description
battery.battery_installed Is battery installed, true or false [Boolean]
battery.design_capacity Battery design capacity in mAh [Int]
battery.max_capacity Max battery capacity in mAh [Int]
battery.current_capacity Current battery capacity in mAh [Int]
battery.percentage Current capacity percentage [Int]
battery.design_cycle_count Design cycle count [Int]
battery.cycle_count Current battery cycle count [Int]
battery.cycle_percentage Cycle count percentage [Int]
battery.temperature Battery temperature in °C [Float]
battery.charged Current battery charge percentage [Int]
battery.time_remaining Remaining time in minutes, if plugged in time until full, otherwise time until empty [Int]
battery.time_remaining_hours Time remaining in hours. Use in a combination with time_remaining_minutes [Int]
battery.time_remaining_minutes Time remaining in minutes. Use in a combination with time_remaining_hours [Int]
cpu.temp CPU Temperature in °C [Float]
fan.num Total number of fans [Int]
fan.fans Array of Objects (properties: id [Int], rpm [Int]), example: [ { id: 0, rpm: 2007 }, { id: 1, rpm: 1999 } ] }

Author

Jan Kuri

Licence

This project is licensed under the MIT license. See the LICENSE file for more info.

Thanks

Thanks Massimiliano Marcon for SMC C++ code in v8.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].