SG_RBUF(8) SG3_UTILS SG_RBUF(8) (NAME) sg_rbuf - READ BUFFER SCSI (SYNOPSIS) sg_rbuf [--buffer=EACH] [--dio] [--help] [--mmap] [--quick] [--size=OVERALL] [--verbose] [--version] DEVICE sg_rbuf [-b=EACH_KIB] [-d] [-m] [-q] [-s=OVERALL_MIB] [-t] [-v] [-V] DEVICE (DESCRIPTION) SCSI READ BUFFER . (cache) . ( SCSI ) . SCSI . SCSI READ BUFFER sg_read_buffer . sg_write_buffer (firmware) . . . DEVICE sg ( <</dev/sg1>>). sg_read_buffer bsg ( <</dev/sdc>>) . (OPTIONS) . -b, --buffer=EACH EACH READ BUFFER . READ BUFFER () . . -d, --dio / (direct IO) . DEVICE sg ( /dev/sg1). sg DMA SCSI . . / . -h, --help . -m, --mmap / (memory mapped IO) . DEVICE sg ( /dev/sg1). sg DMA SCSI . . -O, --old . . -q, --quick ( DMA SCSI) . DEVICE sg ( /dev/sg1). -s, --size=OVERALL OVERALL . (200*1024*1024 ) . ( ). -t, --time . . <> . gettimeofday() . -v, --verbose . . -V, --version . (NOTES) SCSI RAM . / Flash RAM SCSI . DMA HBA ( RAM) . ( OVERALL) . <> sg3_utils(8) . (EXAMPLES) /dev/sg0 U2W SCSI ( ). . $ time ./sg_rbuf /dev/sg0 READ BUFFER reports: buffer capacity=3434944, offset boundary=6 Read 200 MiB (actual 199 MiB, 209531584 bytes), buffer size=3354 KiB real 0m5.072s, user 0m0.000s, sys 0m2.280s . -q . $ time ./sg_rbuf -q /dev/sg0 READ BUFFER reports: buffer capacity=3434944, offset boundary=6 Read 200 MiB (actual 199 MiB, 209531584 bytes), buffer size=3354 KiB real 0m2.784s, user 0m0.000s, sys 0m0.000s (EXIT STATUS) sg_rbuf . sg3_utils(8) . (OLDER COMMAND LINE OPTIONS) . sg3_utils . --old ( -O) . << >> . -b=EACH_KIB EACH_KIB ( ) READ BUFFER . --buffer=EACH . -d / . --dio . -m / . --mmap . -N, --new . -q ( DMA SCSI) . --quick . -s=OVERALL_MIB OVERALL_MIB ( ) . --size=OVERALL . -t . --time . -v . . -V . (ENVIRONMENT VARIABLES) . sg3_utils SG3_UTILS_OLD_OPTS . . --old ( -O) . (AUTHOR) Douglas Gilbert (REPORTING BUGS) . (COPYRIGHT) (C) 2000-2017 Douglas Gilbert GPL . . (SEE ALSO) sg_read_buffer(8), sg_write_buffer(8), sg_test_rwbuf(8) ( sg3_utils) sg3_utils-1.43 October 2017 SG_RBUF(8)