Search Results

Search: Posts Made By: drewk
8,227
Posted By durden_tyler
And some more ... 4. An Oracle DBA can set...
And some more ...

4. An Oracle DBA can set up scripts that write messages to alert logs, which basically are files in the underlying OS. Let's say you have just one log file with each message...
3,699
Posted By danmero
That's right ;) did you follow the link ? ...
That's right ;) did you follow the link ?

In this example we call 9 times cut, one extra sed and one grep.
All can be done by using awk call.
3,699
Posted By danmero
# eval $(awk -F'[()]' '/Total:/{split($2,a,",|...
# eval $(awk -F'[()]' '/Total:/{split($2,a,",| ");print a[2]"="a[1]";"a[5]"="a[4]}' file)
# echo $Critical
0
# echo $Major
9
1,760
Posted By durden_tyler
Here's another way: $ $ $ perl -lne...
Here's another way:


$
$
$ perl -lne '$ARGV eq "filea" ? $x{substr($_,0,18)}++ : defined $x{substr($_,0,18)} ? print : ""' filea fileb...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 02:37 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy