2026-03-12 20:23:15

This commit is contained in:
root
2026-03-12 21:23:47 +01:00
parent eab4b36eca
commit 93039b8489
3332 changed files with 699614 additions and 0 deletions

56
vg/dnfs_files.sql Normal file
View File

@@ -0,0 +1,56 @@
@@header
/*
*
* Author : Vishal Gupta
* Purpose : Display dNFS Files
* Version :
* Parameters :
*
*
* Revision History:
* ===================
* Date Author Description
* --------- ------------ -----------------------------------------
* 15-Aug-13 Vishal Gupta Created
*
*/
/************************************
* INPUT PARAMETERS
************************************/
/************************************
* CONFIGURATION PARAMETERS
************************************/
Prompt ******************
Prompt * dNFS Files
Prompt ******************
COLUMN inst_id HEADING "I#" FORMAT 99
COLUMN pnum HEADING "Process|Number" FORMAT 999999
COLUMN svrname HEADING "ServerName" FORMAT a20
COLUMN filesize HEADING "FileSize|(GB)" FORMAT 99999.99
COLUMN filename HEADING "FileName" FORMAT a100
BREAK ON inst_id ON svrname SKIP 1
SELECT f.inst_id
, s.svrname
, f.pnum
, ROUND(f.filesize/power(1024,3),2) filesize
, f.filename
FROM gv$dnfs_servers s
,gv$dnfs_files f
WHERE s.inst_id = f.inst_id
AND s.id = f.svr_id
ORDER BY f.inst_id
, s.svrname
, f.filename
;
@@footer