Search Results

Search: Posts Made By: Bdoydie
1,436
Posted By Bdoydie
Ok here is a stupid question but i can never...
Ok here is a stupid question but i can never remember how to do it,
the script is working fine but for some reason it is duplicating some of the lines

How do you remove duplicate lines?
...
3,621
Posted By Bdoydie
Sorry the man page for terminfo was ther i just...
Sorry the man page for terminfo was ther i just couldnt find anything similar to:

switch_2_white=""....some sequence..."
switch_2_red="....some sequence..."
switch_2_green="....some sequence..."
1,436
Posted By Bdoydie
I have made some progress, i changed the DATE...
I have made some progress,
i changed the DATE variable to
DATE= "`date | awk '{print $3, $2, $4}' | sed 's/\(.*\) /\1,/'`"

And now the only issue is it thinks the output May 31,2013

is a...
3,621
Posted By Bdoydie
Sorry how did you find that info from terminfo, ...
Sorry how did you find that info from terminfo,
I tried man terminfo and termcap but could find it??
1,436
Posted By Bdoydie
Email backup log
Hi,
I have a server which appends to two different backup logs, a summary and a full log,
I want to write a script which will email out this mornings backup,
the problem is that in the log files...
3,621
Posted By Bdoydie
sed colour change
Hi,
I am trying to write a script which will email a backup report from the server,

The contents of the email will be:

---------------------- ---- -- ---- ----- ---- ------- ---- -------...
2,534
Posted By Bdoydie
yeh i had a look at it but doesnt seem to change...
yeh i had a look at it but doesnt seem to change the actual chart data lines
2,534
Posted By Bdoydie
Thank ive got everything sorted now except the...
Thank ive got everything sorted now except the markers,
I think they are technically called data points,
There are boxes or an 'X' at every point along the line, I want to remove these so it is...
2,534
Posted By Bdoydie
That worked great, thanks: Does anyone know if...
That worked great, thanks:
Does anyone know if its possible to remove the markers on a line chart using perl?
and secondly my script runs on a number of servers so Im trying to get the script to...
2,534
Posted By Bdoydie
Below is my script at the moment: # #...
Below is my script at the moment:


#
# Generate Excel Spreadsheet
#
my $workbook = Spreadsheet::WriteExcel->new("$filename");
my $worksheet = $workbook->add_worksheet('cpu_stats');
my...
2,534
Posted By Bdoydie
Cheers, i will have a look and if i have any...
Cheers, i will have a look and if i have any problems ill let you know
2,534
Posted By Bdoydie
PERL excell scripting
Hi,
At the minute I am using a script to gather weekly SAR stats and put them into an excel scpreadsheet using perl.
I then get that spreadsheet and manually add in a chart on a new worksheet, Can...
2,522
Posted By Bdoydie
I have sorted this out using the -exec function...
I have sorted this out using the -exec function of the find command,
I needed to run the sar -uf command on each individual file in the /var/adm/sa directory

and using grep sa[1-9] does grep for...
2,522
Posted By Bdoydie
right Im thinking an easier way is run a find to...
right Im thinking an easier way is run a find to get all the sa files written last week and then I want to run my sar.sh script on each of these. so at the momment i have
find /var/adm/sa -type f...
2,522
Posted By Bdoydie
Sorry, if I was to remove the echo's and want to...
Sorry, if I was to remove the echo's and want to run my script which is called sar.sh what should it look like?
2,522
Posted By Bdoydie
removing part of a file
Right this is quite a long one,
I have a script which complies all listed stats files into one file and emails it out,
However this has to be run manually and i would like it to run automatically,...
Showing results 1 to 16 of 16

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