Sponsored Content
Top Forums UNIX for Dummies Questions & Answers hardware monitoring on unix servers (Sun and Bull AIX) Post 45996 by VeroL on Wednesday 7th of January 2004 07:34:35 AM
Old 01-07-2004
Thank you very much. I'm gonna have a look at all that.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

lm_sensors? hardware monitoring?

ok ok ok, this is my third post on the day I become a member. I should stop. I'm sure all my questions are in the wrong forums. I'm sorry. my question is about lm_sensors, and hardware monitoring. I have the goods, lm_sensors.tar.gz, and i2c.tar.gz and I'm rather confusled. could someone... (2 Replies)
Discussion started by: plusran
2 Replies

2. AIX

AIX and SUN unix commands for hardware monitoring

Hello again, I would like to know if the following commands: diag, errpt, lscfg, lspv, lsvg, lsps, lslv for AIX and prtdiag, psrinfo, sysdef for SUN are native to these systems or if they are in fact scripts that are added after the unix installation. Thank you in advance. Have a nice day (4 Replies)
Discussion started by: VeroL
4 Replies

3. UNIX for Advanced & Expert Users

AIX / bull Dynamic System Partitions

Hi does any body knows some usefull oneline ressources about systemp partitioning ? A FaQ would be perfect... thanks (0 Replies)
Discussion started by: pinguis
0 Replies

4. UNIX for Advanced & Expert Users

MOnitoring Software for Unix servers

Guys, I need a monitoring software for my Unix servers. Over the last couple of years, the number has increased to well over 40 servers. All have different applications running on them and it is impossible to go to everyone of them and do checks. I was using Spotlight on Unix. I was... (1 Reply)
Discussion started by: jair
1 Replies

5. UNIX for Dummies Questions & Answers

Hardware monitoring free tool

Folks; What is a good free tool i can use on my SUSE10 to monitor the hardware so i can be notified in case of any failure such as fan failure, etc..? (2 Replies)
Discussion started by: Katkota
2 Replies

6. Solaris

Which company's hardware is more stable, in case of IBM (AIX), HP (HPUX) & Sun (Solaris)

Hi guru I want to know which company's hardware is more stable means in term of H/W faults or replacement, in case of IBM (AIX), HP (HPUX) & SUN MICROSYSTEM (Solaris) & which order also, if we go through more stable to less stable system. Regards (1 Reply)
Discussion started by: girish.batra
1 Replies

7. Windows & DOS: Issues & Discussions

windows server hardware monitoring

:wall:hi all, as hp support pack has hpasm, hpacu command using in linux server to show and monitor hareware status. hpacu command was avaialbe in windows server also, but where can find hpasm command in windows, it looks hp support pack not support hpasm in windows. any one can help? an... (1 Reply)
Discussion started by: maxlee24
1 Replies

8. Shell Programming and Scripting

Script to check if SQLLDR has been installed on Unix/Aix servers

How can i check if sqlldr has been installed on my AIX/UNIX mechine? Is there any unix script to check this one out.... (0 Replies)
Discussion started by: msrahman
0 Replies

9. Shell Programming and Scripting

Performance Monitoring script for UNIX servers

Hi, I have been working on writing an automated script that will run 24x7 to monitor the performance parameters like CPU,Memory,Disk I/O,Network,SWAP Space etc for all types of Unix servers ( HP-UX,AIX,SOLARIS,LINUX). Problem is I am confused with the commands top,prstat,vmstat,free,sar etc.... (4 Replies)
Discussion started by: ssk250
4 Replies
RoPkg::Object(3pm)					User Contributed Perl Documentation					RoPkg::Object(3pm)

NAME
RoPkg::Object VERSION
0.3.2 DESCRIPTION
RoPkg::Object is a general pourpose module, designed for Get/Set objects on which you don't want to spend your time writing annoying Get/Set methods. The primary use of the module is to be a base class. SYNOPSIS
package RoPkg::Person; use strict; use warnings; use RoPkg::Object; use base qw(RoPkg::Object); $pf = { FirstName => 'A person first name', LastName => 'A person last name' }; sub new { my ($class, %opt) = @_; my $self; $self = $class->SUPER::new(%opt); $self->{methods} = $pf; $self->_inject(); return $self; } 1; tester.pl #!/usr/bin/perl use strict; use warnings; use English qw(-no_match_vars); use RoPkg::Person; sub main { my $p = new RoPkg::Person(); $p->FirstName('John'); $p->LastName('Doe'); print $p->FirstName,' ',$p->LastName,$RS; } main(); SUBROUTINES
/METHODS All methods (besides new()) raise OutsiteClass exception if called outside a class instance. Each method, may raise other exceptions. Please read the documentation of that method for aditional information. new() The class contructor. At this moment the constructor does nothing (besides bless). key($value) Search into methods list for a entry those value is $value. Returns the method name or 0 if such a method was not found. methods() In list context this method will return a list of method names. In scalar context returns just the number of methods. Please note that only the valid methods are considered (tested with can($method_name)). chkp(@plist) Check the current object if the parameters specified in the list are defined. If a parameter is not defined a Param::Missing exception is raised. SUBCLASSING
As said before, this module is specially used as a base class for those objects with many SET/GET methods. How can you use this class in your project ? As seen in the SYNOPSIS, when you create the new class, in the class constructor you call for $self->_inject method, who create (at runtime) the new methods. The list of methods who are gonna be created is actually a hash reference. A method can be specified like this: FirstName => q{-} This means, that _inject will create a get/set method named FirstName. There are some key values with special meaning: *) __exclude__ - the method with this value will not be created by _inject *) q{} - the method with this value will not be created by _inject If a existing method is available in the class and is also included in the list of methods who will be created by _inject, that method will be ignored by _inject. Each method created by _inject() has the following code: sub { my ($self, $pval) = @_; if ( !blessed($self) ) { OutsideClass->throw('Called outside class instance'); } if ( defined $pval) { $self->{$method_name} = $pval; } return $self->{$method_name}; }; DEPENDENCIES
RoPkg::Object require perl 5.008 or later and the Scalar::Util module. To run the tests you also need: *) Test::More *) Test::Pod *) Test::Pod::Coverage DIAGNOSTICS
This module is subject of tests. To run those tests, unpack the source and use the following command: make test CONFIGURATION AND ENVIRONMENT
This module does not use any configuration file or environment variables. INCOMPATIBILITIES
None known to the author BUGS AND LIMITATIONS
No known bugs. If you find one please send a detailed report to me. Please note that the methods are not automatically created. One must manual call (inside the child object) the method who "injects" the new methods. PERL CRITIC
This module is perl critic level 1 compliant with 2 exceptions. AUTHOR
Subredu Manuel <diablo@iasi.roedu.net> LICENSE AND COPYRIGHT
Copyright (C) 2005 Subredu Manuel. All Rights Reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The LICENSE file contains the full text of the license. perl v5.8.8 2006-06-09 RoPkg::Object(3pm)
All times are GMT -4. The time now is 11:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy