[Oracle]查看数据库磁盘空间
# 切换grid账户
[root@rac1 ~]# su - grid
# 连接数据库
[grid@rac1 ~]$ sqlplus / as sysasm
# 查看实例名
SQL> select instance_name from v$instance;
INSTANCE_NAME
----------------
+ASM1
# 设置显示页宽行数
SQL> set pagesize 1000 linesize 500
SQL> select GROUP_NUMBER,NAME,TOTAL_MB,FREE_MB from v$asm_diskgroup;