Configure the Resource Monitor Using staresmonadm
Use the staresmonadm
utility to configure the resource monitor
(Resmon).
Prerequisites
-
The Services Daemon must be running to use
staresmonadm
. -
The Oracle user path must be correctly configured.
Parameters
The staresmonadm
utility uses the parameters listed in
the table below. To enable, you must specify all required parameters. You can submit
as many parameters as you want in each staresmonadm
command line.
The utility only updates the parameters you specify. The unspecified parameters
remain at their current value.
Some settings (denoted by * in the table) require you to stop and restart the Services Daemon if you want the setting to take effect immediately. Otherwise these changes take effect as soon as the backup service wakes from its current sleep interval. See Services Daemon - Stop, Restart, or Show Status.
A value of "-1" indicates the parameter is not configured.
Table 4-2 staresmonadm Parameters
Name | Parameter | Description | Default Value |
---|---|---|---|
Query |
|
Display the current Resmon settings. |
None |
Clear |
|
Clear all Resmon settings and disable the service. |
None |
Verbose |
- |
Enables verbose mode, which displays detailed progress information for the command. |
None |
Help |
|
Displays complete syntax information for the command. |
None |
Daily report time (required) |
|
Time of day Resmon sends the Resource Report. Format
is The report is sent automatically every 24 hours at approximately this time. The actual time is immediately after the first server scan performed after this time. |
00:00 |
Scan Interval* (required) |
|
Time in seconds Resmon waits between scans. Valid entries: integers greater than 0. |
300 |
Alert nagging* |
|
Indicates whether Resmon sends alerts if it finds
that any high-water marks have been reached. Valid entries:
When enabled, Resmon sends alert reports whenever it performs a periodic scan and detects a resource has exceeded its high-water mark (as opposed to just sending during the daily report). |
off |
Database username* (required) |
|
Database username that the Resmon service uses to
perform queries against the This must be a user with full access to the STA database, either the STA database root user or the STA database administrator. |
blank |
Database password* (required) |
|
Password assigned to the database username. |
blank |
Database tablespace HWM* (required) |
|
High-water mark for the database tablespace, entered as a percentage of the total allocated. Valid entries: integers 0–100 Oracle recommends that usage never exceeds 80 percent. |
-1 |
Local backup HWM* (required) |
|
High-water mark for the STA database local backups
volume (for example, Oracle recommends that usage never exceeds 80 percent. |
-1 |
Database disk volume HWM* (required) |
|
High-water mark for the STA database volume (for
example, Oracle recommends that usage never exceeds 80 percent. |
|
Logging disk volume HWM* (required) |
|
High-water mark for the STA database logs volume
(default is Oracle recommends that usage never exceeds 80 percent. |
|
Root volume HWM* (required) |
|
High-water mark for the root volume
( Oracle recommends that usage never exceeds 80 percent. |
|
Tmp volume HWM* (required) |
|
High-water mark for the temporary directory volume
(default is Oracle recommends that usage never exceeds 80 percent. |
|
Physical memory (RAM) HWM* |
|
High-water mark for the total system memory (except virtual memory), entered as a percentage of the total allocated. Valid entries: integers 0 –100 Oracle recommends that usage never exceeds 80 percent. |
|
Email from* |
|
Name or email address that appears in the "From" field of emails sent by the Resmon service. |
|
Email recipients* (required) |
|
Email addresses to which Resmon sends the daily Resource Report and periodic Resource Depletion Alert Report. Entered as a colon-delimited list (such as . |
blank |
Email subject* |
|
Text string that appears in the "Subject" field of the standard daily report email, up to 128 characters. Enclose the text string in single-quotes (') or double-quotes (") if it contains spaces. A time stamp in |
STA Resource Monitor Report |
Output data file |
|
Absolute path of the Resource Report data file. The
file name must end in |
|