No question at this time
DBA Top 10
1 M. Cadot 10800
2 B. Vroman 6500
3 A. Kavsek 5600
4 J. Schnackenberg 2600
5 P. Wisse 2200
5 J. PĂ©ran 2200
7 T. Boles 600
8 D. Dave 400
9 . Lauri 200
9 R. Rao Kulkarni 200
9 H. Bhangu 200
9 V. Gupta 200
9 A. Bourgeois 200
9 M. Jain 200
9 K. Pingeli 200
9 J. Baet 200
9 B. Jacobs 200
9 R. Pastre 200
About
DBA-Village
The DBA-Village forum
Forum as RSS
as RSS feed
Site Statistics
Ever registered users48605
Total active users1406
Act. users last 24h5
Act. users last hour0
Registered user hits last week164
Registered user hits last month694
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, 246 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, 246 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, 245 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