Find Jobs
Hire Freelancers

Create a Bash script in my server to execute a set of commands

$10-30 USD

Completed
Posted about 5 years ago

$10-30 USD

Paid on delivery
Hi, I have a php script which is coded very poorly, so occasionally that script is causing infinite loops in the process there by increasing WaitQ in my litespeed server. And it is not possible to detect just which process is causing that, So i usually kill all process running under that user to bring back the WaitQ. I am using the litespeed web server which maintain the live report in a file which i gave in the attachment, hdwrock1 is the user and corresponding waitQ is mentioned with WAITQUE_DEPTH (Which is 0 now) All you need is to create a bash script to detect if the WaitQ is more than 0 (Zero) of that user hdwrock1, then script has to kill all process of that particular user. And run that script every minute using cron.
Project ID: 18685058

About the project

11 proposals
Remote project
Active 5 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
Awarded to:
User Avatar
Hi I ve done many cron jobs in Linux based OS. And I guess it's easy kill process from an user. So I guess I could help you. Regards
$30 USD in 1 day
4.9 (69 reviews)
5.7
5.7
11 freelancers are bidding on average $32 USD for this job
User Avatar
Hi, I can write the script, but would like to know from where is this wait queue parameter read. Is that a specific file for lightspeed. Can we identify that particular user as well from that file.? Thanks
$25 USD in 1 day
5.0 (26 reviews)
4.8
4.8
User Avatar
Hey there, I'm a System Engineer with coding skills. I have been working with Linux/Unix systems for years. I had developed tons of Bash scripts. Regards.
$30 USD in 1 day
5.0 (36 reviews)
4.9
4.9
User Avatar
Hi, I have a very good experience with linux. I can do this task for you. Below is my action plan for this task. 1) Find out the the WAIT_QUEUE tag and get the value from text file. 2) Find owner of the WAIT_QUEUE 3) if owner is hdwrock1, then kill all the process owned by hdwrock1 4) Once this task is completed, then run this script with daemon for every minute. Please DM me for more discussion Thanks.
$25 USD in 1 day
5.0 (2 reviews)
3.0
3.0
User Avatar
Hi, under WaitQ you mean iowait for each process(that make queue) of user hdwrock1 right? If so i know how to do it and I will fulfill this task with pleasure for you.
$35 USD in 1 day
5.0 (1 review)
2.3
2.3
User Avatar
Hi I am Kamal Mehta. I have 12 Years of experience in Shell Scripting. Please consider my request and contact me to discuss your requirements. This bid is the placeholder and it may increase or decrease after careful review of requirements. Please contact me on chat. Thanks Regards Kamal Mehta
$55 USD in 1 day
5.0 (2 reviews)
1.5
1.5
User Avatar
I am good in Bash script, php, perl along with devops engineering, please let me know if you are good to award this project to me
$29 USD in 1 day
5.0 (1 review)
0.7
0.7
User Avatar
Hii I have developed & delivered Web database applications for enterprises & companies, using open source language PHP, MySQL, HTML 5, CSS3, AJAX, JSON, XML, etc. Coding, project and team management is my passion. My expertise comprises of CMS and Frameworks like Wordpress, Cake PHP, Laravel, Magento, OS Commerce, Zen Cart, Codeigniter, Joomla, YII Framework, SEO, Social Media Marketing, MVC frameworks, Google Maps, Payment gateway integration, Familiarity with Linux environment and Apache, Javascript, Jquery, Ajax, xHTML, CSS/CSS3, HTML5, XML, XSLT, Flash, Git & SVN. Throughout these years, apart from advanced coding skills; I have good hands on experience in adding value to customer via effective communication, business analysis and project management. I have expertise in team building, agile methodology, delivering clean and object oriented code.  Work support 24/7.
$50 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I have 14 years of experience in Linux and Bash scripting. The joib described in the post look like an easy one for me. I can help you to build & install the bash script which kill the processes if waitqueue is not zero. Let me know if you are interested to work with me on this task. Regards, Siji
$24 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I am currently working as an Devops engineer. As part of my current role i need to write many scripts to automate. So this project must be very simple with the experience i have in scripting.
$10 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello I'm technical manager in a hosting company which I can do your project and its possible for suggest and provide you good offers for get best performance at now and next requests on futures. I'll do it this project as free for you then if you was agree and confirmed accept this bid Kind regards
$35 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of INDIA
Hyderabad, India
5.0
1
Payment method verified
Member since Mar 16, 2009

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.