Find Jobs
Hire Freelancers

LINUX- EXPERT - Need simple bash script -- 2

$10 AUD

Dokončeno
Zveřejněno přibližně před 8 roky

$10 AUD

Zaplaceno při doručení
i need a bash script that i can run every 2 minute via crontab which will run this command: "ps -C ffmpeg" and check "TIME" there. if "TIME" is same in 2 script runs then kill that pid check image and see pid 2702, 27939 i run ps -C ffmpeg 2 times and "TIME" for those "pid" is same in both cases so i want a scipt that can kill -9 PID
IČ projektu: 9742191

O projektu

4 nabídky
Vzdálený projekt
Aktivní před 8 roky

Chcete si vydělat nějaké peníze?

Výhody podávání nabídek na Freelancer

Stanovte si rozpočet a časový rámec
Získejte za svou práci zaplaceno
Načrtněte svůj návrh
Registrace a podávání nabídek je zdarma
Uděleno:
Avatar uživatele
Hi, it's a easy script to do and will be happy to do it. I have over 15 years in coding with Unix, and as you can see I've passed all Unix and Shell scripts exams here. Feel free to ask any questions.
$15 AUD v 1 dni
5,0 (16 recenze)
6,1
6,1
4 freelanceři nabízejí v průměru $14 AUD za tuto práci
Avatar uživatele
Experienced as linux server administrator and worked with different panel as well. Working on lamp, lemp server with performance tuning. Also good in security setup and shell scripting as well.
$15 AUD v 1 dni
4,9 (21 recenze)
5,5
5,5
Avatar uživatele
As from 3 years i am working on bash (shell script )and this sounds me interesting so i can do it with that span of time.
$15 AUD v 1 dni
4,7 (2 recenze)
2,9
2,9
Avatar uživatele
As per your requirement, The script has to check the process name by the command "ps -C ffmpeg" , and this script has to run every 2 minutes, every run it needs to check the time stamp of every process, if any of the process having the same value as same as the previous run, that PID's needs to be killed. This can be achieved by fetching the output of time stamp of every process in a desired format to a file, the next run the output of time stamp of every process will goes to another file with the desired format Comparing the time stamp of every PID with old one, if the time stamp is same we need to kill that PID after this run, the latest output file will become as old file by doing a small log rotation . This entire task will be scheduled in cron and keep on running continuously every two minutes. Hope I have understand your requirement --- I have 10 years of experience in UNIX administration and in scripting to do automation, Scripting in my advantage which any repeated task can be aching by scripting. The price is negotiable, Also I am looking forward many other projects from you , so that we can wok together with better pricing . Regards, Roselin John +91 9444357718
$12 AUD v 1 dni
0,0 (0 recenze)
0,0
0,0

O klientovi

Pochází z MACEDONIA
mycity, Macedonia
5,0
143
Ověřená platební metoda
Členem od kvě 3, 2013

Ověření klienta

Díky! Poslali jsme vám e-mailem odkaz pro získání kreditu zdarma.
Při odesílání e-mailu se něco pokazilo. Zkuste to prosím znovu.
Registrovaných uživatelů Zveřejněných projektů
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Načítání náhledu
Bylo uděleno povolení ke geolokaci.
Vaše doba přihlášení vypršela a byli jste odhlášeni. Přihlaste se znovu.