Sponsored Content
Operating Systems Solaris Sun M5000, xscf showdevices questions Post 302601394 by DukeNuke2 on Thursday 23rd of February 2012 02:18:48 PM
Old 02-23-2012
prove what?
 

10 More Discussions You Might Find Interesting

1. Solaris

M5000 servers - XSCF functions

Hi all A couple of new M5000 servers will be arriving soon and I need to work out how to configure the underlying domains. It will come with 4 x CPUS, 32 Gb of memory, 4 x HD, 2 x IOtrays. Reading the XSCF manual, I can configure the item into 2 domains, something about uni / quad xsb.... (9 Replies)
Discussion started by: sbk1972
9 Replies

2. Solaris

XSCF prompt disappeared, Sun M5000

Hi, I've got an issue here: After I logon to the xscf prompt of this Sun M5000 and did 'XSCF> version -c xcp', the xscf prompt disappeared. I can't get it back and can't log out. exit rebootxscf logout #. #> #> ~# ~# exit sendbreak exit I tried to set the Mode Switch to the service... (3 Replies)
Discussion started by: aixlover
3 Replies

3. Solaris

Sun M5K XSCF Mail Report Configuration Issue

Hi, I am now trying to setup XSCF mail reporting for a Sun M5K. There is no mail server here. Each Sun box is both its mail receiver and sender by using mailx. Mailx is working fine on this M5K. XSCF> setsmtp Mail Server : Port : Authentication Mechanism : Reply Address: What should I... (4 Replies)
Discussion started by: aixlover
4 Replies

4. UNIX for Advanced & Expert Users

Sun M5000 servers diaster recovery plan

Hi, We have two Sun M5000 systems. A is Oracle server and B is testing server. There are nine Solaris 10 zones set on A. SAN is connecting to A with ZFS configuration. Now we want to set B to be a backup server of A and make the two as identical as possible. No VERITAS cluster, no Solaris... (3 Replies)
Discussion started by: aixlover
3 Replies

5. Solaris

Sun M5000 hardware domain creation - How to keep current OS?

Hi, This Sun M5000 currently has a single domain (0) created. Solaris 10 is installed on this domain with some local zones. Now we need to add a secondary hardware domain (1) to this M5000. My question: Can we keep the current OS settings on domain 0 when adding the secondary domain 1? Thank... (5 Replies)
Discussion started by: aixlover
5 Replies

6. Hardware

Sun/Oracle M5000 Question

I have an M5K with disk issues I'm trying to troubleshoot, and it's causing me some confusion. I know the host has four on-board HDDs, but the format command's output shows c0t0d0, c0t1d0, c3t0d0, and c3t1d0. cfgadm -al shows c0t3d0 as the DVD-ROM drive, and c1 and c2 as SAN disks. Confused yet? ... (2 Replies)
Discussion started by: desertdenizen
2 Replies

7. Solaris

M5000 XSCF Console disconnecting when putty session is closed

Hi, I would appreciate some help. I remotely access, across a VPN, an M5000 and when I connect to the XSCF I can then access the OS using console -d0 and then I can get to the console. The problem I have is that I need to run something which will take many hours and I can't run it in the... (6 Replies)
Discussion started by: giles.cardew
6 Replies

8. Solaris

Mounting USB in XSCF on M5000

Trying to update my M5000 firmware. trying to mount my USB to upload firmware and getting the following message. XSCF> getflashimage -v file:///media/usb_msd/FFXCP1115.tar.gz Free space: 97MB Making sure mount point is clear umount: /media/usb_msd is not mounted (according to mtab) Trying... (2 Replies)
Discussion started by: soupbone38
2 Replies

9. Solaris

M5000 XSCF upgrade, query about OBP

Hi, I'm planning to upgrade the XSCF firmware on an M5000, and have a question regarding the OBP part of the upgrade. At the moment, the system looks like this: XCP0 (Current): 1100 OpenBoot PROM : 02.18.0000 XSCF : 01.10.0000 root@server01 # /usr/sbin/prtconf -V OBP 4.24.15... (3 Replies)
Discussion started by: badoshi
3 Replies

10. IP Networking

M5000 Xscf

I took over an M5000 and have a jumper server with a nic to connect to the console IP of an M5000. access via ssh user@ip. it was working fine, another person can connect remotely on the subnet, but when I ssh,it just hangs and then times out. so my question is, any ideas of what I might... (4 Replies)
Discussion started by: rrodgers
4 Replies
App::Prove(3pm) 					 Perl Programmers Reference Guide					   App::Prove(3pm)

NAME
App::Prove - Implements the "prove" command. VERSION
Version 3.26 DESCRIPTION
Test::Harness provides a command, "prove", which runs a TAP based test suite and prints a report. The "prove" command is a minimal wrapper around an instance of this module. SYNOPSIS
use App::Prove; my $app = App::Prove->new; $app->process_args(@ARGV); $app->run; METHODS
Class Methods "new" Create a new "App::Prove". Optionally a hash ref of attribute initializers may be passed. "state_class" Getter/setter for the name of the class used for maintaining state. This class should either subclass from "App::Prove::State" or provide an identical interface. "state_manager" Getter/setter for the instance of the "state_class". "add_rc_file" $prove->add_rc_file('myproj/.proverc'); Called before "process_args" to prepend the contents of an rc file to the options. "process_args" $prove->process_args(@args); Processes the command-line arguments. Attributes will be set appropriately. Any filenames may be found in the "argv" attribute. Dies on invalid arguments. "run" Perform whatever actions the command line args specified. The "prove" command line tool consists of the following code: use App::Prove; my $app = App::Prove->new; $app->process_args(@ARGV); exit( $app->run ? 0 : 1 ); # if you need the exit code "require_harness" Load a harness replacement class. $prove->require_harness($for => $class_name); "print_version" Display the version numbers of the loaded TAP::Harness and the current Perl. Attributes After command line parsing the following attributes reflect the values of the corresponding command line switches. They may be altered before calling "run". "archive" "argv" "backwards" "blib" "color" "directives" "dry" "exec" "extensions" "failures" "comments" "formatter" "harness" "ignore_exit" "includes" "jobs" "lib" "merge" "modules" "parse" "plugins" "quiet" "really_quiet" "recurse" "rules" "show_count" "show_help" "show_man" "show_version" "shuffle" "state" "state_class" "taint_fail" "taint_warn" "test_args" "timer" "verbose" "warnings_fail" "warnings_warn" "tapversion" "trap" PLUGINS
"App::Prove" provides support for 3rd-party plugins. These are currently loaded at run-time, after arguments have been parsed (so you can not change the way arguments are processed, sorry), typically with the "-Pplugin" switch, eg: prove -PMyPlugin This will search for a module named "App::Prove::Plugin::MyPlugin", or failing that, "MyPlugin". If the plugin can't be found, "prove" will complain & exit. You can pass an argument to your plugin by appending an "=" after the plugin name, eg "-PMyPlugin=foo". You can pass multiple arguments using commas: prove -PMyPlugin=foo,bar,baz These are passed in to your plugin's "load()" class method (if it has one), along with a reference to the "App::Prove" object that is invoking your plugin: sub load { my ($class, $p) = @_; my @args = @{ $p->{args} }; # @args will contain ( 'foo', 'bar', 'baz' ) $p->{app_prove}->do_something; ... } Note that the user's arguments are also passed to your plugin's "import()" function as a list, eg: sub import { my ($class, @args) = @_; # @args will contain ( 'foo', 'bar', 'baz' ) ... } This is for backwards compatibility, and may be deprecated in the future. Sample Plugin Here's a sample plugin, for your reference: package App::Prove::Plugin::Foo; # Sample plugin, try running with: # prove -PFoo=bar -r -j3 # prove -PFoo -Q # prove -PFoo=bar,My::Formatter use strict; use warnings; sub load { my ($class, $p) = @_; my @args = @{ $p->{args} }; my $app = $p->{app_prove}; print "loading plugin: $class, args: ", join(', ', @args ), " "; # turn on verbosity $app->verbose( 1 ); # set the formatter? $app->formatter( $args[1] ) if @args > 1; # print some of App::Prove's state: for my $attr (qw( jobs quiet really_quiet recurse verbose )) { my $val = $app->$attr; $val = 'undef' unless defined( $val ); print "$attr: $val "; } return 1; } 1; SEE ALSO
prove, TAP::Harness perl v5.18.2 2014-01-06 App::Prove(3pm)
All times are GMT -4. The time now is 01:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy