Linux interview questions (iostat and dstat command in linux os):
what is the differnece between Iostat and dstat command in
linux os?
iostat :
which is used to display the, how many disk are attached
into the linux os
its displays the red per second write per second ,kb_read
kb_write and tps .
mean time it will display the avg-cpu (
its shows user ,nice ,system idle and iowait value)..
linux os?
iostat :
which is used to display the, how many disk are attached
into the linux os
its displays the red per second write per second ,kb_read
kb_write and tps .
mean time it will display the avg-cpu (
its shows user ,nice ,system idle and iowait value)..
if you want to increase the disk size , so we can execute the
command like as the
seq 99999 > /mnt/text. File &
after executing this command , now the disk sized increasing
(iostat command)
I want to print the state of every single second of
ll minutes
iostat -xmt 1 11 command
Now its executing like this way...
In this way we can get those information's
dstat command in linux so:
which is used to display the total -cpu -usage ,
total disk usage , total network usage and paging ,system details
it will tell about disk read and write happening on per second
for the particular device
moreover if you want to check the disk
dstat -d command
Comments
Post a Comment