69 unit of measure.
70
71
72 -v
73 Print verbose output. Display output as pmap(1) does, showing
74 what advice is being applied where. This can be useful when the
75 advice is being applied to a named region (for example, private,
76 shared, and so forth) to get feedback on exactly where the advice
77 is being applied.
78
79
80
81 pmadvise tries to process all legal options. If an illegal address
82 range is specified, an error message is printed and the offending
83 option is skipped. pmadvise quits without processing any options and
84 prints a usage message when there is a syntax error.
85
86
87 If conflicting advice is given on a region, the order of precedence is
88 from most specific advice to least, that is, most general. In other
89 words, advice specified for a particuliar address range takes
90 precedence over advice for heap and stack which in turn takes
91 precedence over advice for private and shared memory.
92
93
94 Moreover, the advice in each of the following groups are mutually
95 exclusive from the other advice within the same group:
96
97 MADV_NORMAL, MADV_RANDOM, MADV_SEQUENTIAL
98 MADV_WILLNEED, MADV_DONTNEED, MADV_FREE, MADV_PURGE
99 MADV_ACCESS_DEFAULT, MADV_ACCESS_LWP, MADV_ACCESS_MANY
100
101
102
103 OPERANDS
104 The following operands are supported:
105
106 pid
107 Process ID.
108
109
110 EXAMPLES
111 Example 1 Applying Advice to a Segment at Specified Address
|
69 unit of measure.
70
71
72 -v
73 Print verbose output. Display output as pmap(1) does, showing
74 what advice is being applied where. This can be useful when the
75 advice is being applied to a named region (for example, private,
76 shared, and so forth) to get feedback on exactly where the advice
77 is being applied.
78
79
80
81 pmadvise tries to process all legal options. If an illegal address
82 range is specified, an error message is printed and the offending
83 option is skipped. pmadvise quits without processing any options and
84 prints a usage message when there is a syntax error.
85
86
87 If conflicting advice is given on a region, the order of precedence is
88 from most specific advice to least, that is, most general. In other
89 words, advice specified for a particular address range takes precedence
90 over advice for heap and stack which in turn takes precedence over
91 advice for private and shared memory.
92
93
94 Moreover, the advice in each of the following groups are mutually
95 exclusive from the other advice within the same group:
96
97 MADV_NORMAL, MADV_RANDOM, MADV_SEQUENTIAL
98 MADV_WILLNEED, MADV_DONTNEED, MADV_FREE, MADV_PURGE
99 MADV_ACCESS_DEFAULT, MADV_ACCESS_LWP, MADV_ACCESS_MANY
100
101
102
103 OPERANDS
104 The following operands are supported:
105
106 pid
107 Process ID.
108
109
110 EXAMPLES
111 Example 1 Applying Advice to a Segment at Specified Address
|