Centos Script

Closed Posted Feb 4, 2015 Paid on delivery
Closed Paid on delivery

I need a script that do the following:

User Disk usage

Additionally, when the -d parameter is supplied, show the three users in the system that use the most disk space in their homes. (Note that homes are not necessarily under /home, and they may be different. You can look at /etc/passwd to figure out each user's home). Sort these three users by their disk usage and for each of them show their name, total space usage and home directory.

Some users in /etc/passwd are not "real" users, and may have non-existent homes. You should filter those entries, plus any entry that has a home under /usr, /var, /dev, /proc, /run, or that has / as home. The output of this command should not generate unhandled error messages.

OUTPUT should be like this:

Disk usage:

jane 204816 /users/jane

joe 102420 /home/joe

sync 12584 /sbin

NOTE-

Person new in Linux so the commands should be use are the basics ones such as

sort -k

/etc/issue

/proc/cpuinfo

/proc/meminfo

cat

sed

grep

awk

find

Linux

Project ID: #7088707

About the project

23 proposals Remote project Active Mar 14, 2015

23 freelancers are bidding on average $26 for this job

amcorreia

Ainda não foi fornecida uma proposta

$84 USD in 3 days
(48 Reviews)
5.3
pfredrikson

Hello. I'm a linux sysadmin with 9 years of professional experience. I think I can do that script really quickly. Let me know if you are interested.

$30 USD in 1 day
(14 Reviews)
5.0
MikeRRR

Hello, a few words about me: I am system / network administrator. I manage over 300 servers with different purposes: web servers, sql servers, voip servers, filesharing servers, email servers and so on. Each ser More

$25 USD in 1 day
(44 Reviews)
5.0
ppmag

Hi, Is it ok to use 'du' command in script? Is there any limitation on commands usage in script? Best, Alex

$30 USD in 3 days
(13 Reviews)
4.6
Yknox

Hello I'm interesting your project very well I'm a Good Linux, Script, Algorithm expert. I understand your req exactly. I m quite well experienced in these jobs. Let's go ahead with me I want to service for y More

$40 USD in 1 day
(14 Reviews)
4.6
sachitjani81

Payyyyyyy only after u get 100% running script. Lemme know exact budget. Pm me..........................

$25 USD in 1 day
(6 Reviews)
3.9
StanMarsh

Hello, I have a good experience in bash scripting. Ready to complete this script by the end of this day if i start shortly. Promise to do my best. The source code of the script would have the optimal logic and will be More

$30 USD in 1 day
(14 Reviews)
3.8
komden

Hi. I worked hosting company. Have experience in the administration of servers Linux, FreeBSD, Cisco etc. I am create scripts on sh, bash

$30 USD in 2 days
(13 Reviews)
3.5
lalit1185

Hi, I can provide you this solution within one day of time frame. Do let me know if you are interested. I am a Scripting guy having experience in Shell, Perl, Python etc. Regards Lalit +91 8527570136

$25 USD in 1 day
(0 Reviews)
0.0
amithekare

I have done this sort of program earlier and can create it with ease and accuracy. I am ready to take calls and customize the solution if required.

$23 USD in 1 day
(0 Reviews)
0.0
BlackSeaSharky

A proposal has not yet been provided

$25 USD in 2 days
(0 Reviews)
0.0
gianlucalodo

Hi, i'am a beginner of freelance. Before that i make my offer, i have already created and tested the script.

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

A proposal has not yet been provided

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

A proposal has not yet been provided

$25 USD in 1 day
(0 Reviews)
0.0
spordev

Get user list from /etc/passwd, show top 3 greedy users (exception noted), and make it simple. Got It. No problem. My still new reputation justifies the low price ;-)

$10 USD in 2 days
(0 Reviews)
0.0
zybexzl

I have 15+ years experience in writing shell scripts. I already write this script, so if you accept this offer i send you code immediately. Script do exactly what you write in specification. Without parameter script pr More

$10 USD in 1 day
(0 Reviews)
0.0
nutellack

Hello, I can provide a small simple bash script, using du (disk usage) and filtering and sorting the 3 results you need Regards

$25 USD in 1 day
(0 Reviews)
0.0
Evileny

Hi there. I will be happy to assist you. Usually I prefer using simply du command or depending on file system it is also possible to configure quota limits. However this task for me like a challenge. Contact me anytime More

$10 USD in 1 day
(0 Reviews)
0.0
brainkiller01

A bash script to create the required output below shall be created. Just to be clear, the -d switch shall provide the output requested below. But what should it display without the -d switch ?

$30 USD in 1 day
(0 Reviews)
0.0
shaneyx

A proposal has not yet been provided

$25 USD in 1 day
(0 Reviews)
0.0