Terminé

Linux script writting

I need a script made to capture data from some log files and upload them to my ftp server. I have some

This is what I have so far and it does not work:

#!/bin/bash -x

coin=`cat /mnt/export/jake/[login to view URL]`

screen -S miner -X stuff 'status^m'

sleep 3

minerstatus=`tail -n 1 /home/jake/"$coin"/"$coin"[login to view URL]`

echo $minerstatus

IPlan=`hostname -I | cut -d' ' -f1`

IPwan=`curl [login to view URL]; echo`

OUTPUTFILE="${HOSTNAME}[login to view URL]"

echo $OUTPUTFILE

echo "$HOSTNAME , $balance , $minerstatus , $IPlan , $IPwan" > /home/jake/${OUTPUTFILE}

Compétences : Linux, Script Shell

en voir plus : linux script mysql sync, dash linux script, linux script manager users, linux script error handling, linux script probleme, linux script replace string file, linux script update database, linux script imagemagick, html2pdf linux script, linux script backup lto, linux script transferring files sftp, linux script setting server, linux script download email attachments, linux script mail server status

Concernant l'employeur :
( 23 commentaires ) Wilmington, United States

Nº du projet : #18153313

Décerné à:

TopNotchTechDev

I'd be happy to help. Need to tell me: - Specifically what data you want to capture from the log files - What format to push them on the FTP - FTP credentials (username & password) - sample log file It will t Plus

%selectedBids___i_sum_sub_4% %project_currencyDetails_sign_sub_5% USD en 1 jour
(0 Commentaires)
0.0

4 freelance font une offre moyenne de $35 pour ce travail

bindmission

Hello, Hope you are doing well. I have 6 years of experience in Linux and Bash script. I will create the bash script for you Regards. VishnuLal

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(49 Commentaires)
5.1
sambestsolutions

Hi I am an devops engineer experienced in linux(centos,ubuntu) and shell scripting for more than 5 years. I can do this script for you to process and capture data from log file and update results to the required ftp s Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 4 jours
(3 Commentaires)
2.2
Manavx

Hi, I have 3+ years of industry experience with expertise in linux and scripting. I have done many projects like this in past. I can easily do this project for you on budget and in time. Hope to hear from you.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(1 Évaluation)
1.6