[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] vmware esx vdf
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] vmware esx vdf
- From: "Gatis A." <gatis.anee (at) gmail.com>
- Date: Tue, 17 Jun 2008 15:52:24 +0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=u/3Ast3mPjVQx/WbO64OC+XZsMncBr1067s230PhwNM=; b=vgWmlKvuPF/bmDNNovuxUZ9gOPeSHW4x13434W3MO1q5xCp5rzq8BYBYEhlxJFcpjW P/Sg0PP02d3u6w8WxiIFixg5NbZS+wXP4jrEVEf0FQ5k890eqMBkY1qi0ExakTvi35kH k9eprgUDU3gAR8eqrEzX0uDtP6D924dOyPxQM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=VTzAJRBXu6E6goLk4QSf8jWVoXGE4HbJk7xK5NN+srdmZR9SHiTyeLLvnvEZcdlwBY kId9LRFmmL9XwHX+poKgNBOAm9q9l3VjqhHerM+rsm+1SyiUCcg66+wja8DEO4tlg9Yf G+5te0js/vqAN5e73tb9gBCqUn+Hz6q+hNCxQ=
- References: <534434e80806170010n4170bc15h46cbc36f8ab15016 (at) mail.gmail.com> <48579155.6000700 (at) unil.ch>
Thanks its working!
It would be nice if someone could share his "esxtop" script.
On Tue, Jun 17, 2008 at 1:26 PM, Dominique Frise <Dominique.Frise (at) unil.ch>
wrote:
> The output format is split in two lines if you use /usr/sbin/vdf.
> Try "/usr/sbin/vdf -P"
>
>
> Dominique
>
>
> Gatis A. wrote:
>
>> Hi,
>>
>> Does anyone can help me to find out why hobbit server is not reacting on
>> disk thresholds:
>>
>> clients side hobbitclient-linux.sh "df" is substituted with esx "vdf" to
>> show vmfs volumes:
>>
>> $ sudo /usr/sbin/vdf | grep -vE "none|\/vmfs\/devices" | sed -e '/^[^
>> ][^ ]*$/{
>> N
>> s/[ ]*\n[ ]*/ /
>> }'
>> Filesystem 1K-blocks Used Available Use% Mounted on
>> /dev/sda2 5036316 1400552 3379932 30% /
>> /dev/sda1 101089 26731 69139 28% /boot
>> /dev/sda6 2008108 92920 1813180 5% /var/log
>> /vmfs/volumes/45d5a1ab-a762f091-bf2e-00145ebdbc9a 104595456 94534656
>> 10060800 90% /vmfs/volumes/esx-lun1
>> /vmfs/volumes/45e3e8c9-816dfb02-6c98-00145ebdbc9a 104595456 84154368
>> 20441088 80% /vmfs/volumes/esx-lun2
>>
>> disk status page should be yellow, but it's not, it's still green
>> (threshold is set to 85%)
>>
>> this is the original "df" from hobbitclient-linux.sh
>> df -Pl -x none -x tmpfs -x shmfs -x unknown -x iso9660 | sed -e '/^[^
>> ][^ ]*$/{
>> > N
>> > s/[ ]*\n[ ]*/ /
>> > }'
>> Filesystem 1024-blocks Used Available Capacity Mounted on
>> /dev/sda2 5036316 1400552 3379932 30% /
>> /dev/sda1 101089 26731 69139 28% /boot
>> /dev/sda6 2008108 92916 1813184 5% /var/log
>>
>> both outputs looks similar
>>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>