Find Jobs
Hire Freelancers

Cloud machine bash script

$30-50 USD

Closed
Posted about 3 years ago

$30-50 USD

Paid on delivery
Any body can give me suggestion, how to make the virtual system explicitly down/unreachable for 10 second in everyone minute so that I can fetch the appropriate logs (I am using a bash script) Deliverables #!/bin/bash set -x URL=[login to view URL] while true; do now=$(TZ=utc date -Iseconds) #wget $URL -q -O /dev/null nc -z -n -v [login to view URL] 9022 2>&1 > /dev/null if [[ "$?" -eq "0" ]] then echo $now SUCCESS >> [login to view URL] else echo $now FAIL >> [login to view URL] fi echo "$(tail -60 [login to view URL])" > [login to view URL] wc -l [login to view URL] sleep 5 done
Project ID: 29457878

About the project

5 proposals
Remote project
Active 3 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
5 freelancers are bidding on average $34 USD for this job
User Avatar
Hi, If you can manage the VM and have access to host node and the VM filesystem is on LVM then you can use LVM snapshot and copy the logs without any downtime to the VM. I can script grabiing logs from snapshot.
$40 USD in 1 day
5.0 (27 reviews)
4.4
4.4
User Avatar
Hello there! I saw your post and I am more then certain that I would be a great fit for this job. I would need a copy of your Virtual Machine, or a documentation about what exactly you are trying to stop start and fetch out and I will be more than happy to set it up locally on my machine and writing the bash script that you would like to have and give it to you. Best Regards, Csaba Gura
$30 USD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
bro you can use ping/nc command and while you can ping every 2-3 seconds and You can easily catch it when there is no response 2-3 times. if you can't I can help you for 3-4 dollars send me a message or reach me on my discord address my discord adress: Segacus#6336
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of ROMANIA
Băilești, Romania
5.0
1
Member since Mar 8, 2020

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.