Methods of using query operators
-
PDF of this doc site
- Cluster administration
-
Volume administration
- Logical storage management with the CLI
-
NAS storage management
- Configure NFS with the CLI
- Manage NFS with the CLI
-
Manage SMB with the CLI
- Manage file access using SMB
- SAN storage management
- Security and data encryption
-
Data protection and disaster recovery
- Data protection with the CLI
Collection of separate PDF docs
Creating your file...
The management interface supports queries and UNIX-style patterns and wildcards to enable you to match multiple values in command-parameter arguments.
The following table describes the supported query operators:
Operator | Description |
---|---|
* |
Wildcard that matches all entries. For example, the command |
! |
NOT operator. Indicates a value that is not to be matched; for example, |
| |
OR operator. Separates two values that are to be compared; for example, |
.. |
Range operator. For example, |
< |
Less-than operator. For example, |
> |
Greater-than operator. For example, |
<= |
Less-than-or-equal-to operator. For example, |
>= |
Greater-than-or-equal-to operator. For example, |
{ |
Extended query. An extended query must be specified as the first argument after the command name, before any other parameters. For example, the command |
If you want to parse query characters as literals, you must enclose the characters in double quotes (for example, “^”, “.”, “*”, or “$”) for the correct results to be returned.
You can use multiple query operators in one command line. For example, the command volume show -size >1GB -percent-used <50 -vserver !vs1
displays all volumes that are greater than 1 GB in size, less than 50% utilized, and not in the storage virtual machine (SVM) named “vs1”.