找回密码
 注册
查看: 496|回复: 1

openstack usage show --project <project_name>

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2023-9-18 13:50:59 | 显示全部楼层 |阅读模式
openstack usage show --project <project_name>
& ^+ s) N" k$ J" f
1 Y* u4 A* ]4 O: bopenstack usage show --project   项目管理信息系统      
3 f  r: v, X! [/ d  x$ d# pUsage from 2023-08-21 to 2023-09-19 on project a4364bb7d2de4e2ca9b4ffbd37053951: 0 u6 v0 l4 b. _6 k
+---------------+-------------++ p! x3 V3 S* w+ }' N
| Field         | Value       |
  }5 x6 n6 P' I+---------------+-------------+
6 g- s0 m. @/ Y2 a9 u4 n. ]* L| CPU Hours     | 10752.01    |0 L" s" |3 ^  S1 @' \7 j
| Disk GB-Hours | 67200.06    |
2 X) c) s: @& Z5 Q8 i3 r| RAM MB-Hours  | 44040233.89 |& ~# n! N. I9 }$ u8 j9 n
| Servers       | 2           |
* E# {$ s  y4 s9 V. H1 n. G+---------------+-------------+* e- e( X5 y) u

3 @4 o  T4 F9 `; F易陆发现

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2023-9-18 16:44:52 | 显示全部楼层
在数据库里清理(nova库)3 M6 j" G4 F. p) n: R. b
[root@nova-node1 ~]# mysql -p9 t) g; g7 E9 F& c
Enter password:
, W: J6 U) h! V# @* |- EWelcome to the MariaDB monitor.  Commands end with ; or g.
/ V/ E& Q: U2 jYour MariaDB connection id is 230863
& V2 J  M' o$ X% f' }- J; P: `Server version: 5.5.50-MariaDB MariaDB Server6 c4 M* s6 V: n

# N8 S; n* d1 K/ ?: R/ ~Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.  r; `/ r7 T1 \$ h4 O, j/ n
' p3 q$ J% R: [1 V* |" ~
Type 'help;' or 'h' for help. Type 'c' to clear the current input statement." ~: ]; h/ u  o

3 d0 V+ z/ @/ n( x2 tMariaDB [(none)]> use nova;
0 T7 ^$ z, j- H5 i. \! \8 D* @9 cDatabase changed9 D4 p8 v" I2 W; j; q
MariaDB [nova]> delete from nova.services where host="nova-node2.openstack";
% c# X( z" y1 W; I! n- TQuery OK, 1 row affected (0.00 sec)
9 F3 ~! J' P0 mMariaDB [nova]> delete from compute_nodes where hypervisor_hostname="nova-node2.openstack";: p. C% ?  b& A5 n# @$ [5 ]  E, |
Query OK, 1 row affected (0.00 sec)
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 01:05 , Processed in 0.045486 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表