Terminé

Linux script to monitor CPU usage

Job Description:

I need a script that runs and monitors CPU usage and reboots the machine if average CPU is below e. g. 5% average within e. g. 1 minute. The script should also write a log file. Log file max size is limited to e. g. 2 MB (rotating log). The exact values can be stored in a config file.

The script needs to work on Ubuntu 18.x and 19.x. As for the programming or scripting language, Python, Node.JS, Shell scripting or C++ is ok. The script and how to install it should be well documented.

In your bid, please mention which programming or scripting language you prefer or recommend to use for this task.

If you know of an existing tool that can do this, please let me know and I would send you a “thank you” bonus right away.

Compétences : Python, Linux, Programmation C++, Script Shell, Ubuntu

Concernant le client :
( 30 commentaires ) Walldorf, Germany

Nº du projet : #23317436

Décerné à:

bms8197

Hello, I've already created the script for you. It's in bash. It needs some repolish to suit your needs but basically what it does is this: you run it, shows the current load average on the linux box, writes the outp Plus

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% USD en 7 jours
(160 Commentaires)
6.3

38 freelances font une offre moyenne de 47 $ pour ce travail

hbxfnzwpf

I am very proficient in c and c++. I have 18 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using c++ under Linux environ Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(136 Commentaires)
6.9
ThinkAndCo

Hi, We are a team of professional software developers. We have expertise in Python and can readily work on your requirements. Kindly consider our proposal for the best results. Looking forward to talking for more info Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(58 Commentaires)
5.6
goodwork20k

I am good in Shell script along with automation and development, please let me know if you are good to award this project to me

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(59 Commentaires)
5.7
urstealth

Hi, I have created such a script earlier for Nokia IMS project. Where disk usage, cpu monitor as well as process monitoring was performed using the shell script. I can do it in shell as well as python

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(65 Commentaires)
5.4
VarunUnix

Hello, I can write a shell script for this requirement. Shell script along with cron will do the regular monitoring of the cpu and execute process. There will be a configuration file where the script reads to perform Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(56 Commentaires)
5.4
ArleMedina

Hello sir, I can install a bash script that calculates the overall average use of all CPU cores installed in your machine every minute. If the CPU average usage is below 5 percent the machine will be restarted. The ave Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(67 Commentaires)
5.4
AStream1210

Hello. I've just read your note carefully. As far as i am concerned i am appropriate for you. I am a new freelancer but I've developing C ,Linux and Alogorithm since i was 11. I know the way to C - think like a cpu! Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(12 Commentaires)
5.1
unix515

I am a python expert and I am very familiar with CPU usage in Linux. Please send me a message so that we can discuss more.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(25 Commentaires)
5.2
smaanvi007

Hello, i will use linux base script to implement the same. I'm linux system admin with more then 6 years of experience in same profession. Ping me for further discussion. Thanks

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(29 Commentaires)
4.9
antima5

Hi, I am a Linux expert and I can do this using bash. please get in touch to discuss it further in chat. Thankyou Antima Mishra

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(29 Commentaires)
4.6
antrusd

Hi there, Of course there is existing tool that can do your requirement. Why would we re-invent the wheel ? The tool is widely used by community and its well proven to do an action per configured conditions. Conditio Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(13 Commentaires)
4.6
vilbiraju

Hello, I already done similar script which reboot the server if the application hosted inthat server is unavaialble to public internet., it checks the availability of website 5 min interval and it checks 5 more conse Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(16 Commentaires)
3.9
aruaswin

Hi There!! I have been working as Linux Administrator for 6+ years and have written many shell scripts and Ansible Playbook for automating projects. I already have a script ready for Memory and CPU. Can modify it accor Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(19 Commentaires)
3.9
hamidazr

Hello, I'm an experienced Linux/Unix admin. I've rich background in writing smart shell scripts. So I'm ready to write your code in bash programming. Please look at my profile to know more about my skills.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(6 Commentaires)
3.3
AleksandarDikic

Hello. I have some experiences for similar projects with yours. I have rich experiences as a Python developer for 12 years. I have developed 250+ projects based Python and 7 of them are used for huge companies like Na Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(5 Commentaires)
2.6
svshkut

No problem! I have read your description carefully and very interested in your project. I am working on Desktop App with C/C++,C#,Python & Java for 7years. I think i can make it with python script. If you hire me, you Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(3 Commentaires)
2.1
SergeyEybog

Hello. I'm Sergey from Russia. I'll use bash script in ubuntu. I'm familiar with scripting and system automation scheduling. And I have rich experience in C/C++/C#, Python, Java, Linux and Networking Software. I am a s Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(1 Évaluation)
2.0
lakosg

I have 10+ years in Linux system administration and bash shell scripting. Please feel free to contact me.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(2 Commentaires)
1.7
himanshubhati98

We are  providing solutions regarding devops and IT Infrasructure and migration . In our organization all member are having  7+ years of collective experience in linux, Jenkins Aws Google cloud, bash/shell script, kube Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(0 Commentaires)
0.0
preetiit79

I have just finished with a project, and do not have any more in the pipeline at the moment. If I am hired for this project, I will be able to give it my full attention and will deliver on time. Apart from this, I poss Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 5 jours
(0 Commentaires)
0.0