Search Results

Search: Posts Made By: arm
14,007
Posted By arm
my country is not on the list , what shall I do ?
my country is not on the list , what shall I do ?
14,007
Posted By arm
Send SMS to mobile
Hello Folks,

I need to send the output from shell script to range of mobile phones based on their msisdn . Is there any open source solution could help me to do so from CentOS or redhat ??
4,833
Posted By arm
@Chubler_XL billion thanks for prompt response...
@Chubler_XL
billion thanks for prompt response , in fact I have no "perl" background so if you can do me a favor and answer my below inquires it would be highly appreciated:

1. Could you please...
4,833
Posted By arm
Help to parse syslog with perl
[QUOTE=arm;303037305]logver=56 idseq=63256900099118326 itime=1563205190 devid=FG-5KDTB18800138 devname=LAL-C1-FGT-03 vd=USER date=2019-07-15 time=18:39:49 logid="0000000013" type="traffic"...
2,628
Posted By arm
Remove space with sed
Hello Folks ,
myfile contains 1000000 records as follows:

logver=56 idseq=63256 itime=1111 devid=TG-40 devname=PUI-C2 vd=USER date=2019_01_10 time=18:39:49 logid="000013" type="traffic"...
17,690
Posted By arm
can you add dstcountry to the Begin action , keep...
can you add dstcountry to the Begin action , keep in mind that the required field could be "United State" or "Germany" or "South Africa" , here the tab is not working with awk , it only show me...
4,631
Posted By arm
thanks what about if NF is changeable , sometime...
thanks what about if NF is changeable , sometime might be 11 or 14 , or bigger or less so NF>11 not work my dear
17,690
Posted By arm
can not run this , I'm getting unknown type error...
can not run this , I'm getting unknown type error !
17,690
Posted By arm
thanks guys but now the log gets bigger and some...
thanks guys but now the log gets bigger and some other fields are added some others are deleted , what I need now is to help me to



logver=56 idseq=63256900099118326 itime=1563205190...
4,631
Posted By arm
thanks , would you please suggest me to good...
thanks , would you please suggest me to good documents where to learn such these trick :)
4,631
Posted By arm
Combine first two words ( country name ) into one word in every line of log file with 500 records
United States 1.2.3.4 80 10 1563790914 1 1932454179 1.2.3.6 55517 11.1.2.1 55517
Italy 1.2.3.4 80 10 1563790914 1 1932454179 1.2.3.6 55517 11.1.2.1 55517
India 1.2.3.4 80 10...
17,690
Posted By arm
thanks but it does not work for me
thanks but it does not work for me
17,690
Posted By arm
it took 27 minutes to process 2.8 GB !!!...
it took 27 minutes to process 2.8 GB !!! :confused:
17,690
Posted By arm
#!/bin/bash cat syslog.log | awk...
#!/bin/bash
cat syslog.log | awk '{for(i=1;i<=NF;i++){if($i~/eventtime|srcip|dstip|srcport|dstport|transip|transport|action|sessionid/) printf " %s", $i};printf "\n" }' | sed...
17,690
Posted By arm
In fact , I tried my script took long time to be...
In fact , I tried my script took long time to be processed , the size of syslog is about 2 GB and process time was about 6 minutes which is too long ...
17,690
Posted By arm
Parsing syslog from Linux
Hello,
I'm facing problem to extract fields from below syslog :

logver=56 idseq=63256900099118326 itime=1563205190 devid=FG-5KDTB18800138 devname=LAL-C1-FGT-03 vd=USER date=2019-07-15...
2,625
Posted By arm
Dear rbatte1...
Dear rbatte1 (https://www.unix.com/members/302025710.html)

you are right I just remove the echo & do some modification for "here document" then it succeeded .. thanks a lot ...
2,625
Posted By arm
[Solved] Get files & delete them by shell script
I want to use my script to get any file then delete it once it transfers to my side , I manage to create below script to generate "list" file which contains all file names in "10.10.1.1" then I made...
Forum: AIX 06-04-2013
1,980
Posted By arm
IBM blade
How to access IBM server free of charge ?
Is there such services provided by IBM ?
I want to practice on AIX & learn about administration before go to exam soon
Do you have idea what VLP ( Virtual...
3,293
Posted By arm
I have no right to play with Srv1 .. ...
I have no right to play with Srv1 ..

---------- Post updated at 04:42 PM ---------- Previous update was at 04:41 PM ----------




please do the code for me ..
3,293
Posted By arm
Download files every one second using ftp script
Our main Server "Srv1" is used to generate text files based on specified criteria and it is also connected to two clients (pc1 and pc2) which are responsible for getting the files from Srv1 as it...
3,757
Posted By arm
run it every second by cron or whatever
I wanna do a little bit change on my whole script ( ftp and for loop ) since I tried to run it as cornjob but as you know it could not be run every 1 second, why I'm doing that because while I'm...
15,884
Posted By arm
thanks I manage to solve it using below code ,...
thanks I manage to solve it using below code , you may want to take a look and tell me whether correct or not ?

awk !'($4 ~/263/ && $6 <=130304) {print }' input
15,884
Posted By arm
but how to do that ? I want to Filter out any...
but how to do that ? I want to Filter out any record dose belong to “263” in $4 and $6 is before 130304 ?

2 9647701612350 9647701168456 262 23 1303031257462B0300...
15,884
Posted By arm
nawk not found in AIX
nawk not found in AIX
Showing results 1 to 25 of 58

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