asitop Documentation

repository·main·Indexed 25 days ago

https://github.com/tlkh/asitop

A Python-based command-line performance monitoring tool for Apple Silicon Macs (M1/M2/M3) running macOS Monterey or later. It provides real-time visualization of CPU (E-cluster and P-cluster), GPU, ANE utilization, frequency, power consumption, and memory usage by leveraging the macOS powermetrics utility.

Tokens
224
Snippets
1
Records
3
Agent score
39%

What's inside asitop

  1. Run asitop for performance monitoring

    main

    Run asitop to monitor CPU (E-cluster and P-cluster), GPU, ANE utilization, memory (RAM/swap), and power consumption.

    Because asitop relies on the macOS powermetrics utility, it requires root privileges. It is recommended to run it with sudo to enter your password before the interface starts.

  2. Install asitop via pip

    main

    Install the asitop performance monitoring tool using pip. This tool is designed specifically for Apple Silicon (M1/M2/M3 etc.) Macs running macOS Monterey or later.

    pip install asitop
  3. Use asitop CLI advanced options

    main

    You can customize the asitop display and sampling behavior using the following command-line flags:

    • --interval INTERVAL: Set the display and sampling interval for powermetrics in seconds.
    • --color COLOR: Choose a display color from 0 to 8.
    • --avg AVG: Set the interval for averaged values in seconds.
    • -h, --help: Show the help message.