Free Consultation Online

Got a non-urgent question regarding Linux/Unix operation?

Take advantage of getting it answered for free right here. To receive your free consultation, simply post the question in the “Comments” below or write privately via Contacts.

If time (and other conditions) permit I may give you a phone call (up to 20 minutes) to discuss your topic, so that you could get a more “dynamic” sample of my expertise and see better the way I think Unix & the Internet.

Note: “Free Consultation Online” is a “No Warranty” service; By using it you explicitly grant all rights to 123Unix!com for the answer as well as for your question to be published in any way 123Unix!com chooses.

  1. #1 by Kishore on July 2, 2012 - 9:25 am

    I need to find the disk space of several unix machines from single linux machine and send an automated mail report regarding the same (disk space usage of all machines ) kindly provide a shell script to excecute this task.

    Thansk in advance.

  2. #2 by Alex on August 8, 2012 - 12:31 am

    Here goes:

    for machine in machine1 machine2 machine3; do
    ssh $machine df -h
    done |
    mail -s "Disk space report" you@yourcompany.com

(will not be published)