No question at this time
DBA Top 10
1 M. Cadot 11200
2 A. Kavsek 6000
2 B. Vroman 6000
4 P. Wisse 3400
5 J. Schnackenberg 3200
6 J. PĂ©ran 2000
7 T. Boles 600
8 Z. Hudec 400
8 G. Lambregts 400
8 N. Havard 400
8 F. Pachot 400
8 D. Dave 400
About
DBA-Village
The DBA-Village forum
Forum as RSS
as RSS feed
Site Statistics
Ever registered users48559
Total active users1398
Act. users last 24h3
Act. users last hour0
Registered user hits last week56
Registered user hits last month810
Go up

Bulk list of filename in result in asmcmd
Next thread: Oracle Interview Questions
Prev thread: install oracle SE High availability

Message Score Author Date
Hi, Anyone can help to display the bulk list ou...... Ferdie Palero Sep 07, 2020, 12:16
I have no Linux ASM to test against but I think ...... Score: 200 PtsScore: 200 PtsScore: 200 PtsScore: 200 PtsScore: 200 Pts Michel Cadot Sep 07, 2020, 18:03
Copy and Noted Michel. Thank very much. appreci...... Ferdie Palero Sep 08, 2020, 04:04

Follow up by mail Click here


Subject: Bulk list of filename in result in asmcmd
Author: Ferdie Palero, Philippines
Date: Sep 07, 2020, 12:16, 78 days ago
Os info: Lunix RedHat
Oracle info: Oracle 11g
Message: Hi,

Anyone can help to display the bulk list output of file using asmcmd

Directory
+DATA/datafile/file.12345
+DATA/datafile/file.23456
+FRA/datafile/file.45678
+FRA/datafile/file.67890
+UAT/demo/file.78901
+UAT/demo/file.09876
...
...

I want this all file to put in an output

asmcmd>ls -l -s > output.txt

Please advice.

Thank you in Advanced,

BR,
FSPalero
Goto: Reply - Top of page 
If you think this item violates copyrights, please click here

Subject: Re: Bulk list of filename in result in asmcmd
Author: Michel Cadot, France
Date: Sep 07, 2020, 18:03, 78 days ago
Score:   Score: 200 PtsScore: 200 PtsScore: 200 PtsScore: 200 PtsScore: 200 Pts
Message:
I have no Linux ASM to test against but I think the following standard ways would work:
echo 'ls -l -s' | asmcmd >output.txt 


Regards
Michel
Your rating?: This reply is Good Excellent
Goto: Reply - Top of page 
If you think this item violates copyrights, please click here

Subject: Re: Bulk list of filename in result in asmcmd
Author: Ferdie Palero, Philippines
Date: Sep 08, 2020, 04:04, 77 days ago
Message: Copy and Noted Michel.

Thank very much. appreciate.
Your rating?: This reply is Good Excellent
Goto: Reply - Top of page 
If you think this item violates copyrights, please click here