- Community Home
- >
- Storage
- >
- Midrange and Enterprise Storage
- >
- HPE 3PAR StoreServ Storage
- >
- Using Glob patterns in CLI seems inconsistant acro...
-
-
Forums
- Products
- Servers and Operating Systems
- Storage
- Software
- Services
- HPE GreenLake
- Company
- Events
- Webinars
- Partner Solutions and Certifications
- Local Language
- China - 简体中文
- Japan - 日本語
- Korea - 한국어
- Taiwan - 繁體中文
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Blog, Poland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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.*
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2022 Hewlett Packard Enterprise Development LP