Asm file size command
The example shows disk space used in the orcl directory in the data disk group, including all of the directories under the orcl directory. Displays the absolute paths of all occurrences of the specified name pattern with wildcards in a specified directory and its subdirectories. Table Options for the find command. This command searches the specified directory and all subdirectories under it in the directory tree for the supplied pattern.
The value used for pattern can be a directory name or a filename, and can include wildcard characters. Use the --type flag to find all the files of a particular type specified as type. The following are examples of the find command. The first example searches the data disk group for files that begin with undo. Table Options for the ls command.
Displays extended file information, including striping and redundancy information and whether the file was system-generated indicated by Y under the SYS column or user-created as with an alias, indicated by N under the SYS column. Not all possible file attributes or disk group attributes are included.
If the value for the pattern argument is a directory, then ls displays information about that directory, rather than the directory contents. Typically used with another flag, such as the -l flag. If the value for the pattern argument is an alias, then ASMCMD displays information about the file that it references. Command options enable you to modify and customize the output of the command.
Table lists the options and their descriptions. If you specify all of the options, then the command shows a union of their attributes, with duplicates removed. If pattern is a directory name, then ls lists the contents of the directory and depending on flag settings, ls also lists information about each directory member. If the value that you enter for pattern is a file name, then ls lists the file and depending on the flag settings, ls also lists information about the file. The file must be located in the current directory if the file name is specified with a relative path.
The following are examples of the ls command that display various information about directories and the contents of the directories. Table Options for the lsof command. The following are examples of the lsof command. The first example lists the open files for the data disk group. The second example lists the open files for the Oracle ASM instance.
Table lists the syntax options for the mkalias command. Table Options for the mkalias command. Only one alias is permitted for each Oracle ASM file. The following example creates the sysaux. Following the mkalias command, ls --absolutepath is run to check the results. Table Options for the mkdir command. The directory from which mkdir is run can be a system-created or user-created directory.
The following is an example of the mkdir command. The example creates the directories subdir1 and subdir2 at the disk group level in the disk group data. The following is an example of the pwd command. The example displays the current directory. Table Options for the rm command. If pattern is a file or alias, then the rm command can delete the file or alias only if it is not currently in use. If pattern is a directory, then the rm command can delete it only if it is empty unless the -r flag is used and it is not a system-generated directory.
If pattern is an alias, then the rm command deletes both the alias and the file to which the alias refers. To delete only an alias and retain the file that the alias references, use the rmalias command. Many thanks for sharing!
I really appreciate this post. I have been looking everywhere for this! Thank goodness I found it on Bing. Thanks again. Oh my goodness! Awesome article dude! Is there anyone else getting the same RSS issues? Anyone who knows the answer can you kindly respond?
Is this a paid subject or did you customize it your self? You are commenting using your WordPress. You are commenting using your Google account. You are commenting using your Twitter account. You are commenting using your Facebook account. Notify me of new comments via email. We are sorry that this post was not useful for you! Let us improve this post!
Tell us how we can improve this post? Submit Feedback. Hello and welcome to DBsGuru, DBsGuru is a group of experienced DBA professionals and serves databases and their related community by providing technical blogs, projects, training. Thanks for the visits! Share Learn Grow! Spread the Knowledge! Thank you Krishna! Keep review articles and share feedback which encourage us.
Leave a Reply Cancel reply Your email address will not be published. Previous Post Previous. Next Post Next. Search for: Search Hits by Community.
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. You can find out more about Policy by tapping This Link.
0コメント