crsctl status resource ora.asm –f | grep servername |
How to current directory to be displayed in the prompt, while using ASMCMD command?
asmcmd –p |
-p causes the current directory to be displayed in the prompt.
+ signs denotes the root directory
To list the Disk group details
ASMCMD [+] > ls -l + |
State Type Rebal Name
MOUNTED EXTERN N DG_Test_DATA_01/
MOUNTED EXTERN N DG_Test_FLASH_01/
To list the sizing information for each Disk group
ASMCMD [+] > ls -s + |
Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Name
1024 4096 8388608 3407872 665384 0 665384 0 DG_Test_DATA_01/
1024 4096 8388608 524288 152944 0 152944 0 DG_Test_FLASH_01/
To display the content of current directory and its subdirectory
ASMCMD [+] > ls * |
To find file name matching the given query
ASMCMD [+] > find + *.dbf |
No comments:
Post a Comment