Search Results

Search: Posts Made By: Pieter0815
5,703
Posted By Pieter0815
Take the 2nd line from the bottom
Dear friendly helpers,

I want to compare the last line and the 2.nd line from the bottom later with a calculation. The rest of the script is working. What is wrong with my solution?

I want to...
1,956
Posted By Pieter0815
Now it works , thank you to all who helped me.
Now it works , thank you to all who helped me.
1,956
Posted By Pieter0815
Done, no change with the Error messages. ...
Done, no change with the Error messages.

3927
1479
3927
3927
1471
1479
/rsi/utils/csc_size_check: line 19: 3927
3927: syntax error in expression (error token is "3927")
0
-1000...
1,956
Posted By Pieter0815
I use the bash shell. I changed the code as...
I use the bash shell.

I changed the code as suggested:



1 #!/usr/bin/bash
2 #Berechnung und Warnung bei Vergroesserung der rsi und scr Daten um 100GB
3
4 SIZE_RSI=`grep...
1,956
Posted By Pieter0815
Thanks, but I tried this some lines down ...
Thanks, but I tried this some lines down

((x=y-z))
and this does not work too.
1,956
Posted By Pieter0815
SIZE_RSI=`grep ^rsi...
SIZE_RSI=`grep ^rsi /rsi/logs/csc_summary_size_check.log | tail -1 | cut -d";" -f4 | cut -b1-6`
SIZE_SCR=`grep ^scr /rsi/logs/csc_summary_size_check.log | tail -1 | cut -d";" -f4 | cut -b1-6`...
1,956
Posted By Pieter0815
[Solved] Calculation on sun again
I posted this question before 2 months and gain a solution. Thanks again for this, but I tried it now and had no success. Could the specialists be so kind to have a second look please.


Please...
1,300
Posted By Pieter0815
Thank you. It works.
Thank you. It works.
1,300
Posted By Pieter0815
[Solved] How to calculate in sun bash
I have two problems, and it would be great if someone could help me:

The first line does not calculate. I have checked the origin term to calculate the variables
and the result is OK. Normal...
Showing results 1 to 9 of 9

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