Search Results

Search: Posts Made By: radioactive9
2,625
Posted By radioactive9
Python DictWriter header - not writing in first line of existing file
Hello

I am facing a very unique problem and not able to understand why. I have written a function which will check header of the file. If header is present good else it will write the header on...
3,097
Posted By radioactive9
Python with Regex and Excel
Hello

I have a big excel file for Ticket Data Analysis. The idea is to make meaningful insight from Resolution Field. Now as people write whatever they feel like while resolving the ticket it...
3,227
Posted By radioactive9
Hi Did you try | grep -v grep | ? ps...
Hi

Did you try | grep -v grep | ?

ps -ef|grep -Eo 'process1|process2|process3| '|grep -v grep |sort | uniq -c | awk '{print $2": "$1}'
3,716
Posted By radioactive9
Hello Both codes do help. But AND is...
Hello

Both codes do help. But AND is something not common across all definations. Sometimes it might have a OR as well.

Infact I need to capture that portion of the string as well.
...
3,716
Posted By radioactive9
Hi R. Singh This is sweet :rolleyes:. ...
Hi R. Singh

This is sweet :rolleyes:.

Well for that type of formula or any other formula where we have multiple attribute and value we need all of them in separate lines / variables
...
3,716
Posted By radioactive9
Thanks guys @Ravinder formula=*IF...
Thanks guys

@Ravinder

formula=*IF *VALUE SMP_CPU.CPU_Busy *GT 95 *AND *VALUE System.Load_Average_15_Min *GT 5.00 *AND *VALUE SMP_CPU.CPU_ID *EQ aggregate

echo $formula | awk ...
3,716
Posted By radioactive9
Sorry for digging this up. Here is further...
Sorry for digging this up.

Here is further what I want to do in similar lines


*IF *VALUE System.Page_Scan_Rate *GE 500 *IF *VALUE Unix_Memory.Used_Swap_Space_Pct *GT 90.0 *IF *VALUE...
3,716
Posted By radioactive9
Yes Now it looks awesome and it works for me. I...
Yes Now it looks awesome and it works for me. I wanted to go sed way as it is some what cool.

Thank You very much I have checked against vast combination of data and it is Ok for us.

Thank...
3,716
Posted By radioactive9
Now it doesn't return anything :confused: ...
Now it doesn't return anything :confused:

---------- Post updated at 08:04 AM ---------- Previous update was at 08:03 AM ----------




Awesome so far so good. This one is very very...
3,716
Posted By radioactive9
Hi Thank you R. Singh. That is hell of a...
Hi

Thank you R. Singh. That is hell of a code. Almost what I need.

I need GT and GE to be listed together and not separately that is if the code sees GT or GE just pick up the value next to...
3,716
Posted By radioactive9
Regex in Shell Scripting to pick values
Hi

After lot of trial and error I am really bowled out with the requirement in hand and honestly you are my last hope

Here is what I want to achieve

Values


*IF *VALUE...
2,422
Posted By radioactive9
I love you man. I love you You are a real...
I love you man. I love you

You are a real life saver buddy

Here is what I used


^.*\[(.*\].*\".*\".*5[0-9][0-9])(\s|$)(.*)
2,422
Posted By radioactive9
[Solved] Only Regex pattern match help
Hi

We have a tool to monitor logs in our environment. The tool accepts log pattern match only using regex and I accept I am a n00b in that:confused:. I had been banging my head to make it work...
4,567
Posted By radioactive9
Hi Thanks for the inputs. I really...
Hi

Thanks for the inputs. I really appreciate it.

Yes some lines will have all three some will have just one. Some might not have any.
I am going through the loop and just want to pick the...
4,567
Posted By radioactive9
Hi Thanks for replying The input...
Hi

Thanks for replying

The input looks like below
TFWD=N;OV=N;~
TFWD=N;OV=N;~ ...
4,567
Posted By radioactive9
23,488
Posted By radioactive9
You are great buddy. The program now works like a...
You are great buddy. The program now works like a dream. I have made few more changes to make it adapt to the environment

iprun.sh



and then

returnval.sh



This is great and...
23,488
Posted By radioactive9
Thanx Man it works as expected
Hi Man

Thanks for your response. As suggested and after tweaking a little bit I am able to make the program work as expected so far so good. Will let you know if I stumble any more problem.
...
23,488
Posted By radioactive9
Expect script - going in loops can't stop
Hi

First of all I tried lot of forums to create my first expect script. But I am totally stumped at the last step. I am no Linux Admin or ever trained in Linux. I just tried to create the script...
Showing results 1 to 19 of 19

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