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.
| heim | psutil | sysinfo | sys-info | systemstat |
|---|
| Pure Rust | ✓ | ✓ | ✓ | ✗ | ✓ |
| Execution flow | async | sync | sync | sync | sync |
| License | Apache 2.0 / MIT | MIT | MIT | MIT | Unlicense |
| heim | psutil | sysinfo | sys-info | systemstat |
|---|
| Linux | ✓ | ✓ | ✓ | ✓ | ✓ |
| macOS | ✓ | ✗ | ✓ | ✓ | ✓ |
| iOS | ✗ | ✗ | ✓ | ✗ | ✗ |
| Windows | ✓ | ✗ | ✓ | ✓ | ✓ |
| FreeBSD | ✗ | ✗ | ✗ | ✗ | ✓ |
| OpenBSD | ✗ | ✗ | ✗ | ✗ | ✓ |
| Android | ✗ | ✗ | ✓ | ✗ | ✗ |
| 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.
| heim | psutil | sysinfo | sys-info | systemstat |
|---|
| usage | ✓ | ✓ | ✓ | ✓ | ✓ |
| partitions | ✓ | ✓ | ✓ | ✗ | ✓ |
| IO counters | ✓ | ✓ | ✗ | ✗ | ✓ |
| heim | psutil | sysinfo | sys-info | systemstat |
|---|
| uptime | ✓ | ✓ | ✓ | ✗ | ✓ |
| boot time | ✗ | ✗ | ✓ | ✓ | ✓ |
| load average | ✗ | ✓ | ✓ | ✓ | ✓ |
| OS name | ✓ | ✗ | ✓ | ✓ | ✗ |
| OS version | ✓ | ✗ | ✓ | ✓ | ✗ |
| kernel version | ✗ | ✗ | ✓ | ✗ | ✗ |
| hostname | ✓ | ✗ | ✓ | ✓ | ✗ |
| users | ✓ | ✗ | ✓ | ✗ | ✗ |
| heim | psutil | sysinfo | sys-info | systemstat |
|---|
| memory | ✓ | ✓ | ✓ | ✓ | ✓ |
| swap | ✓ | ✓ | ✓ | ✓ | ✓ |
| heim | psutil | sysinfo | sys-info | systemstat |
|---|
| NIC info | ✓ | ✗ | ✓ | ✗ | ✓ |
| IO counters | ✓ | ✓ | ✓ | ✗ | ✓ |
| connections | ✗ | ✗ | ✗ | ✗ | ✗ |
| heim | psutil | sysinfo | sys-info | systemstat |
|---|
| pids | ✓ | ✓ | ✓ | ✗ | ✗ |
| pid_exists | ✓ | ✓ | ✓ | ✗ | ✗ |
| processes | ✓ | ✓ | ✓ | ✗ | ✗ |
| process disk usage | ✗ | ✗ | ✓ | ✗ | ✗ |
| heim | psutil | sysinfo | sys-info | systemstat |
|---|
| temperatures | ✗ | ✗ | ✓ | ✗ | ✓ |
| fans | ✗ | ✗ | ✗ | ✗ | ✗ |