Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #29
Difficulty: Medium
Computer hard disks were first introduced in 1956.
True or False?
Linux & Unix Commands - Search Man Pages

pxp(1) [bsd man page]

PXP(1)							      General Commands Manual							    PXP(1)

pxp - Pascal execution profiler SYNOPSIS
pxp [ -acdefjnstuw_ ] [ -23456789 ] [ -z [ name ... ] ] name.p DESCRIPTION
Pxp can be used to obtain execution profiles of Pascal programs or as a pretty-printer. To produce an execution profile all that is neces- sary is to translate the program specifying the z option to pi or pix, to execute the program, and to then issue the command pxp -z name.p A reformatted listing is output if none of the c, t, or z options are specified; thus pxp old.p > new.p places a pretty-printed version of the program in `old.p' in the file `new.p'. The use of the following options of pxp is discussed in sections 2.6, 5.4, 5.5 and 5.10 of the Berkeley Pascal User's Manual. -a Print the bodies of all procedures and functions in the profile; even those which were never executed. -c Extract profile data from the file core. -d Include declaration parts in a profile. -e Eliminate include directives when reformatting a file; the include is replaced by the reformatted contents of the specified file. -f Fully parenthesize expressions. -j Left justify all procedures and functions. -n Eject a new page as each file is included; in profiles, print a blank line at the top of the page. -s Strip comments from the input text. -t Print a table summarizing procedure and function call counts. -u Card image mode; only the first 72 characters of input lines are used. -w Suppress warning diagnostics. -z Generate an execution profile. If no names, are given the profile is of the entire program. If a list of names is given, then only any specified procedures or functions and the contents of any specified include files will appear in the profile. -_ Underline keywords. -d With d a digit, 2 <= d <= 9, causes pxp to use d spaces as the basic indenting unit. The default is 4. FILES
name.p input file name.i include file(s) pmon.out profile data core profile data source with -c /usr/share/pascal/how_pxpinformation on basic usage SEE ALSO
Berkeley Pascal User's Manual pi(1), px(1) DIAGNOSTICS
For a basic explanation do pxp Error diagnostics include `No profile data in file' with the c option if the z option was not enabled to pi; `Not a Pascal system core file' if the core is not from a px execution; `Program and count data do not correspond' if the program was changed after compilation, before profiling; or if the wrong program is specified. AUTHOR
William N. Joy BUGS
Does not place multiple statements per line. 3rd Berkeley Distribution PXP(1)

Check Out this Related Man Page

GENPROF(8)							     AppArmor								GENPROF(8)

aa-genprof - profile generation utility for AppArmor SYNOPSIS
aa-genprof <executable> [-d /path/to/profiles] OPTIONS
-d --dir /path/to/profiles Specifies where to look for the AppArmor security profile set. Defaults to /etc/apparmor.d. DESCRIPTION
When running aa-genprof, you must specify a program to profile. If the specified program is not a fully-qualified path, aa-genprof will search $PATH in order to find the program. If a profile does not exist for the program, aa-genprof will create one using aa-autodep(1). Genprof will then: - set the profile to complain mode - write a mark to the system log - instruct the user to start the application to be profiled in another window and exercise its functionality It then presents the user with two options, (S)can system log for entries to add to profile and (F)inish. If the user selects (S)can or hits return, aa-genprof will parse the complain mode logs and iterate through generated violations using logprof(1). After the user finishes selecting profile entries based on violations that were detected during the program execution, aa-genprof will reload the updated profiles in complain mode and again prompt the user for (S)can and (D)one. This cycle can then be repeated as neccesary until all application functionality has been exercised without generating access violations. When the user eventually hits (F)inish, aa-genprof will set the main profile, and any other profiles that were generated, into enforce mode and exit. BUGS
None. Please report any you find to bugzilla at <>. SEE ALSO
apparmor(7), apparmor.d(5), aa-enforce(1), aa-complain(1), change_hat(2), aa-logprof(1), logprof.conf(5), and <>. NOVELL
/SUSE 2008-06-11 GENPROF(8)

Featured Tech Videos