Search Results

Search: Posts Made By: Samb95
4,447
Posted By Samb95
How to make parallel processing rather than serial processing ??
Hello everybody,

I have a little problem with one of my program. I made a plugin for collectd (a stats collector for my servers) but I have a problem to make it run in parallel.

My program...
7,788
Posted By Samb95
SOLVED
Thanks for the help pludi :D
7,788
Posted By Samb95
Hi pludi, Yes the regular expression is...
Hi pludi,

Yes the regular expression is correct. It gives me exactly what I want, I have tested it. I will try to the "\n" at the end and let you know if it worked.
Thanks

---------- Post...
7,788
Posted By Samb95
The "tail -f" command never ends, it continuously...
The "tail -f" command never ends, it continuously reads if there is a new line added to the log file and if there is one when you pipe it to a program that reads the STDIN it gets this new line.
I...
7,788
Posted By Samb95
[Solved] Help piping tail to read STDIN
Hello everybody,

I need some help here. I have a log file that gets updated every hour approximately.
I want to make some processing on each line which is added in the log file with a program...
16,383
Posted By Samb95
Thanks for the advices and explanation...
Thanks for the advices and explanation abhijithtk, I will add them in the code.
16,383
Posted By Samb95
A big thanks to you pravin. It is really clear...
A big thanks to you pravin. It is really clear now :b:
16,383
Posted By Samb95
There is no error in the script you provided it...
There is no error in the script you provided it is me who made the error when I wrote it. I had wrote num_type at the beginning and then sum_type for the print that is why I had no output.
Can you...
16,383
Posted By Samb95
Thanks for the help pravin. i had an error in the...
Thanks for the help pravin. i had an error in the script that is why it did not work. I do not want to abuse but can you explain me a little bit what is done in the script because I don't understand...
16,383
Posted By Samb95
Hey Pravin, I tried your code but I don't...
Hey Pravin,

I tried your code but I don't get any output when I launch the script.
Does it work for you ?
Another question is it the same code if I want to use this as a bash script ?

Thanks.
16,383
Posted By Samb95
Hi pravin, Ok, let's say I have a log file...
Hi pravin,

Ok, let's say I have a log file called log1 with this inside :

[0720 16:00:00.646257] 0x42258940 (Debug) Cache SUMMARY [s1.meta] attrs now/668 min/668 max/668.
[0720...
16,383
Posted By Samb95
Help to create a script to parse log files
Hello everybody,

I need some help here to create a script to parse a log file. Here is a sample of the log file :

[0720 16:00:00.646257] 0x42258940 (Debug) Cache SUMMARY [s1.meta] attrs now/668...
Showing results 1 to 12 of 12

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