Re: **questions** Re: Tracking if disk is busy
Thanks for all the input, this puts us on track. Seems like considering snmp is probably our best bet based on our needs, but these other suggestions give lots of good info. Thanks. Matt Ruzicka - Senior Systems Administrator Front Range Internet, Inc. [EMAIL PROTECTED] - (970) 212-0728 On Fri, 23 Jun 2006, Nikos Vassiliadis wrote: On Friday 23 June 2006 01:12, Matt Ruzicka wrote: We've got a couple servers that appear to have particularly busy disks and I was trying to determine if there is a way to more easily poll this data for tracking. I'm not sure if this is one of those can't see the forest for the trees issues or not, but the only means that I am familiar with to see the percentage of time the disk is busy is to run 'systat -vmstat'. I was hoping for something more concise that I could run periodically and maybe even graph (realizing that watching this might well distort the results). It appears that iostat on Solaris gives this information, but I can't seem to mimic this functionality with FreeBSD. Are there other ways in FreeBSD to pull the percentage of time the disk is busy? gstat gives percentage load per (device|slice|partition) which is what I think you need. but it's written for interactive use, it issues commands to the terminal so you cannot have its output to file... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Tracking if disk is busy
On Friday 23 June 2006 01:12, Matt Ruzicka wrote: > We've got a couple servers that appear to have particularly busy disks and > I was trying to determine if there is a way to more easily poll this data > for tracking. > > I'm not sure if this is one of those can't see the forest for the trees > issues or not, but the only means that I am familiar with to see the > percentage of time the disk is busy is to run 'systat -vmstat'. I was > hoping for something more concise that I could run periodically and maybe > even graph (realizing that watching this might well distort the results). > > It appears that iostat on Solaris gives this information, but I can't seem > to mimic this functionality with FreeBSD. > > Are there other ways in FreeBSD to pull the percentage of time the disk is > busy? > gstat gives percentage load per (device|slice|partition) which is what I think you need. but it's written for interactive use, it issues commands to the terminal so you cannot have its output to file... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Tracking if disk is busy
Matt Ruzicka wrote: We've got a couple servers that appear to have particularly busy disks and I was trying to determine if there is a way to more easily poll this data for tracking. I'm not sure if this is one of those can't see the forest for the trees issues or not, but the only means that I am familiar with to see the percentage of time the disk is busy is to run 'systat -vmstat'. I was hoping for something more concise that I could run periodically and maybe even graph (realizing that watching this might well distort the results). It appears that iostat on Solaris gives this information, but I can't seem to mimic this functionality with FreeBSD. Are there other ways in FreeBSD to pull the percentage of time the disk is busy? You can use plain old vmstat to see blocks being transferred. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Tracking if disk is busy
> > In the last episode (Jun 22), Matt Ruzicka said: > > We've got a couple servers that appear to have particularly > busy disks > > and I was trying to determine if there is a way to more easily poll > > this data for tracking. > > > > I'm not sure if this is one of those can't see the forest for the > > trees issues or not, but the only means that I am familiar > with to see > > the percentage of time the disk is busy is to run 'systat > -vmstat'. I > > was hoping for something more concise that I could run periodically > > and maybe even graph (realizing that watching this might > well distort > > the results). > > > > It appears that iostat on Solaris gives this information, > but I can't > > seem to mimic this functionality with FreeBSD. > > iostat on -current and 6-stable has a Solaris-style -x mode > with a percent-busy column. > > -- Use : systat -vm 1 that will give you all the info u need, you can also try: systat -io 1 '%busy' ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Tracking if disk is busy
In the last episode (Jun 22), Matt Ruzicka said: > We've got a couple servers that appear to have particularly busy > disks and I was trying to determine if there is a way to more easily > poll this data for tracking. > > I'm not sure if this is one of those can't see the forest for the > trees issues or not, but the only means that I am familiar with to > see the percentage of time the disk is busy is to run 'systat > -vmstat'. I was hoping for something more concise that I could run > periodically and maybe even graph (realizing that watching this might > well distort the results). > > It appears that iostat on Solaris gives this information, but I can't > seem to mimic this functionality with FreeBSD. iostat on -current and 6-stable has a Solaris-style -x mode with a percent-busy column. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Tracking if disk is busy
Matt Ruzicka <[EMAIL PROTECTED]> wrote: > We've got a couple servers that appear to have particularly busy disks and > I was trying to determine if there is a way to more easily poll this data > for tracking. > > I'm not sure if this is one of those can't see the forest for the trees > issues or not, but the only means that I am familiar with to see the > percentage of time the disk is busy is to run 'systat -vmstat'. I was > hoping for something more concise that I could run periodically and maybe > even graph (realizing that watching this might well distort the results). > > It appears that iostat on Solaris gives this information, but I can't seem > to mimic this functionality with FreeBSD. > > Are there other ways in FreeBSD to pull the percentage of time the disk is > busy? If you instal net-snmp you can get various statistics via snmp. We use mrtg to graph them. Disk activity is but one. I haven't messed with the builtin snmp stuff that comes with 6.x, but I've got in on my list to investigate and see if it's ready to replace the net-snmp port. -- Bill Moran You will give me the Ring freely? In place of the Dark Lord you will set up a Queen. And I shall not be dark, but beautiful and terrible as the Morning and the Night! Fair as the Sea and the Sun and the Snow upon the Mountain! Dreadful as the Storm and the Lightning! Stronger than the foundations of the earth. All shall love me and despair! Galadriel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"