Skip to content

Show current resources being used by an instance #11

@afbjorklund

Description

@afbjorklund

Suggestion is to just use ssh, and run some commands on VM...

  • top -b -n 1
  • vmstat 1 2
  • free -h
  • df -h /

Preferrably it should be done by QEMU/lima, if it is simple to do ?

Note that these "inside" values might not line up with the outside.

e.g. 4GiB memory set for VM, ends up being 3.8Gi total memory.

e.g. 100GiB disk set for VM, ends up being 97Gi disk size.


Could also show the disk usage of the lima instance directory,
or the cpu/memory usage of the qemu process (qemu.pid) ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions