- Community Home
- >
- Storage
- >
- Midrange and Enterprise Storage
- >
- HPE 3PAR StoreServ Storage
- >
- Using Glob patterns in CLI seems inconsistant acro...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2014 07:10 PM
06-05-2014 07:10 PM
Using Glob patterns in CLI seems inconsistant across commands
Hi
I'm trying to get a handle on why Glob pattern matching seems inconsistant across commands.
I'm trying to perform the statcmp command to view cache information from a select set of VV's which yeilds no information, yet if I use the same Glob pattern in a showvv I do get the correct VV's that I'm after returned. Am I doing something wrong?
Cheers
MarkA
This command doesn't work:
DHDRH3PAP001 cli% statcmp -v -n BASP025*
11:17:26 06/06/2014 ---- Current ----- ----- Total ------
VVid VVname Type Accesses Hits Hit% Accesses Hits Hit%
Press the enter key to stop...
DHDRH3PAP001 cli%
This does work (note I've left off some of the VV in the list below):
DHDRH3PAP001 cli% statcmp -v
11:12:43 06/06/2014 ---- Current ----- ----- Total ------
VVid VVname Type Accesses Hits Hit% Accesses Hits Hit%
0 admin Read 0 0 0 0 0 0
0 admin Write 0 0 0 0 0 0
1 .srdata Read 0 0 0 0 0 0
1 .srdata Write 0 0 0 0 0 0
.. ETC ..
753 DSP109 Write 1 0 0 1 0 0
943 BASP025_D_May Read 0 0 0 0 0 0
943 BASP025_D_May Write 0 0 0 0 0 0
945 BASP025_E_May Read 0 0 0 0 0 0
945 BASP025_E_May Write 0 0 0 0 0 0
949 BASP025_H_May Read 0 0 0 0 0 0
949 BASP025_H_May Write 0 0 0 0 0 0
.. ETC ..
Press the enter key to stop...
If I showvv with the pattern I get the VV's I'm after:
DHDRH3PAP001 cli% showvv BASP025*
-Rsvd(MB)-- -(MB)-
Id Name Prov Type CopyOf BsId Rd -Detailed_State- Adm Snp Usr VSize
943 BASP025_D_May snp vcopy DHDRHBASP025_D 387 RW normal -- -- -- 61440
1065 BASP025_D_Thu snp vcopy DHDRHBASP025_D 387 RW normal -- -- -- 61440
1045 BASP025_D_Wed snp vcopy DHDRHBASP025_D 387 RW normal -- -- -- 61440
945 BASP025_E_May snp vcopy DHDRHBASP025_E 388 RW normal -- -- -- 10240
1067 BASP025_E_Thu snp vcopy DHDRHBASP025_E 388 RW normal -- -- -- 10240
1047 BASP025_E_Wed snp vcopy DHDRHBASP025_E 388 RW normal -- -- -- 10240
1069 BASP025_G_Thu snp vcopy DHDRHBASP025_G 391 RW normal -- -- -- 2048
1049 BASP025_G_Wed snp vcopy DHDRHBASP025_G 391 RW normal -- -- -- 2048
949 BASP025_H_May snp vcopy DHDRHBASP025_H 390 RW normal -- -- -- 4096
1071 BASP025_H_Thu snp vcopy DHDRHBASP025_H 390 RW normal -- -- -- 4096
1051 BASP025_H_Wed snp vcopy DHDRHBASP025_H 390 RW normal -- -- -- 4096
----------------------------------------------------------------------------------------
11 total 0 0 0 231424
DHDRH3PAP001 cli%
- Tags:
- regex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2014 09:03 AM
06-07-2014 09:03 AM
Re: Using Glob patterns in CLI seems inconsistant across commands
>Am I doing something wrong?
Have you read the documentation? statcmp is one of the few commands that use REs and not file matching patterns:
Patterns are specified as regular expressions.
So you need: statcmp -v -n BASP025.*