I have written two scripts-one to stress the system and one to run vmstat
etc. I am able to get the file outputs for vmstat
etc but am not able to get the ones for stress
as it tells me that the file cannot be found no matter how much I tweak the pathname.
Is it therefore possible to run stress
at the same time as vmstat
etc? What I want is a before and after picture of the system under stress which I can graph.
Which of these is the best option(or only option) to do this:
- run
vmstat
etc, then runstress
, then runvmstat
etc to compare? - run
vmstat
andstress
within the same script? - run
stress
and get the output to file(if this is even possible?)