Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gstat(8) [freebsd man page]

GSTAT(8)						    BSD System Manager's Manual 						  GSTAT(8)

gstat -- print statistics about GEOM disks SYNOPSIS
gstat [-abcdop] [-f filter] [-I interval] DESCRIPTION
The gstat utility can be used to monitor I/O transactions of geom(4) devices. The options are as follows: -a Only display providers that are at least 0.1% busy. -b Batch mode. Collect numbers, print and exit. Default if stdout is not a tty. -c Enable display of geom(4) consumers too. The default is to show statistics only for geom(4) producers. -d Enable display of statistics for delete (BIO_DELETE) operations. -f filter A regular expression that can be used to only show statistics for some devices. Only devices with the names matching filter will be displayed. The format of the regular expression is described in re_format(7). -o Enable display of statistics for other operations (BIO_FLUSH). -I interval Refresh the gstat display every interval microseconds. Adding a suffix of s, ms, or us (the default) indicates that the update interval is specified in seconds, milliseconds, or microseconds, respectively. -p Only display physical providers (those with rank of 1). EXIT STATUS
The gstat utility exits 0 on success, and >0 if an error occurs. SEE ALSO
systat(1), geom(4), iostat(8), vmstat(8) HISTORY
A gstat utility appeared in FreeBSD 5.0. BSD
July 3, 2014 BSD

Check Out this Related Man Page

CTLSTAT(8)						    BSD System Manager's Manual 						CTLSTAT(8)

ctlstat -- CAM Target Layer statistics utility SYNOPSIS
ctlstat [-t] [-c count] [-C] [-d] [-D] [-j] [-l lun] [-n numdevs] [-w wait] DESCRIPTION
The ctlstat utility provides statistics information for the CAM Target Layer. The first display (except for dump and JSON modes) shows aver- age statistics since system startup. Subsequent displays show average statistics during the measurement interval. The options are as follows: -t Total mode. This displays separate columns with the total CTL read and write output, and a combined total column that also includes non I/O operations. -c count Display statistics this many times. -C Disable display of CPU statistics. -d Display DMA operation time (latency) instead of overall I/O time (latency). -D Text dump mode. Dump all available statistics every 30 seconds in a text format suitable for parsing. No statistics are com- puted in this mode, only raw numbers are displayed. -h Suppress display of the header. -j JSON dump mode. Dump all available statistics every 30 seconds in JavaScript Object Notation (JSON) format. No statistics are computed in this mode, only raw numbers are displayed. -l lun Request statistics for the specified LUN. This option is incompatible with total (-t) mode. -n numdevs Display statistics for this many devices. -w wait Wait this many seconds in between displays. If this option is not specified, ctlstat defaults to a 1 second interval. EXAMPLES
ctlstat -t Display total statistics for the system with a one second interval. ctlstat -d -l 5 -C Display average DMA time for LUN 5 and omit CPU utilization. ctlstat -n 7 -w 10 Display statistics for the first 7 LUNs, and display average statistics every 10 seconds. SEE ALSO
cam(3), cam(4), ctl(4), xpt(4), camcontrol(8), ctladm(8), iostat(8) AUTHORS
Ken Merry <> Will Andrews <> BSD
March 6, 2013 BSD
Man Page

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

list the field only once

Hi when I do dtrace -l | awk '{print $2}' I get a list of providers. Some of them are similar providers. I want to receive only once the same provide name. Is there a way to do it? thx (2 Replies)
Discussion started by: melanie_pfefer
2 Replies

2. UNIX for Dummies Questions & Answers

Read from a file then filter the output

Hi i need a script which reads a certain file and then display it on the screen. The thing is i need to filter the display output. this is an example of the file which is to be loaded in the script. asdfg1.1.1|98 hjkldfe4.0.3|123 asdzxzvdweradfsdafascv10.0.10|123456789... (1 Reply)
Discussion started by: khestoi
1 Replies

3. Shell Programming and Scripting

compare the interval of 2 numbers of input2with interval of several numbers of input1

Help plz Does any one have any idea how to compare interval ranges of 2 files. finding 1-4 (1,2,3,4) of input2 in input1 of same key "a" values (5-10, 30-40, 45-60, 80-90, 100-120 ). Obviously 1-4 is not one of the range with in input1 a. so it should give out of range. finding 30-33(31,32,33)... (1 Reply)
Discussion started by: repinementer
1 Replies

4. Red Hat

HELP: NMON unable to display all the statistic specified via putty

Hi guys, I got this problem with NMON unable to display all the statistics specified via putty. I believe this is due to libncurses rather than NMON and also the env variable $TERM. Currently, the $TERM is set to "xterm" which should be compatible with NMON display. Is there any ways that... (0 Replies)
Discussion started by: DrivesMeCrazy
0 Replies

5. UNIX for Dummies Questions & Answers

xWindows error: xhost unable to open display

I am trying to direct a AIX display to my XWindows and I am at a dead end now! So this what I've done so far: 1. In putty settings, I set "Enable X11 forwarding" and also set "X diplay location" to "localhost:0" (without quotes, of course) 2. Via putty, connected to my AIX server 3. On... (1 Reply)
Discussion started by: shoefiend
1 Replies

6. Red Hat


what does the fields in /etc/cron.d/systat mean? my systat file contains # Run system activity accounting tool every 10 minutes */10 * * * * root /usr/lib/sa/sa1 -S DISK 1 1 # 0 * * * * root /usr/lib/sa/sa1 -S DISK 600 6 & # Generate a daily summary of process accounting at 23:53 53 23 * *... (9 Replies)
Discussion started by: farash
9 Replies

7. UNIX for Beginners Questions & Answers

Hour display format

Hello Sir/Madam, I'm using Putty utility to run a shell script. I found HOUR display in two positions in UNIX. Is it possible to display in four positions? File name example: my file name is: HourlyData_20160708_1400.txt I'm in the process of comparing current date and time with the file... (15 Replies)
Discussion started by: V1l1h1
15 Replies

8. Shell Programming and Scripting

Problem with gstat and octal value

Here are a few lines from my script. The problem I am having is that the statement for gstat returns this error: line 43: The statement is coming from gstat. Is there a way to fix it? Apparently -eq 02 is coming up as some octal value, I need it to be recognized as 02. Apparently in... (4 Replies)
Discussion started by: newbie2010
4 Replies