All Projects → ossobv → proxtop

ossobv / proxtop

Licence: GPL-3.0 license
Proxmox resource monitor -- list top resource users of your proxmox VM platform

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to proxtop

packer-plugin-proxmox
Packer plugin for Proxmox Builder
Stars: ✭ 28 (+12%)
Mutual labels:  proxmox
Proxmox
Proxmox Helper Scripts
Stars: ✭ 3,882 (+15428%)
Mutual labels:  proxmox
ansible role proxmox
Ansible role to provision containers in Proxmox VE virtualization
Stars: ✭ 42 (+68%)
Mutual labels:  proxmox
packer-templates
Packer templates for creating Amazon EC2 images, Proxmox templates and Vagrant boxes
Stars: ✭ 70 (+180%)
Mutual labels:  proxmox
cv4pve-botgram
Telegram Bot for Proxmox VE
Stars: ✭ 26 (+4%)
Mutual labels:  proxmox
Proxmox-prepare
Preparing Proxmox VE after installation
Stars: ✭ 15 (-40%)
Mutual labels:  proxmox
ProxmoxVE PHP API
ProxmoxVE PHP API
Stars: ✭ 78 (+212%)
Mutual labels:  proxmox
ans-pve-win-templ
Ansible playbook to create Proxmox Windows VM templates
Stars: ✭ 49 (+96%)
Mutual labels:  proxmox
pimox7
Proxmox V7 for Raspberry Pi
Stars: ✭ 199 (+696%)
Mutual labels:  proxmox
pve exporter
Prometheus exporter for Proxmox VE.
Stars: ✭ 31 (+24%)
Mutual labels:  proxmox
KVM-Opencore
OpenCore disk image for running macOS VMs on Proxmox/QEMU
Stars: ✭ 529 (+2016%)
Mutual labels:  proxmox
cv4pve-metrics
Metrics for Proxmox VE, Grafana with dasboard, InfluxDb
Stars: ✭ 38 (+52%)
Mutual labels:  proxmox
proxmox-ve
Proxmox VE Vagrant Base Box
Stars: ✭ 70 (+180%)
Mutual labels:  proxmox
cv4pve-api-dotnet
Proxmox VE Client API .Net C#
Stars: ✭ 25 (+0%)
Mutual labels:  proxmox
blogr-pve
Puppet provisioning of HA failover/cluster environment implemented in Proxmox Virtual Environment and Linux boxes.
Stars: ✭ 28 (+12%)
Mutual labels:  proxmox
pve-common
Proxmox Project's Common Perl Code
Stars: ✭ 33 (+32%)
Mutual labels:  proxmox
proxmox toolbox
A toolbox to get the firsts configurations of Proxmox VE / BS done in no time
Stars: ✭ 158 (+532%)
Mutual labels:  proxmox
terraform-provider-proxmox
terraform provider for proxmox
Stars: ✭ 28 (+12%)
Mutual labels:  proxmox
cv4pve-api-php
Proxmox VE Client API for PHP
Stars: ✭ 45 (+80%)
Mutual labels:  proxmox
pimox
Proxmox for the Raspberry Pi
Stars: ✭ 59 (+136%)
Mutual labels:  proxmox

proxtop

Proxmox resource monitor

pypi_version pypi_downloads

Proxtop lists the top resource consumers of your Proxmox VM platform.

It will list columns of the top users of these resources:
  • cpu
  • diskread
  • diskwrite
  • netin
  • netout

IMPORTANT CHANGES IN proxtop 0.3.0:

  • Shows only one of AVERAGE, MEDIAN, MAX now. See the -g option.
  • The --partial-match option has been removed in favor of globbing (e.g. *server-name*).
  • The default output is now MEDIAN.

IMPORTANT CHANGES IN proxtop 0.2.0:

  • The default port is now 443. This was tested with Proxmox 4.0-57. If you want the old default port 8006 back, you may append ":8006" to the hostname.
  • The VM container type is now used in the REST path: i.e. /qemu/ (or lxc) instead of /openvz/.

Quick jump

Installation

Via pip:

$ pip install proxtop

Via git:

$ pip install proxmoxer  # tested with 0.1.7 and 0.2.0
$ pip install requests   # tested with 2.2.1 and 2.5.3
$ git clone https://github.com/ossobv/proxtop.git
$ cd proxtop
$ python setup.py install

Example

$ ./proxtop -t day proxmox.example.com:8006 monitor@pve
Password:<enter password>
SORTED BY: diskread, avg
------------------
#0:    3.1 MiB/s  pve10 (acme-bugs-bunny)
#1:    1.3 MiB/s  pve07 (customerX-private)
#2:  992.3 KiB/s  pve10 (acme-road-runner)
...
SORTED BY: cpu, max
------------------
#0:     91 %      pve07 (customerX-private)
#1:     89 %      pve10 (acme-bugs-bunny)
#2:     66 %      pve10 (acme-elmer-fudd)

See the help for more options:

usage: proxtop [-h] [-T TOP] [-t TIMEFRAME] [-g AGGREGATION]
               [--only-storage ONLY_STORAGE]
               hostname username [only_vms [only_vms ...]]

proxtop lists the top resource consumers on your Proxmox VM platform.

positional arguments:
  hostname              Use this API hostname (e.g. proxmox.example.com[:443])
  username              Use this API username (e.g. monitor@pve)
  only_vms              Limit results to these VM names (globbing is allowed)

optional arguments:
  -h, --help            show this help message and exit
  -T TOP, --top TOP     Limit results to TOP VMs
  -t TIMEFRAME, --timeframe TIMEFRAME
                        Timeframe, can be one of: hour* | day | week | month |
                        year
  -g AGGREGATION, --aggregation AGGREGATION
                        RRD aggregation, can be one of: AVERAGE | MAX |
                        MEDIAN*
  --only-storage ONLY_STORAGE
                        Filter VMs by storage glob (e.g. "nfs03*")

Default values may be placed in ~/.proxtoprc. Lines should look like:
hostname=HOSTNAME, username=USERNAME, password=PASSWORD

License

proxtop is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 or any later version.

Future

Possible future enhancements:

  • Explain how server-side AGGREGATION affects the values (or perhaps remove the AVG/MAX subtypes and show only one, based on -g).
  • Add alternate modes of output?
  • Limit results to only one item (cpu, diskread, ...)?
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].