General discussion

Locked

Can a script tell network storage amts?

By jjemelli ·
I have hundreds of Unix servers (mostly Solaris) I need to get the storage totals off all of them. Used and Unused. To complicate matters they want to know the amounts of storage allocated versus used, and if the storage is internal VS. external!Please help!

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Can a script tell network storage amts?

by cavedweller In reply to Can a script tell network ...

One approach is to run a script using rsh and mail yourself the results. Here is an outline. You will have to adjust the syntax for your choice of shell. Of course this requires that rsh works on your network. A regular account is fine.

for SERVER in "list of servers"
do
rsh -n -l {account to run as} $SERVER df -{pick your options} | mail {accountname}
done

Another method would be to setup a cron job on each server to periodically report their disk usage. This means a lot of work to set it up but you only have to do it once.

Collapse -

Can a script tell network storage amts?

by jjemelli In reply to Can a script tell network ...

Thank for the ideas I will try both. The first quick fix now and the other when I (LOL) have time :)

Collapse -

Can a script tell network storage amts?

by scottdo10 In reply to Can a script tell network ...

Do you already have SNMP running or any other types of Network Monitoring? UCD SNMP can be used to poll disk usage and also notify if above a certain percentage used.

Collapse -

Can a script tell network storage amts?

by jjemelli In reply to Can a script tell network ...

No network monitoring is is use. They find it to be more of a problem than a help thanks anyway.

Collapse -

Can a script tell network storage amts?

by jjemelli In reply to Can a script tell network ...

This question was closed by the author

Back to Linux Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums