Search Results

Search: Posts Made By: fazliturk
5,602
Posted By fazliturk
outputs of ps are columns of strings,parameters....
outputs of ps are columns of strings,parameters. You can not use date as you intend, you must use a way like fmurphys. Firts send all or a sample part of output oF ps -ef with no grep " I mean ps -ef...
5,602
Posted By fazliturk
I didn't Understand what you mean above date...
I didn't Understand what you mean above date format. Do you mean
Mount Day - hour:second. What about the other date format that you don't want to catch in your ps -ef command. Besides that you can...
75,918
Posted By fazliturk
grep -l doesn't gives file name.it gives only the...
grep -l doesn't gives file name.it gives only the file name.So your code is true . Then what is wrong .

if use grep like these ;

grep -nf test.txt file1 file2 ...
grep -nf test.txt *
grep -nf...
1,869
Posted By fazliturk
if you remove heap files every day just ; find...
if you remove heap files every day just ;
find /aix/app -name heap'*' >out.log you must use single quote with *

if you don't remove files you must find a way to find which added.

belove code...
9,905
Posted By fazliturk
press ctrl+u for PgUp press ctrl+d for PgDn
press ctrl+u for PgUp
press ctrl+d for PgDn
3,722
Posted By fazliturk
is there any line before aaa and after eee in the...
is there any line before aaa and after eee in the file ?

if there is not than the code is;

let "currentline=`grep -n string inputfile|awk -F ':' {print $1} '`-1"
sed -n...
75,485
Posted By fazliturk
I tried sed but \t didn't work but in awk print...
I tried sed but \t didn't work
but in awk print "\t" works

so I used this one it worked ,it may be used somewhere;

sed "s/,/`awk 'BEGIN{print "\t"}'`/g inputfile

-or-
sed "s/,/`echo...
75,485
Posted By fazliturk
sed "s/\,/\\t/g"test.txt >>...
sed "s/\,/\\t/g"test.txt >> ouptut.txt
3,722
Posted By fazliturk
let's say your file looks like this; . . . ...
let's say your file looks like this;
.
.
.
aa
bb
cc
dd
ee
ff
gg
hh
ii
jj
kk
.
.

and let's say your string is gg
do you want to remove bb-ii (including bb,gg,ii) ? if it is;
3,722
Posted By fazliturk
I thing this one removes not just "coys11" it...
I thing this one removes not just "coys11" it removes all the line which inherits c,o,y,s,1.

if he just want to remove just coys11
grep -v -w joys11 inpufile is better. But I thing he wants...
4,089
Posted By fazliturk
ls |grep '\.'cc3
ls |grep '\.'cc3
Forum: Solaris 09-03-2007
12,714
Posted By fazliturk
first of all I didn't like an infinete loop and...
first of all I didn't like an infinete loop and remove in a function. I thing same thing become to me before. rm is a bit slower so it can do next line of code before finishing remove.
Are you sure...
3,601
Posted By fazliturk
İf you profiled yor file app. and every thing is...
İf you profiled yor file app. and every thing is okey. That means you need extra real memory. This is normal behavior. Blowtorch is very rigth.

but you can try vmtune may be. Just very veak...
Forum: Solaris 09-03-2007
12,714
Posted By fazliturk
I thing something wrong with your script. It...
I thing something wrong with your script. It doesn't seem as rm problem
12,688
Posted By fazliturk
execute it as background process script&
execute it as background process

script&
11,259
Posted By fazliturk
I tried the following code in aix,in ksh code...
I tried the following code in aix,in ksh
code is long but there is no while etc.
let say your original file origfile

step 1.

sed s/"|"/" "/g origfile >tempfile

/** if you dont have sed...
5,124
Posted By fazliturk
you can also use let let "...
you can also use let


let " y=(80-$x)*10/2+$c " etc. between " " just aritmetical operations no ekstra things.
1,869
Posted By fazliturk
no_record=`wc -l filename | cut -f1 -d" "...
no_record=`wc -l filename | cut -f1 -d" " `
15,128
Posted By fazliturk
As much as I understood .You want to see your...
As much as I understood .You want to see your background process named something with ps ;

ps -ef |grep processname gives this.

there is no need to infinite loop. just;

echo "input...
2,095
Posted By fazliturk
/ is integer division % modulus may be you...
/ is integer division
% modulus
may be you can use awk

awk 'BEGIN{print (22/10) }'

with parameters

awk -v a=$1 -v b=$2 '{print (a/b) }'

or

echo $number |awk '{print ($1/10)}'
20,638
Posted By fazliturk
cut -f2 -d: inputfile |sed s/[^0-9]//g
cut -f2 -d: inputfile |sed s/[^0-9]//g
15,128
Posted By fazliturk
ps -ef |grep jip>/dev/null /* finds if there is...
ps -ef |grep jip>/dev/null /* finds if there is one whith no verbose */
if [ $? -ne 0 ] /* if there is not executes jip */
then
jip
fi
8,426
Posted By fazliturk
try this; NumOfMsg=`.....(your orijinal...
try this;

NumOfMsg=`.....(your orijinal code) ...|grep Deleted |awk '{print $3}' `
I thing tail is not suitable for pipe why pipe sends line by line so for tail -1 every line will be the last line
Forum: AIX 08-30-2007
7,347
Posted By fazliturk
if you have man pages in your system you look at...
if you have man pages in your system you look at this ;

vmstat 1 20 :gives virtual memory stats. 20 times 1 is the period (1 second)
or vmstsat 1 or else

ps -ef :gives systemwide...
1,830
Posted By fazliturk
PATH=........ is not enough you must export your...
PATH=........ is not enough you must export your path.
PATH=....
export $PATH after this you can change your environment
Showing results 1 to 25 of 44

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