# S801RPRF.def: Samples Performance Information (root privileges required) # $Id: S801RPRF.def,v 1.11 2009/01/14 07:56:32 ldens Exp $ # ARCS: $Header: /u02/webapps/workbench/cvs/RDA_4/src/scripting/lib/modules/S801RPRF.def,v 1.11 2009/01/14 07:56:32 ldens Exp $ # # Change History # 20090114 LDE Change the copyright notice. =head1 NAME S801RPRF - Samples Performance Data (root privileges required) =head1 DESCRIPTION This module performs the operating system performance data sampling for the RDA process. Root privileges are required to use this module. =cut # Only execute the module in sampling mode as root if !match(id(),'^uid=0\(') return if !getSetting('SMPL_CURRENT') return # Initialization var $RPRF_FACTOR = getSetting('RPRF_FACTOR',1) var $TOC = '%TOC%' var $TOP = '[[#Top][Back to top]]' =head2 System Performance Gets a performance overview (platform-specific code). =cut run &{check(getOsName(),\ 'aix', 'BCaix',\ 'darwin', 'BCdarwin',\ 'dec_osf', 'BCosf',\ 'dynixptx', 'BCptx',\ 'hpux', 'BChpux',\ 'linux', 'BClinux',\ 'solaris', 'BCsunos',\ cond(isUnix(), 'BCunix',\ isWindows(), 'BCwin32'))}('RPRF',$RPRF_FACTOR) =head1 SEE ALSO L, L, L, L, L, L, L, L, L =begin credits =over 10 =item RDA 4.1: John Peeken. =back =end credits =head1 COPYRIGHT NOTICE Copyright (c) 2002-2009, Oracle. All rights reserved. =head1 TRADEMARK NOTICE Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. =cut