Use the -i option to put onstat in interactive mode. In interactive mode, you can enter multiple onstat options per session, but only one at a time. An onstat prompt appears and allows you to enter an option.
In interactive mode, do not precede the option with a dash.
Two additional options, r seconds and rz seconds, are available in interactive mode. The r seconds option is similar to the current onstat -r seconds option, which repeatedly generates a display. If an administrator executes r seconds at the interactive-mode prompt, the prompt changes to reflect the specified interval in seconds and reappears, waiting for the next command. In the following example, the display generated by the next command repeats every three seconds:
onstat> r 3 onstat[3]>
The rz seconds option enables you to repeat the next command as specified and set all profile counters to 0 between each execution.
To terminate interactive mode, press CTRL-d.
To terminate a repeating sequence, press CTRL-c.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]