On 11 Dec 2009, at 11:43, Tim Small wrote: >> Looks like sar isn't configured for this at the minute, I'll see >> if I can sort >> that out > > I'm not sure how frequently sar collects data, but I think you'll > probably want something to collect it at 1-second or less granularity
In Debian's case statistics is collected and saved every 10 minutes by a wrapper called "sa1". To get block device activity you should pass "-d" to the "sadc" that sa1 calls. It's done differently on Debian and Suse Linux, don't know how exactly it's done in RedHat though. > e.g. "vmstat 1", or (probably better) dstat. dstat also has various > plugins which you may want to investigate - including a good NFS > plugin. As far as I understand they all pull data from the same place. "sar" analyses data saved by sadc in a binary format, and by default reads the one saved by crontab calls to sa1, which happens every 10 seconds. You can run sadc with all parameters you want to monitor with 1sec granularity and store it in some other file (not the default location), then use sar or even better sadf to analyse saved data. If I remember correctly sadc (and hence sar) can show network statistics as well. Misha. --- Vanush "Misha" Paturyan Senior Technical Officer Computer Science Department NUI Maynooth _______________________________________________ Linux-PowerEdge mailing list [email protected] https://lists.us.dell.com/mailman/listinfo/linux-poweredge Please read the FAQ at http://lists.us.dell.com/faq
