Centos Script
$10-30 USD
货到付款
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
项目ID: #7088707
关于项目
有23名威客正在参与此工作的竞标,均价$26/小时
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.
Hi, Is it ok to use 'du' command in script? Is there any limitation on commands usage in script? Best, Alex
Payyyyyyy only after u get 100% running script. Lemme know exact budget. Pm me..........................
Hi. I worked hosting company. Have experience in the administration of servers Linux, FreeBSD, Cisco etc. I am create scripts on sh, bash
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
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.
Hi, i'am a beginner of freelance. Before that i make my offer, i have already created and tested the script.
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 ;-)
Hello, I can provide a small simple bash script, using du (disk usage) and filtering and sorting the 3 results you need Regards
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 ?