> Please let me know, if we have large number of disks
> are mounted and they have different threshold value.
> Do we have any particular command to know its warning
> threshold value.
> 
> For example : we have a partition say A and
> threshold is 95% while B have 90% and soon. Then I
> want to know the procedure by giving the partition
> name say X and I am looking forward to knows its
>  threshold value. 
> 
> I want to know this beforehand because I  have to
> move some 20GB data to a new disk only if It didn't
> cross the threshold value.

You'll have to write a shell script, most likely utilizing `df -k` or `df -h` 
and call the script from cron.

Ideally, the script should elicit a SNMP trap to your NMS once a threshold you 
have defined is reached, if you do not have a SNMP infrastructure, then the 
simplest thing to do is send an e-mail when a threshold is reached.

By the looks of what you wrote, you have some "chair warming", aka sitting down 
and studying books, to do:

http://docs.sun.com/app/docs/coll/47.16

There is no "silver platter" easy solution for what you want (that I know of 
anyway).
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to