Ingres::Utility::IIMonitor

Ingres::Utility::IIMonitor is a Perl API to iimonitor Ingres RDBMS utility.
Download

Ingres::Utility::IIMonitor Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Joner Cyrre Worm
  • Publisher web site:
  • http://search.cpan.org/~worm/Ingres-Utility-IINamu-0.07/lib/Ingres/Utility/IINamu.pm

Ingres::Utility::IIMonitor Tags


Ingres::Utility::IIMonitor Description

Ingres::Utility::IIMonitor is a Perl API to iimonitor Ingres RDBMS utility. Ingres::Utility::IIMonitor is a Perl API to iimonitor Ingres RDBMS utility.SYNOPSIS use Ingres::Utility::IIMonitor; # create a connection to an IIDBMS server # (server id can be obtained through Ingres::Utility::IINamu) $foo = Ingres::Utility::IIMonitor->new($serverid); # showServer() - shows server status # # is the server listening to new connections? (OPEN/CLOSED) $status =$foo->showServer('LISTEN'); # # is the server being shut down? $status =$foo->showServer('SHUTDOWN'); # setServer() - sets server status # # stop listening to new connections $status =$foo->setServer('CLOSED'); # # start shutting down (wait for connections to close) $status =$foo->setServer('SHUT'); # stop() - stops IIDBMS server (transactions rolled back) # $ret = $foo->stop(); # showSessions($target,$mode) - prepares to get sessions info print $foo->showSessions('SYSTEM','FORMATTED'); # getSession() - get sessions call-after-call from previous showSessions() while (%session = $foo->getSession()) { print "Session ". $session{'SESSION_ID'} . ":n" foreach $label, $value (%session) { print "t$label:t$valuen" if ($label ne 'SESSION_ID'); } }This module provides an API to the iimonitor utility for Ingres RDBMS, which provides local control of IIDBMS servers and sessions (system and user conections). Requirements: · Perl · Expect::Simple


Ingres::Utility::IIMonitor Related Software