Please show us a complete sample log file:
with the ...'s expanded and with more than one hour's data, and show us the report(s) you want to produce from that sample log file.
Hey Don,
The variable data can be anything really, I can save it any format necessary. and to any number of extra logs I need to be able to achieve my goal.
I can save it any format that will make it better for the over time aggregation aswell
like an exta log will save data in any way as the process goes on...
like so:
Just so you can understand better. I can save in any format and any extra number of logs that will make the aggregation and caclulstions I mentioned earlier easier.
So for instance right now I have it setup to just generate a log for the hourly checks. I am currently searching how I will approach aggregating and other calculations
The data I am saving is
1: a data set of system repsonse times
2: system related calculations
3: other data sets collected in relation to the DB software performance
all datasets will be seperate logs
the main dataset I will be collecting will be used for the aggregtion on number sets collected like so generally:
each test load gets a result and then I save response time as a sort of system check.
Aggregating this data and doing my calculations on lets say a one month or over many months is important for me
-dates and related variables will be saved.
Don-if you can help me try to think of how I might aggregate over time and keeping in mind I can save the logs in any necessary format.
the main code I have is done and the logs I have now are ok in terms of SLAs
the aggregation and extras I mentioned are a plus point we need going forward upper management want logs that we can use for "calculations" that can tell is performance over time like avgs,speed chg rates etc.
if your confused about the logs still, just think of it as it can be anything like:
I have two computers with dynamic IP addresses and am using dyndns so that they are identifiable as the same computer even if their IPs change (we'll call them host1.dyndns.com and host2.dyndns.com). I also have a remote server which I would like to store my computers' IP addresses on. There is a... (9 Replies)
I am executing a stored proc and sending the results in a log file. I then want to grab one result from the output parameters (bolded below, 2) so that I can store it in a variable which will then be called in another script. There are more details that get printed in the beginning of the log file,... (3 Replies)
Hi,
I am trying to write a script which would go search and get the info from the logs based on yesterday timestamp and write yesterday logs in new file. The log file format is as follows:
""""""""""""""""""""""""""... (3 Replies)
Hi everyone,
Need your help creating a script that downloads a website after entering the URL e.g. Google, and parses its contents for URL's and appends the output to a text file in this format:
http://grabbed-url-from-downloaded-website.com/
http://another-url-from-downloaded-website.com/
... (3 Replies)
Hello all I hope someone can help me. I am trying to convert something I wrote in C to bash.
But how do I go about reading more than one item at a time in a for loop?
i have been using this format for the loops in the bash script i have been building.
e.g.
for word in `cat -s... (4 Replies)
I have a process that is running locally on the machine.
When you telnet to the process: telnet IP port, it automatically returns a string which shows the status of that process.
Something like this:
# telnet IP Port
Trying 127.0.0.1...
Connected to localhost (127.0.0.1).
Escape... (3 Replies)
Hi folks;
I have a temperature sensor that configured with an IP address so we can open a browser to see the temperatures in our 3 labs all showing in one screen.
I'm trying to write a script to call this link then email me the results/output so i don't have to open a browser manually every... (3 Replies)
ok, so a script i wrote spits out an output like the below:
2,JABABA,BV=114,CV=1,DF=-113,PCT=99.1228%
as you can see, each field is separated by a comma. now, how can I get rid of the first field and ONLY show the rest of the fields.
meaning,
i want to get rid of the "2,", and... (3 Replies)
I have several .csv files containing data like this:
field_1;field_2;date;comment;amount;
I want to extract the 3 last fields and load them in a database.
my input_file = "/dir/file.csv";
my output_file = "/dir/file.sql";
open my $csv_file, '<', $input_file
or die "Can't... (1 Reply)
Appreciate help for the below issue.
Im using below code.....I dont want to attach the logs when I ran the perl twice...I just want to take backup with today date and generate new logs...What I need to do for the below scirpt..............
1)if logs exist it should move the logs with extention... (1 Reply)