Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.naic.edu/~phil/aosoft/profiletape.html
Дата изменения: Thu Nov 4 00:00:09 2010 Дата индексирования: Tue Oct 2 06:51:16 2012 Кодировка: Поисковые слова: millennium |
profiletape is a program to read a tape and output the record lengths and number of records for each file on the tape. The tape is read until two consecutive eofs are found. The program queries the user for the device name for the input tape (unless the -i option is used). The output is sent to stdout (or the file specified by the -o option).
The output consists of the current date and optional tape label followed by the information from each file on tape. For each file, the length of each record is printed out. Contiguous records with the same record length will be output as one line with the record count and record length.
To profile a tape on /dev/nrmt8, send the output to junk.out, and print AO2345 as the tape name on the header use:
To profile a tape where the program prompts for the tape name and the output goes to the screen use:
~phil/util/profiletape.c location of source code
The program can read a maximum record length of 64k-1 bytes. You may have problems with the idiosyncracies of certain unix tape drives (exabyte, cartridge).
Content-type: text/html