Search Results

Search: Posts Made By: justbow
Forum: Red Hat 04-11-2017
36,057
Posted By justbow
Hi, Thanks for the recommendation, i have no...
Hi,

Thanks for the recommendation, i have no idea what cause the file missing could be accidentally deleted. But now the problem solved after reinstall the Linux

Thanks all..
Forum: Red Hat 04-06-2017
36,057
Posted By justbow
Hi drysdalk, The filesystem mounted...
Hi drysdalk,

The filesystem mounted successfully. Seems like is not exist :

sh-3.2# ls -ltr /mnt/sysimage/bin/sh
ls: /mnt/sysimage/bin/sh: No such file or directory
Forum: Red Hat 04-05-2017
36,057
Posted By justbow
Chroot: cannot execute /bin/sh: No such file or directory
Hi Expert,

I'm having grub problem here:


grub> root
(hd0,0): Filesystem type is ext2

grub> setup
Error 11 : Unrecognized Device String


I try install boot loader follow the...
1,223
Posted By justbow
Perl removing line match with pattern in column
Hi,

I have log like this:


...
1,797
Posted By justbow
Perl removing line match with pattern in column
Hi,

I have log like this:


...
9,592
Posted By justbow
Thank you Don.. its should be printed but i miss...
Thank you Don.. its should be printed but i miss it.
9,592
Posted By justbow
a little bit different but still doesnt work. ...
a little bit different but still doesnt work.


awk '/recordOpeningTime \:/ {ts=$3}
/servedMSISDN \:/ {print ts", "$3; ts="" }
/ratingGroup \:/ {print ts", "$3; ts="" }
...
9,592
Posted By justbow
Help parsing log from vertical to horizontal line
Hi Expert,

i have log in attached (log.txt)

i want the log result become horizontal line :



recordOpeningTime,servedMSISDN,ratingGroup,datavolumeFBCUplink,datavolumeFBCDownlink...
1,147
Posted By justbow
the output should be as above.
the output should be as above.
1,147
Posted By justbow
Math count %memory using awk
Hi expert,

i have log this:


Memory: 74410384
Memory: 75831176
Memory: 77961232
Memory: 77074656
Memory: 76086160
Memory: 77128592
Memory: 78045384
Memory: 76696040
Memory: 72401176...
1,372
Posted By justbow
Count math using awk
Hi expert,

I have log :

TOTAL-TIME : 2125264636
DATA-BYTES-DOWN : 3766111307032
DATA-BYTES-UP : 455032157567



DL =...
747
Posted By justbow
Replace per line with first line
hi expert,

i have log like this

AA-HOST-0
5 28
4 28
6 30
3 26
7 36
8 36
1 46
2 34
BB-HOST-4
6 0
4 0
1 0
5 0
3 0
7 0
1,376
Posted By justbow
awk to grep log
hi expert,

i Have log like :


dn: EPC-Per=673,HYHGU
objectClass: EPC-PerSubs
ownerId: 0
groupId: 4001
shareTree: nodeName=HYHGU
permissions: 15
EPC-Per: 673

dn:...
13,202
Posted By justbow
Change mode drwxrwsr-x+ directory
Hi,

How to change mode "drwxrwsr-x+" in directory.
I'm able to set drwxrwsr-x but "+" is difficult to set.


~ $ las -las | grep done1
4 drwxrwsr-x+ 3 root sfuser 4096 Nov 26 16:39 done1
...
6,442
Posted By justbow
Try sftp $USER_1@$HOST_1 >> $SFTP_Log_file...
Try

sftp $USER_1@$HOST_1 >> $SFTP_Log_file << END_SFTP
lcd $DIR_1
cd $rdir
get $file
delete $file
quit
END_SFTP

You have to use ssh with keygen
1,007
Posted By justbow
thanks all :)
thanks all :)
1,007
Posted By justbow
the correct one should be : c 7 8 ...
the correct one should be :

c 7 8


Ok i found the way using awk


awk '{a[$1] += $2; b[$1] += $3; c[$1] += $4} END {for(x in a) print x, a[x], b[x], c[x]}
1,007
Posted By justbow
Sum if line match with first column
Hi,

i have log like below:


A 2 5
B 4 1
C 6 8
B 0 1
C 1 0
B 2 3
A 0 0



i want to make result if match with A then sum from column 2 and 3...
929
Posted By justbow
How to grep only some part of character?
Hi,

I have log :


# cat log

[~/temp]$ cat 4
2014092014
2014102014
2014112023
2014123014
2014010100
2014010101
2014010102
2014010103
2014010104
2014020123
2014020115
2014020116
Forum: Red Hat 02-05-2014
4,569
Posted By justbow
This doesn't look like a partition table Probably you selected the wrong device.
Hi,

I need to mount the device from this device


# fdisk -l

.
.
.
Disk /dev/sdas: 2000.4 GB, 2000365289472 bytes
255 heads, 63 sectors/track, 243197 cylinders
Units = cylinders of...
1,732
Posted By justbow
Change the vertical logs to horizontal line
Hi,

cat log

EPC-SubsId: 3333
EPC-GrIds: RTGHUPA:1:15-11-2013T19:59,22-11-2013T19:59
EPC-GrIds: PrimaXGB_23:10

EPC-SubsId: 4444
EPC-GrIds: RTGHUPB:1:15-11-2013T19:59,22-11-2013T19:59
...
1,207
Posted By justbow
grep 2 $@ | cut -d"," -f1 > 1 grep 2 $@ | cut...
grep 2 $@ | cut -d"," -f1 > 1
grep 2 $@ | cut -d"," -f2-6 | awk -F, '{sum=0; for(i=1;i<=NF;i++) sum=sum+$i; print sum}' > 2

paste -d" " 1 2 > 3
awk -F" " '
BEGIN {
str="Date Time ...
1,207
Posted By justbow
Sum value in a row and print the max
I have the input file in attached.

I want the output file :

Date , Time , Max_Bearer
11/01/2013 , 23:00 , 1447.894167
11/02/2013 , 00:00 , 1429.266667
11/03/2013 , 00:00 , 712.3175...
2,361
Posted By justbow
It's work now. I think because of the results i...
It's work now. I think because of the results i write manually. I can manage to correct it.
I use Linux machine.

Thanks Don ;)
2,361
Posted By justbow
Thank you all. But i have try the scripts but...
Thank you all. But i have try the scripts but unexpected. Sorry for make confusing.

The completed logs :

cat logsx.txt...
Showing results 1 to 25 of 90

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