Az Ioping telepítése és futtatása CentOS 6 rendszeren

Ebben az oktatóanyagban telepítjük és futtatjuk az ioping-et, hogy meghatározzuk a merevlemez várakozási idejét a szerveren. Az oktatóanyag lépései a CentOS 6 32 bites és 64 bites verzióján is működnek.

Előfeltételek

Győződjön meg arról, hogy a tar telepítve van. Használjuk az ioping tarball fájl kibontására.

yum install tar

Telepítés

Create and navigate to the directory where ioping will be installed.

cd ~
mkdir ioping
cd ioping

Download the installation file using wget. We will be using version 0.6 from their Google Code repository. If you are looking for a newer version, visit their GitHub repository.

wget https://ioping.googlecode.com/files/ioping-0.6.tar.gz

Extract the tarball file.

tar -xzvf ioping-0.6.tar.gz

Enter the directory and compile ioping.

cd ioping-0.6
make ioping

Usage

Ioping has a list of built-in commands. Run ioping without any arguments to show the list.

ioping

To show sequential latency, enter the following command.

ioping -R /dev/sda

To determine the latency of the entire drive, run this command.

ioping -c 10 /

See the ioping documentation for more examples of measuring IO stats.

Hagyj kommentárt

Blog