In Progress

Bash Script to manipulate text/data

Dear Coders,

I need a script to manipulate some texts/data based on CentOS / Linux server for management purposes.

So I need you to basically understand some basic linux management script like: top, iotop etc.

If you have done so and you are the man I needed, please go on and read the rest......................

====================================================

I had a script written in perl, that produced an output like this:

TASK PID TOTAL READ WRITE DIRTY DEVICES

firefox 4450 4538 251 4287 0 sda4, sda3

kjournald 2100 551 0 551 0 sda4

firefox 28452 185 185 0 0 sda4

kjournald 782 59 0 59 0 sda3

pdflush 31 30 0 30 0 sda4, sda3

syslogd 2485 2 0 2 0 sda3

firefox 28414 2 2 0 0 sda4, sda3

firefox 28413 1 1 0 0 sda4

firefox 28410 1 1 0 0 sda4

firefox 28307 1 1 0 0 sda4

firefox 28451 1 1 0 0 sda4

I need you to continue by creating another script to:

[1] run the perl script for 10 secs, then ctrl break (ctrl-c)

[2] catch the data from the output's perl (the same as example above), and focus on the colomns of TOTAL and WRITE

[3] from who the most of using the TOTAL or the WRITE, then find from PS command, what additional attributes is 'firefox' (firefox ppid 4450) using (i will guide you on this next: example: ps aux | grep 4451)

[4] then from /base on the data [3], execute another simple command (another script)

Thank you for you time and efforts stopping by here.

additional and revision:
[3] who using the most, may produce 2 or 3 outputs (not just only 1). so we could grab these thrree top:
firefox 4450 4538 251 4287 0 sda4, sda3
kjournald 2100 551 0 551 0 sda4
firefox 28452 185 185 0 0 sda4

then from the ppids, we could grab another datas from ps aux,
then go on with [4] to execute another script/command.

I'm looking forward in making such long term business with you guys.
Thank you so much

Skills: Linux, Perl, Shell Script, Software Architecture, UNIX

See more: perl script manipulate output find, script text manipulate, bash script data, bash script perl text, manipulate text bash, data coders, data 3, bash 0, manipulate , linux bash script, bash script, linux perl bash, write linux script, read write server using, perl rest, centos perl, data base basic, execute bash script, Data base management, write linux command, read write data, catch linux, perl break, text data, centos server management

About the Employer:
( 32 reviews ) Jakarta Barat, Indonesia

Project ID: #4929235

Awarded to:

igupta005

it will be fun to work on such scripts, I can do all these.

$25 USD in 3 days
(2 Reviews)
3.2

21 freelancers are bidding on average $32 for this job

linuxfreak1985

I can do it. please see my past reviews, lets complete this project

$30 USD in 1 day
(216 Reviews)
7.2
FandaR

Hello, I have over 9 years experience as an Linux admin.

$54 USD in 0 days
(198 Reviews)
6.8
idleswell

Hello, You have a Perl script why not a second Perl script? Nevertheless, I have skills to create your admin script in either Perl or Bash shell. Details will be discussed in the PMB.

$54 USD in 3 days
(173 Reviews)
5.9
ielkfarna

Professional Freelancer.

$49 USD in 3 days
(48 Reviews)
5.7
rexhauser

Hello, I've done many Perl and shell scripting projects, I would like to help you.

$35 USD in 3 days
(95 Reviews)
5.2
PerlIsFun

I'd be glad to help.

$30 USD in 2 days
(20 Reviews)
4.9
tobiaspal

I'm a Linux system administrator experienced with high-traffic, high-availability websites.

$30 USD in 2 days
(4 Reviews)
3.8
rushinshah85

Hi, I am a full-time developer of Perl and CGI, and I work with most platforms (Linux, Solaris and Windows) and would like to help with your task. Please check PM. Thanks, Rushin

$30 USD in 3 days
(7 Reviews)
3.6
robertocasalegno

I am a high experienced system manager. I am presently managing dozens of servers spread around the world. On each of them I have scripts for backups, security checks, health controls on software and hardware. I ha More

$66 USD in 5 days
(3 Reviews)
3.0
Ayan

Hello, I can do it very easily. Please check PM

$20 USD in 0 days
(5 Reviews)
2.5
zkutch

Hello. More 20 years programming and administrating experience.

$25 USD in 3 days
(2 Reviews)
1.9
TarasKuzyo

I have some experience in bash scripting. And I think I can help you in this job.

$25 USD in 3 days
(0 Reviews)
0.0
happycoder2010

Hi, I have lots of experience with shell script please see your PMB.

$20 USD in 1 day
(0 Reviews)
0.0
dc6269

Hey, Pls check your pm.

$30 USD in 3 days
(0 Reviews)
0.0
pccomfrank

Hi, I would help you with this job.

$30 USD in 3 days
(0 Reviews)
3.7
fromanelli

Hi, I'm a developer but I have some experience working with Linux systems and especially perl - awk. Please read PM for further information.

$25 USD in 3 days
(0 Reviews)
0.0
dazza65

I have over 30 years of unix experience working for financial clients in the city of London. A well written script will make this easier to maintain and my experience will ensure this occurs.

$20 USD in 2 days
(0 Reviews)
0.0
tukapr

I'll deliver a scalable & stable script to handle this.

$30 USD in 5 days
(0 Reviews)
3.7
crdmendoza

Hello wharry, I have been using custom scripts for linux server management and even for automating configuration changes during the past few years. Have also been using the same approach on desktops. I am confide More

$25 USD in 3 days
(0 Reviews)
0.0
albertomarascia

I am really comfortable with Bash script, please let's try a collaboration, I will help you and we will finish it together

$25 USD in 3 days
(0 Reviews)
0.0