PackageTrack
Sign in Get early access

system_resources_2

Provides easy access to system resources (CPU load, memory usage).

2.2.2 306K downloads/mo #682 most downloaded on pub.dev serverpod/system_resources_2

What this package is like to depend on

Last release 6 months ago

06 Feb 2026

Release timing varies

gaps range from 8 days to 3.4 years

Most releases are documented

notes for 4 of 5 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

5 releases · first in 2022

4 releases in the last 12 months

see the full history below

Release timeline

5 releases · Sep 2022 to Feb 2026
2023 2024 2025 2026
Release Pre-release

Releases

latest 5
  1. 2.2.2 06 Feb 2026
    Release notes

    What's Changed

    • fix: resolve pub cache fallback by discovering versioned package directory by @thiagoalmeidasa in #17

    Full Changelog: v2.2.1...v2.2.2

    Open source →
    Release notes
    • Fix pub cache fallback path missing version suffix for macOS native library loading in AOT-compiled binaries
    Open source →
  2. 2.2.1 06 Feb 2026
    Release notes

    What's Changed

    Full Changelog: v2.2.0...v2.2.1

    Open source →
    Release notes
    • Log warning to stderr when running on Windows or other unsupported platforms
    Open source →
  3. 2.2.0 06 Feb 2026
    Release notes

    What's Changed

    Full Changelog: v2.1.2...v2.2.0

    Open source →
    Release notes

    Pure Dart on Linux

    • Hybrid architecture: Linux now uses pure Dart (reading /proc and cgroup filesystems directly), eliminating the need for native .so binaries. macOS continues to use FFI with native .dylib binaries.
    • Removed Linux native binaries: libsysres-linux-*.so files are no longer shipped, reducing package size and improving compatibility across Linux architectures.

    Cgroup v1 Support

    • Cgroup v1 (legacy hierarchy): CPU and memory monitoring now works on systems using cgroup v1 in addition to cgroup v2.

    New APIs

    • cgroupVersion() - Returns detected cgroup version (v1, v2, or none)
    • cpuLoad() - CPU load as a fraction of the cgroup limit (delta-based)
    • cpuUsageMillicores() - CPU usage in millicores (delta-based)
    • cpuUsageMicros() - Raw cumulative CPU usage in microseconds
    • cpuLimitMillicores() - CPU limit in millicores
    • clearState() - Clears all cached platform/CPU state (useful for testing)
    • New exported enums: CgroupVersion, DetectedPlatform

    Bug Fixes

    • Resolve process's actual cgroup path for memory metrics on native Linux hosts
    • Unify CPU load normalization to respect SYSRES_CPU_CORES environment variable
    • Use DynamicLibrary.open directly instead of File.existsSync for better compatibility
    • Improve native library compatibility with older glibc versions
    Open source →
  4. 2.1.1 29 Jan 2026
    Release notes

    What's Changed

    Full Changelog: v2.1.0...v2.1.1

    Open source →
    Release notes
    • Fix package directory structure to follow Dart conventions (rename docs/ to doc/)
    Open source →
  5. 2.0.0 02 Sep 2022

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive