Search Results

Search: Posts Made By: Tim2424
13,117
Posted By Tim2424
Hello ! I'm realy stupid ahah... My graph...
Hello !

I'm realy stupid ahah... My graph doesn't work because my EndDate is 2020-20... And I don't know why I've put this value...

Thanks for your help and sorry for the inconvenience !
13,117
Posted By Tim2424
Thanks for your help ! I've increase the...
Thanks for your help !

I've increase the width of my graph ( replace 900,520 by 900,800 ) and there is no difference.

I realy don't understand...
13,117
Posted By Tim2424
Gnuplot 4.6 : problem with my X axis
Hello, I need your help !



I've this data :

2020-04;26.94
2020-05;26.92
2020-06;26.89
2020-07;27.01
2020-08;26.73
2020-09;26.72I use this gnuplot script ( I'm bound to use the 4.6...
2,326
Posted By Tim2424
Trendline with gnuplot 4.6 patchlevel 6 ?
Hello,

I've a question about Gnuplot 4.6 patchlevel 6 and how to trace a trendline. First of all, I'm bound to use this verison of Gnuplot.

I've this data :

019-10-08-13-37;28.7297...
9,705
Posted By Tim2424
Hello ! Thanks for your help ! I've try...
Hello !

Thanks for your help !

I've try many different things in bash and my last script that most closely resembled at what I want take much more time ( 3minutes ) to do what your script do...
9,705
Posted By Tim2424
Difficulty to create .txt file from loop in bash
I've this data :

data1.txt

2020-01-27-06-00;/dev/hd1;100;/
2020-01-27-12-00;/dev/hd1;100;/
2020-01-27-18-00;/dev/hd1;100;/
2020-01-27-06-00;/dev/hd2;200;/usr...
5,533
Posted By Tim2424
Retrieve query_string on my CGI in ksh/html ?
I've this ksh script in my CGI :

SERV_LINUX=$(cat /xxx/xxx/xxx/xxx/xxx/xxx/foo.txt | awk -F';' '{print $2}' | sort | uniq)

DATE_Linux=$(cat /xxx/xxx/xxx/xxx/xxx/xxx/foo.txt | awk -F';'...
Forum: Programming 01-30-2020
12,601
Posted By Tim2424
Two problems with my python code
Hello everyone ,

I need your help to end my python code.

I've this code in python :

from ipywidgets import interact, Dropdown
from ipywidgets import *
from ipywidgets.embed import...
Forum: Programming 01-18-2020
17,370
Posted By Tim2424
Python : Problem with " TypeError: float() argument must be a string or a number "
Hello !



I'm creating a CGI which allow to display graph from some data.



The datas looks like :



2020-01-13-00-00,384.00,350.00
2020-01-13-06-00,384.00,350.00...
7,894
Posted By Tim2424
Hello ! :) You're right. The complete...
Hello ! :)

You're right.

The complete code is :



read a
test=$( echo $a | cut -d'=' -f2)


echo "<p><h2>FRAME : $test</h2></p>"

echo "<table>"
for fn in...
7,894
Posted By Tim2424
Hello there ! :) I will try to show you what...
Hello there ! :)

I will try to show you what I want :

I would like this output :


Date ======== 201908XX Date ======== 201908XX Date ======== 201908XX
...
7,894
Posted By Tim2424
Hello there ! :) I will try be more clear (...
Hello there ! :)

I will try be more clear ( I'm french so I don't speak english very well and I think this is why you having trouble to understand some things :D)


With my first script in...
7,894
Posted By Tim2424
I try something like that : echo "<table>" ...
I try something like that :

echo "<table>"
for fn in /var/www/cgi-bin/LPAR_MAP/*.csv;
do
echo "<td>"
echo "<PRE>"

awk -F',|;' '{ $0=$1","$2","$5","$6","$7} /'$test'/ { if (!a[$0]++)
{...
7,894
Posted By Tim2424
Hello ! Thank you for your answer ! ...
Hello !

Thank you for your answer !

That is why I decide to change my script.

For the moment, I have this :


awk -F",|;" ' {$0=$1","$2","$5","$6","$7 } /'$test'/ { if (!a[$0]++)
{...
7,894
Posted By Tim2424
How to put the command to remove duplicate lines in my awk script?
I create a CGI in bash/html.


My awk script looks like :


echo "<table>"
for fn in /var/www/cgi-bin/LPAR_MAP/*;
do
echo "<td>"
echo "<PRE>"
awk -F',|;' -v test="$test" '
NR==1 { ...
6,100
Posted By Tim2424
Hello ! Finally I use this script : ...
Hello !

Finally I use this script :



awk -F',|;' -v test="$test" '
NR==1 {
split(FILENAME ,a,"[-.]");
}
$0 ~ test {
if(!header++){
...
5,446
Posted By Tim2424
Hello, A late response, sorry... ;) ...
Hello,

A late response, sorry... ;)

Finally I do something different and make choice to create a other script for the difference calculation :




#!/bin/bash

cat...
5,446
Posted By Tim2424
How to put a difference calculation in my awk script ?
Hello,

For my CGI, I have this script :
#!/bin/bash


echo "Content-type: text/html"
echo ""

echo '
<html>
<head>
<meta http-equiv="Content-Type"...
6,100
Posted By Tim2424
Hello ! :) Thank you for your answers ! ...
Hello ! :)

Thank you for your answers !






The problem with your proposition is that your script display all FRAMES with all LPARS. At the begin, I used a similary script than yours...
6,100
Posted By Tim2424
Two questions about my script : apply to all my csv and recover filename ?
Hello,

I allow me to writing here to seek your assistance about my script bash !

I have many csv files that looks like :


MO2PPC20,60,1.5,4
MO2PPC20,39,0.3,5
MO2PPC20,105,2.0,4...
Showing results 1 to 20 of 20

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