Search Results

Search: Posts Made By: raggmopp
932
Posted By itkamaraj
awk '{if to awk -v mon="$1" '{if...
awk '{if

to

awk -v mon="$1" '{if (($6 == mon)


---------- Post updated at 12:54 PM ---------- Previous update was at 12:51 PM ----------

you can try this


awk -v mon="$1"...
932
Posted By elixir_sinari
Or (not tested): perl -lane 'BEGIN{$mon=shift...
Or (not tested):
perl -lane 'BEGIN{$mon=shift @ARGV}
print if (/\.tgz\z/ and
!/blockpool/ and
!/core\.tgz/ and
$F[5] eq $mon and
$F[4] < 20_000_000...
1,963
Posted By pravin27
Hi, Try this. filesize.pl ...
Hi,

Try this.
filesize.pl


#!/usr/bin/perl

$/="===================================";
$curr_date=`date '+%A %Y\\/%b\\/%d'`;
chop ($curr_date);
while (<>) {
if...
2,439
Posted By Scott
As a first attempt: ps -ef | grep -v awk...
As a first attempt:


ps -ef | grep -v awk | awk -F_ '/ora_.*/ {I[$NF]++} END { for( i in I ) print i "=" I[i] }'


I only have one DB locally, it gives:

DB1=24

But tried it on a...
2,439
Posted By radoulov
Use gawk, nawk or /usr/xpg4/bin/awk on Solaris. ...
Use gawk, nawk or /usr/xpg4/bin/awk on Solaris.
You may need to adjust the ps syntax for your Unix platform.

ps -eu oracle -o args |
awk 'END {
for (I in inst)
print I, "=>",...
Showing results 1 to 5 of 5

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