Skip to content

Latest commit

 

History

History
103 lines (80 loc) · 5.33 KB

File metadata and controls

103 lines (80 loc) · 5.33 KB

Comparing heim to other crates

This page provides an opinionated comparison between heim and other Rust crates with the similar functionality.
Primary goals are to understand what pieces are missing in heim and to help users choose the crate suitable for their needs.

If you think that the results here are wrong or outdated, feel free to create an issue or send a message in the chat.

Crates used

Basics

heim psutil sysinfo sys-info systemstat
Pure Rust ✓ ✓ ✓ ✗ ✓
Execution flow async sync sync sync sync
License Apache 2.0 / MIT MIT MIT MIT Unlicense

Supported platforms

heim psutil sysinfo sys-info systemstat
Linux ✓ ✓ ✓ ✓ ✓
macOS ✓ ✗ ✓ ✓ ✓
iOS ✗ ✗ ✓ ✗ ✗
Windows ✓ ✗ ✓ ✓ ✓
FreeBSD ✗ ✗ ✗ ✗ ✓
OpenBSD ✗ ✗ ✗ ✗ ✓
Android ✗ ✗ ✓ ✗ ✗

CPU information

heim psutil sysinfo sys-info systemstat
logical count ✓ ✓ ✓ ✓ ✗
physical count ✓ ✓ ✓ ✗ ✗
frequency ✓ ✗ ✓ ✓ ✗
time ✓ ✓ ✗ ✗ ✓
stats (*) ✓ ✗ ✗ ✗ ✗

(*): "stats" here refers to the information about context switches or interrupt amounts.

Disks information

heim psutil sysinfo sys-info systemstat
usage ✓ ✓ ✓ ✓ ✓
partitions ✓ ✓ ✓ ✗ ✓
IO counters ✓ ✓ ✗ ✗ ✓

Host information

heim psutil sysinfo sys-info systemstat
uptime ✓ ✓ ✓ ✗ ✓
boot time ✗ ✗ ✓ ✓ ✓
load average ✗ ✓ ✓ ✓ ✓
OS name ✓ ✗ ✓ ✓ ✗
OS version ✓ ✗ ✓ ✓ ✗
kernel version ✗ ✗ ✓ ✗ ✗
hostname ✓ ✗ ✓ ✓ ✗
users ✓ ✗ ✓ ✗ ✗

Memory information

heim psutil sysinfo sys-info systemstat
memory ✓ ✓ ✓ ✓ ✓
swap ✓ ✓ ✓ ✓ ✓

Network information

heim psutil sysinfo sys-info systemstat
NIC info ✓ ✗ ✓ ✗ ✓
IO counters ✓ ✓ ✓ ✗ ✓
connections ✗ ✗ ✗ ✗ ✗

Processes information

heim psutil sysinfo sys-info systemstat
pids ✓ ✓ ✓ ✗ ✗
pid_exists ✓ ✓ ✓ ✗ ✗
processes ✓ ✓ ✓ ✗ ✗
process disk usage ✗ ✗ ✓ ✗ ✗

Sensors information

heim psutil sysinfo sys-info systemstat
temperatures ✗ ✗ ✓ ✗ ✓
fans ✗ ✗ ✗ ✗ ✗