LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 12-12-2019, 09:25 AM   #1
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 924

Rep: Reputation: 43
[OpenStack] Usage Summary in CLI


When you log in to Horizon GUI, you get nice usage summary (VCPU, RAM, Disk) per project.
Is it possible to get these values in CLI?

Last edited by czezz; 12-12-2019 at 09:28 AM.
 
Old 12-12-2019, 12:44 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Check out the openstack client's quota commands. I can't try it at this moment, but quota list --detail looks promising,
 
Old 12-13-2019, 06:18 AM   #3
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 924

Original Poster
Rep: Reputation: 43
Hi Berndbausch,
Thanks for your reply.
I tried to see what "openstack quota" can give as an output but it seems irrelevant. Plus in my version of Openstack "openstack quota list" is not an option.

My question is not for quotas but real usage of resources (VCPU, RAM, Disk space).
Like on attached screenshot from Horizon GUI.
I would like to display such information/details on CLI.
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	20
Size:	99.6 KB
ID:	32090  
 
Old 12-13-2019, 08:43 AM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by czezz View Post
Plus in my version of Openstack "openstack quota list" is not an option.
What is your version?
Quote:
My question is not for quotas but real usage of resources (VCPU, RAM, Disk space).
Like on attached screenshot from Horizon GUI.
I would like to display such information/details on CLI.
My hope was the --detail option:
Code:
--detail
    Show details about quotas usage
This should include actual resource use.

If you can't use quota list, or if it doesn't output what you need, you could try the API. You would have to use separate quota APIs for Nova, Neutron, Cinder etc. For example Nova: https://docs.openstack.org/api-ref/c...etail-of-quota.

The nova, cinder, neutron etc clients may have quota commands as well.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: 3 Easy Ways To Get A Summary Of Disk Usage (Directory & Folders Size) In Linux LXer Syndicated Linux News 0 06-26-2017 08:42 AM
Error: php55u-cli conflicts with php-cli-5.3.3-47.el6.x86_64 NotionCommotion Linux - Newbie 1 07-12-2016 02:02 AM
LXer: Short Stack: OpenStack Summit news, OpenStack Marketplace, Intel on OpenStack LXer Syndicated Linux News 0 05-14-2014 09:50 PM
Saving CLI data in the CLI Tons of Fun Linux - General 4 04-03-2007 05:42 AM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 04:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 06:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration