Manual pages › System administration commands (1M)
sadp(1M)
disk access profiler
From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.
NAME
sadp - disk access profiler
SYNOPSIS
sadp [ -th ] [ -d device[-drive] ] s [ n ]
DESCRIPTION
sadp reports disk access location and seek distance, in tabular or histogram form. It samples disk activity once every second during an interval of s seconds. This is done n times if n is specified. Cylinder usage and disk distance are recorded in units of 8 cylinders.
Valid values of device are hdsk for integral disk, sdsk for the Small Computer Systems Interface (SCSI) disk, and fdsk for integral floppy. Neither XDC disks nor SCSI Release 1.0 disks can be profiled using sadp. sadp can profile only one device type per invocation. The -d option may be omitted if the system has only one device type.
Drive specifies the disk drives and it may be:
a drive number in the range supported by device,
two numbers separated by a minus (indicating an
inclusive range),
or
a list of drive numbers separated by commas.
Up to 8 disk drives may be reported for device type hdsk or fdsk, and up to 56 for sdsk. If drive is not specified, sadp profiles all the disk drives specified by device, up to the maximum of 8 for hdsk and fdsk, or 56 for sdsk.
The -t flag causes the data to be reported in tabular form. The -h flag produces a histogram of the data. The default is -t.
EXAMPLE
The command:
sadp -d hdsk-0 900 4
will generate four tabular reports, each describing cylinder usage and seek distance of hdsk disk drive 0 during a 15-minute interval.
FILES
/dev/kmem
SEE ALSO
mem(7).