Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 May 2008 21:22:30 +0200
From:      Iv Ray <pobox@verysmall.org>
To:        FreeBSD Questions <questions@freebsd.org>
Subject:   accessing iostat -x %b with a scripting language
Message-ID:  <4829EA76.7020806@verysmall.org>

next in thread | raw e-mail | index | archive | help
Is there a standard way to access, with a scripting language (php, perl, 
etc.) the output of -

iostat -x

I am particularly interested in the %b column (HDD utilization).

I am not sure if reading the output and regex-ing the Nth column is the 
right approach, or there is a more intelligent one.

Iv



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4829EA76.7020806>