System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to use iostat for 24 hrs

SOLVED
Go to solution
Shehan
Super Advisor

How to use iostat for 24 hrs

Hi

I want to run "iostat" command to measure disk IO stat.I am about to plan for running it 24 hrs. Please let me know how to shedule this for 24 hrs ?

Regards
Nirukshitha
3 REPLIES
Kapil Jha
Honored Contributor

Re: How to use iostat for 24 hrs

#nohup iostat -t 10 8640 >file_to_save &

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Shehan
Super Advisor

Re: How to use iostat for 24 hrs

Hi

Thanks for the reply.

Do this harm to server performance ?

What does "t" do in here ?

What is the parameters to see for current/average queue length?

Regards
Nirukshitha
Kapil Jha
Honored Contributor
Solution

Re: How to use iostat for 24 hrs

>>Do this harm to server performance ?
Depends upon your current performance but not much.

>>What does "t" do in here ?
from man page
-t Report terminal statistics as well as disk (or lunpath) statistics. When used with the -L option,lunpath and terminal statistics are displayed.

for Q length i am not sure if iostat does give the info, for that you may have to use glance.

BR,
Kapil+

I am in this small bowl, I wane see the real world......