Runing VIO and couple lpars on POWER blade.
I want to dedicate graphics adapter(ati0) to one lpar. Is that possible ?
I tried to do that using IVM (I/O Adapter Management->View/Modify Physical Adapters->Modify partition assignment):
Then I tried to do it manually:
Then I saw this local display console device and getty running on it:
So I disabled that process using /etc/inittab and tried again:
I see no more related child devices.
What I'm doing wrong ?
Im newest in unix,
Please, give me solution for installing lan adapter if driver not found in the list of ethernet drivers
ihave unix driver in a dos diskete
please give me the other solution
and tell me where the domain of unix class online, so ican read from it.
Thank's very much (3 Replies)
Hi. I need to find a simple SCSI adapter card for a Sun Ultra 5 workstation. I don't need the type w/ ethernet attached (e.g. X1032) as I already have ethernet onboard & they are more spendy.
I know Adaptec is out, but what unit would work? I am attaching an external SCSI tape unit to this... (4 Replies)
I am running a AIX 4.3.3 and I think the problem lies in my graphics settings. i am getting the following error when tring to run:
xinit usr/dt/bin/Xsession
1362-020 Cannot locate required graphics adapter software.
run 'smit cfgmgr' to install/configure devices added after IPL
Does... (3 Replies)
Hi ,
I am faceing lot of problem due to "disk space is not enough".
senerio is like as,
In system has 5 account.
a,b,c,d,e
say account c if very critical.
Due to other user's data, user 'c' is faceing disk space issue.
I want to dedicate 3 GB for user 'c'.
No user... (1 Reply)
Hi,
I have installed Oracle Enterprise Linux 5 in my PC. After the installation the Ethernet Card is not got detected.
But I could able to get the details using the command lspci -a:
01:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet Adapter (rev b0).
But I could... (4 Replies)
I currently keep a hosts file to make my online banking more secure. But that won’t help in the event of a DNS-cache-poisoning zero-day attack. Is the following solution practical?
Dedicate one browser for secure online banking, and dedicate a different browser for normal browsing of the... (4 Replies)
Howdy
I am trying to install links2 with graphics support on snow leopard 10.6.8 (xcode installed). I have had the program running last year, also installed from source - but then I had installed some image libraries with mac ports and fink - cannot reproduce that setup. Plus I would like to not... (6 Replies)
Hi,
We had a hardware problem with an IBM System p5 server, with AIX 5.2
We restore from a tape the last backup we had, but the server does not boot up as expected.
The server try to mount some directories from a storage, but could not comunicate with them, we check the FC and everything is... (12 Replies)
Discussion started by: trevian3969
12 Replies
LEARN ABOUT DEBIAN
log::any::adapter::development
Log::Any::Adapter::Development(3pm) User Contributed Perl Documentation Log::Any::Adapter::Development(3pm)NAME
Log::Any::Adapter::Development -- Manual for developing new Log::Any adapters
VERSION
version 0.07
SYNOPSIS
The adapter module:
package Log::Any::Adapter::YAL;
use strict;
use warnings;
use Log::Any::Adapter::Util qw(make_method);
use base qw(Log::Any::Adapter::Base);
# Optionally initialize object
#
sub init {
my ($self) = @_;
$self->{attr} = ...;
}
# Create logging methods: debug, info, etc.
#
foreach my $method ( Log::Any->logging_methods() ) {
make_method($method, sub { ... });
}
# Create detection methods: is_debug, is_info, etc.
#
foreach my $method ( Log::Any->detection_methods() ) {
make_method($method, sub { ... });
}
and the application:
Log::Any->set_adapter('YAL');
DESCRIPTION
This document describes how to implement a new Log::Any adapter.
The easiest way to start is to look at the source of existing adapters, such as Log::Any::Adapter::Log4perl and
Log::Any::Adapter::Dispatch.
NAMING
If you are going to publicly release your adapter, call it 'Log::Any::Adapter::something' so that users can use it with
Log::Any->set_adapter(I<something>);
If it's an internal driver, you can call it whatever you like and use it like
Log::Any->set_adapter('+My::Log::Adapter');
BASE CLASS
All adapters must directly or indirectly inherit from Log::Any::Adapter::Base.
METHODS
Constructor
The constructor ("new") is provided by Log::Any::Adapter::Base. It will:
o place any adapter arguments into a hash, along with the category
o bless the hash into your subclass
o call "init" which may be optionally provided by your subclass
At this point, overriding the default constructor is not supported. Hopefully it will not be needed.
The constructor is called whenever a log object is requested. e.g. If the application initializes Log::Any like so:
Log::Any->set_adapter('Log::YAL', yal_object => $yal, depth => 3);
and then a class requests a logger like so:
package Foo;
use Log::Any qw($log);
Then $log will be populated with the return value of:
Log::Any::Adapter::Yal->new(yal_object => $yal, depth => 3, category => 'Foo');
This is memoized, so if the same category should be requested again (e.g. through a separate "get_logger" call, the same object will be
returned. Therefore, you should try to avoid anything non-deterministic in your "init" function.
Required methods
The following methods have no default implementation, and MUST be defined by your subclass:
debug ($msg)
info ($msg)
notice ($msg)
warning ($msg)
error ($msg)
critical ($msg)
alert ($msg)
emergency ($msg)
These methods log a message at the specified level.
To help generate these methods programmatically, you can get a list of the method names with
Log::Any->logging_methods
is_debug ()
is_info ()
is_notice ()
is_warning ()
is_error ()
is_critical ()
is_alert ()
is_emergency ()
These methods return a boolean indicating whether the specified level is active.
To help generate these methods programmatically, you can get a list of the method names with
Log::Any->detection_methods
Optional methods
The following methods have no default implementation but MAY be provided by your subclass:
init ()
This is called after the adapter object is created and blessed into your class. It will be a hash containing the parameters that were
passed to new(). Perform any necessary validation or initialization here.
Support methods
The following methods are useful for defining adapters:
delegate_method_to_slot ($slot, $method, $adapter_method)
Handle the specified $method by calling $adapter_method on the object contained in $self->{$slot}.
See Log::Any::Adapter::Dispatch and Log::Any::Adapter::Log4perl for examples of usage.
Log::Any->logging_methods
Returns a list of logging methods: debug, info, etc.
Log::Any->detection_methods
Returns a list of detection methods: is_debug, is_info, etc.
Log::Any->logging_and_detection_methods
Returns a combined list of logging and detection methods.
SEE ALSO
Log::Any
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Jonathan Swartz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-02-22 Log::Any::Adapter::Development(3pm)