AT&T UNIX™PC Unix System V Users Manual - tenox
AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox
PR {l) -ok -lk -h PR {l) Offset each line by k character positions (default is 0). The number of character positions per line is the sum of the width and offset. Set the length of a page to k lines (default is 66). Use the next argument as the header to be printed instead of the file name. -p Pause before beginning each page if the output is directed to a terminal (pr will ring the bell at the terminal and wait for a carriage return). -f Use form-feed character for new pages (default is to use a sequence of line-feeds). Pause before beginning the first page if the standard output is associated with a terminal. -r Print no diagnostic reports on failure to open files. -t Print neither the five-line identifying header nor the fiveline trailer normally supplied for each page. Quit printing after the last line of each file without spacing to the end of the page. -sc Separate columns by the single character c instead of by the appropriate number of spaces (default for c is a tab). EXAMPLES Print filel and file2 as a double-spaced, three-column listing headed by "file list": pr -3dh "file list" filel file2 Write filel on file2, expanding tabs to columns 10, 19, 28, 37, ... � pr -e9 -t file2 FILES /devftty• to suspend messages SEE ALSO cat(1). - 2-
PROF ( 1) PROF ( 1) NAME prof - display profile data SYNOPSIS prof [-tcan] [-ox] [-g] [-z] [-h] [-s] [-m mdata] [prog] DESCRIPTION Prof interprets the profile file produced by the monitor(3C) function. The symbol table in the object file prog (a.out by default) is read and correlated with the profile file (mon.out by default). For each external text symbol the percentage of time spent executing between the address of that symbol and the address of the next is printed, together with the number of times that function was called and the average number of milliseconds per call. The mutually exclusive options t, c, a, and n determine the type of sorting of the output lines: -t Sort by decreasing percentage of total time (default). -c Sort by decreasing number of calls. -a Sort by increasing symbol address. -n Sort lexically by symbol name. The mutually exclusive options o and x specify the printing of the address of each symbol monitored: -o Print each symbol address (in octal) along with the symbol name. -x Print each symbol address (in hexadecimal) along with the symbol name. The following options may be used in any combination: -g Include non-global symbols (static functions). -z Include all symbols in the profile range (see monitor(3C)), even if associated with zero number of calls and zero time. -h Suppress the heading normally printed on the report. (This is useful if the report is to be processed further.) -s Print a summary of several of the monitoring parameters and statistics on the standard error output. -m mdata Use file mdata instead of mon.out for profiling data. For the number of calls to a function to be tallied, the -p option of cc(l) must have been given when the file containing the function was compiled. This option to the cc command also arranges for the object file to include a special profiling start-up function that calls monitor(3C) at the beginning and end of execution. It is the call to monitor at the end of execution that causes the mon.out file to be written. Thus, only programs that call exit(2) or return from main will cause the mon.out file to be produced. FILES mon.out for profile a.out for namelist - 1-
- Page 421 and 422: MAKE(l) MAKE(l) NAME make - maintai
- Page 423 and 424: MAKE ( I) MAKE (l) MAKEFLAGS macro
- Page 425 and 426: MAKE(l) MAKE (I) .C .C - .Sh .sh- .
- Page 427 and 428: MAKE (l) MAKE (l) In the above exam
- Page 429 and 430: MAKEKEY (l) (Domestic Version Only
- Page 431 and 432: MESG ( 1) MESG ( 1) NAME mesg - per
- Page 433 and 434: MESSAGE( ! ) ( AT&T UNIX PC only )
- Page 435: MKDIR (l) MKDIR (l) NAME mkdir - ma
- Page 438 and 439: MM (l) HINTS MM (l) Mm reads the st
- Page 440 and 441: i�
- Page 442 and 443: MORE(l) MORE (l) stand-out mode, mo
- Page 444 and 445: MORE( I) MORE(l) The terminal is se
- Page 446 and 447: NEWFORM ( l ) -ck -pn -an NEWFORM (
- Page 449: NEWGRP ( I ) NEWGRP ( I ) NAME newg
- Page 452 and 453: � ', y n \,..._ --
- Page 454 and 455: NL(l) NL(l) -ssep Sep is the charac
- Page 456 and 457: NM (l) FILES NM ( l ) -V Print the
- Page 459 and 460: NROFF(l) NROFF(l) NAME nroff - form
- Page 461 and 462: OD (1) OD (1) NAME od - octal dump
- Page 463 and 464: PACK ( 1) PACK( l ) NAME pack, peat
- Page 465: PASSWD ( l ) PASSWD ( l ) NAME pass
- Page 468 and 469: PASTE (l) PASTE (l) pr(l): pr -t -
- Page 471: PR (l) PR (l) NAME pr - print files
- Page 475 and 476: PRS ( l ) PRS ( l ) NAME prs - prin
- Page 477 and 478: PRS ( 1 ) PRS ( 1 ) TABLE 1 (Contin
- Page 479 and 480: PS ( l ) PS ( l ) NAME ps - report
- Page 481: PS (l) PS (l) WCHAN (1) The event f
- Page 484 and 485: PTX ( 1) PTX ( 1) SEE ALSO nroff( l
- Page 487 and 488: REGCMP ( 1 ) REGCMP (l) NAME regcmp
- Page 489: RM ( l ) RM (l) NAME rm, rmdir - re
- Page 492 and 493: I�
- Page 495: SCCSDIFF ( 1 ) SCCSDIFF ( 1 ) NAME
- Page 499 and 500: SDB ( l ) SDB ( 1) NAME sdb - symbo
- Page 501 and 502: � I SDB ( 1) SDB ( 1) file may ov
- Page 503 and 504: SDB ( 1) SDB ( 1) e directory file-
- Page 505 and 506: SDB ( 1 ) SDB ( 1 ) execution. B Pr
- Page 507: SDB ( 1 ) SDB ( 1 ) WARNINGS BUGS W
- Page 510 and 511: SDIFF ( 1) SDIFF(l) On exit from th
- Page 512 and 513: SED ( 1) SED ( 1) In the following
- Page 515 and 516: SETPRINT ( 1 ) SETPRINT ( 1 ) NAME
- Page 517 and 518: -� SH ( l ) NAME SH ( l ) sh, rsh
- Page 519 and 520: SH ( 1 ) SH(l) positional parameter
- Page 521 and 522: SH ( 1 ) word >> word
PR {l)<br />
-ok<br />
-lk<br />
-h<br />
PR {l)<br />
Offset each line by k character positions (default is 0).<br />
The number of character positions per line is the sum of<br />
the width and offset.<br />
Set the length of a page to k lines (default is 66).<br />
Use the next argument as the header to be printed instead<br />
of the file name.<br />
-p Pause before beginning each page if the output is directed<br />
to a terminal (pr will ring the bell at the terminal and<br />
wait for a carriage return).<br />
-f Use form-feed character for new pages (default is to use a<br />
sequence of line-feeds). Pause before beginning the first<br />
page if the standard output is associated with a terminal.<br />
-r Print no diagnostic reports on failure to open files.<br />
-t Print neither the five-line identifying header nor the fiveline<br />
trailer normally supplied for each page. Quit printing<br />
after the last line of each file without spacing to the end<br />
of the page.<br />
-sc Separate columns by the single character c instead of by<br />
the appropriate number of spaces (default for c is a tab).<br />
EXAMPLES<br />
Print filel and file2 as a double-spaced, three-column listing<br />
headed by "file list":<br />
pr -3dh "file list" filel file2<br />
Write filel on file2, expanding tabs to columns 10, 19, 28, 37, ...<br />
�<br />
pr -e9 -t file2<br />
FILES<br />
/devftty• to suspend messages<br />
SEE ALSO<br />
cat(1).<br />
- 2-