Find Jobs
Hire Freelancers

Bash scrip to kill if PID is using 100% cpu

$10 USD

Ditutup
Dibuat hampir 8 tahun yang lalu

$10 USD

Dibayar ketika dikirim
I have a server and there i run lot of ffmpeg (ff1) scripts, but sometimes any of scripts is getting lot of cpu and it block all my server, so when i run TOP command sometimes i see a proccess is ussing example 250% cpu So what i want is a simple script which i can run or maybe run with crontab every minute so it will check if any proccess is getting more than 100% cpu and if yes kill it
ID Proyek: 10905244

Tentang proyek

35 proposal
Proyek remot
Aktif 8 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
35 freelancer menawar dengan rata-rata $20 USD untuk pekerjaan ini
Avatar Pengguna
A proposal has not yet been provided
$30 USD dalam 1 hari
4,8 (157 ulasan)
6,0
6,0
Avatar Pengguna
Hi, I am Hieu and I am an AWS Certified Associate and a VMware Certified Professional. I have 8 years of experience in systems admin and datacenter day-to-day operations. I am proficient to implement, configure and manage Windows, Unix, Linux with application servers running inside them like Apache, Ngix or databases systems like MySQL, PostgreSQL on both physical and virtualization as well as cloud computing. I would like to have the opportunity to discuss your project.
$35 USD dalam 0 hari
5,0 (19 ulasan)
4,9
4,9
Avatar Pengguna
will be done in 5 min let me know if you are interested
$111 USD dalam 1 hari
5,0 (4 ulasan)
3,8
3,8
Avatar Pengguna
Hello, I'm a senior Linux administator. I have ever worked with bash and cron before. I can finish this project. Thank you for reading my bid
$15 USD dalam 1 hari
5,0 (9 ulasan)
3,2
3,2
Avatar Pengguna
Hello. I work in 24/7 linux servers support. I can help you with this task. Best regards, Eugene D.
$10 USD dalam 1 hari
5,0 (10 ulasan)
3,2
3,2
Avatar Pengguna
A proposal has not yet been provided
$15 USD dalam 1 hari
4,8 (9 ulasan)
2,9
2,9
Avatar Pengguna
I can help you with it
$13 USD dalam 1 hari
5,0 (3 ulasan)
2,3
2,3
Avatar Pengguna
I have 4+ years of experience working with ffmpeg and bash. I have recently worked on similar project where the requirement was similar except the need was just to monitor and not to kill the PID. I am sure i can help you complete your required task
$25 USD dalam 1 hari
5,0 (1 ulasan)
1,8
1,8
Avatar Pengguna
I have the code in C++. If you want I can share the code.
$25 USD dalam 1 hari
5,0 (1 ulasan)
1,4
1,4
Avatar Pengguna
Dear Sir, My name is Eduard and i work as Linux System Administrator from 10 years. I will be happy to solve this project for you. If this project is urgent then just accept my bid and i will start working on it. Best regards, Eduard
$35 USD dalam 1 hari
5,0 (1 ulasan)
1,1
1,1
Avatar Pengguna
I am a student at Automatica si Calculatoare, Bucharest. I studied linux in my first year and i graduated with highest grade. I am excited for yout answer !
$15 USD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
I am well versed in Bash scripting and will provide a solution in a stipulated time period. I have several years of experience working in the Linux environment.
$15 USD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
I am very good at righting python as well as bash script. I have a 5+ years experience in GNU/Linux environment using C and Python in Embedded Development
$10 USD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
A proposal has not yet been provided
$15 USD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
Working on shell codes on daily basis well aware of process threads and kernel, will write most efficient script for you.
$15 USD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
I have good experience of creating bash scripts. I offer you to make it even better for your requirements. I can create script which will do the following 1. Will run every 5 minutes through crontab and will check for PIDs close or above to n% CPU usage thrashold. 2. if the condition is true, It will not kill them but will schedule to run again after 1 minute(will repeate 3 times) and if CPU usage still close or above threshold it will kill the processes - Some processes sometimes consume cpu usage for a while and will free it after some time so no point of killing them immediately. 3. Properly log the killed processes so that you can check which processes have been killed and when. I can also create simple script to just kill those PIDs if you don't want above and can provide you in single day but for better one i will take my time of 7 days(as i am engaged with other projects also)
$30 USD dalam 7 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
Hello This is really very easy to do. Please take a look on my profile. You will see similar projects i did. Everybody was happy with my work and gave me 5 stars and nice comment.
$10 USD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
It's not difficult to implement
$10 USD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
Hi i have very good linux scripting skill .Paid me after verifying script.
$10 USD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
I have almost two years of experience working at a web hosting company where I've assisted customers in many server admin task and know how to write Bash scripts and set up Cron jobs. I can create a script that will scan the output of the ps command for processes using 100% CPU and kill those processes by the specific PID. I can also set up the Cron for you if you like.
$10 USD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0

Tentang klien

Bendera MACEDONIA
mycity, Macedonia
5,0
129
Memverifikasi Metode pembayaran
Anggota sejak Mei 3, 2013

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.