Sponsored Content
Full Discussion: Creating a VM
Operating Systems SCO Creating a VM Post 302992790 by spock9458 on Wednesday 1st of March 2017 02:10:00 PM
Old 03-01-2017
OK, wow I am really new to the VM concept when it comes to networking. I got the Realtek drivers installed in SCO, and the LAN Adapter is added and I've configured the TCP/IP settings the way I want them. The kernel was rebuilt and reassigned, etc. I rebooted thinking then that I would get a reply using ping to the new IP but no go. So I checked the network adapter settings in the host computer, and it shows 2 VMware virtual adapters, as well as the physical adapter. I don't know if I need to assign the same IP as I'm using in the SCO VM to either of the virtual adapters (and if so, which one?) or to the physical adapter, which right now is set to DHCP obtain address automatically. Any further advice about this will be appreciated. Thanks.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need help creating a script

I need to automate the following process: I have a list of ip address for printers in a file called iplist.txt, I need to take that list and run the command snmpget -v 1 -c public ip address sysName.0 for each ip address to see if the printer is running snmp, I want to the create a file... (4 Replies)
Discussion started by: inLine6
4 Replies

2. Programming

creating so's

hi everyone i have a doubt about ".so" files. what is the need of ".so" files. why we use ".so" files. where we can use ".so" files. how can i create ".so" files. can u tell me a good example please thank you (6 Replies)
Discussion started by: ramesh.jella
6 Replies

3. HP-UX

creating users

hi, can any one help in how to get the numeric user id through useradd command ?? or any other command for the same?? (1 Reply)
Discussion started by: vishwaraj
1 Replies

4. UNIX for Dummies Questions & Answers

creating a schema

hi guys, Unix dummy here. I need help creating a script for class. The assignment reads as follows: create a script that will create a new schema in schema.txt, it must accept 7 arguments (the first being the name of the schema) the other 6 being the 6 field names. the schema has to be tested... (1 Reply)
Discussion started by: zodester
1 Replies

5. Solaris

Creating a partition....???

I have created a pool named earthpool using zpool command. Later I created a file system named earth using zfs command. I changed the mountpoint of earth (file system) using zfs set mountpoint=/earth earthpool/earth. Where /earth is a directory created in root using mkdir. Now, I have a... (8 Replies)
Discussion started by: bharu_sri
8 Replies

6. Shell Programming and Scripting

creating scripts

Hello... First of all, as a new member, i found this forum very helpful and all the members have great knowledge. I am trying to learn unix online, as i have to make a script to monitor a solaris machine performance. I found UNIX not as hard as i thought but making scripts and printing it... (5 Replies)
Discussion started by: mohamedh_14
5 Replies

7. Shell Programming and Scripting

help needed with creating challenging bash script with creating directories

Hi, Can someone help me with creating a bash shell script. I need to create a script that gets a positive number n as an argument. The script must create n directories in the current directory with names like map_1, map_2 etcetera. Each directory must be contained within its predecessor. So... (7 Replies)
Discussion started by: I-1
7 Replies

8. Shell Programming and Scripting

Creating Directory

Hi All, As I m very new for Unix, I need to check for a directory and move a file. If Directory is not found, The script should create a directory and move the file. Can any one help here. (7 Replies)
Discussion started by: vikramtk
7 Replies

9. UNIX for Dummies Questions & Answers

Creating an array

I am having trouble creating an array, I've tried everything google gives me but it won't work, and it seems as though it should. Using Ubunto 12.04 and bash. #!/bin/bash ARRAY=one two three echo ${ARRAY}When I do this I receive the error : two: not found and : Bad substitution When I... (3 Replies)
Discussion started by: jrymer
3 Replies

10. Homework & Coursework Questions

Creating a .profile, displaying system variables, and creating an alias

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Here is what I am supposed to do, word for word from my assignment page: 1. Create/modify and print a... (2 Replies)
Discussion started by: Jagst3r21
2 Replies
Log::Any::Adapter(3pm)					User Contributed Perl Documentation				    Log::Any::Adapter(3pm)

NAME
Log::Any::Adapter -- Tell Log::Any where to send its logs VERSION
version 0.07 SYNOPSIS
use Log::Any::Adapter; # Use Log::Log4perl for all categories # Log::Log4perl::init('/etc/log4perl.conf'); Log::Any::Adapter->set('Log4perl'); # Use Log::Dispatch for Foo::Baz # use Log::Dispatch; my $log = Log::Dispatch->new(outputs => [[ ... ]]); Log::Any::Adapter->set( { category => 'Foo::Baz' }, 'Dispatch', dispatcher => $log ); # Use Log::Dispatch::Config for Foo::Baz and its subcategories # use Log::Dispatch::Config; Log::Dispatch::Config->configure('/path/to/log.conf'); Log::Any::Adapter->set( { category => qr/^Foo::Baz/ }, 'Dispatch', dispatcher => Log::Dispatch::Config->instance() ); # Use your own adapter for all categories # Log::Any::Adapter->set('+My::Log::Any::Adapter', ...); DESCRIPTION
The "Log-Any-Adapter" distribution implements Log::Any class methods to specify where logs should be sent. It is a separate distribution so as to keep "Log::Any" itself as simple and unchanging as possible. You do not have to use anything in this distribution explicitly. It will be auto-loaded when you call one of the methods below. ADAPTERS
In order to use a logging mechanism with "Log::Any", there needs to be an adapter class for it. Typically this is named Log::Any::Adapter::something. The following adapters are available on CPAN as of this writing: o Log::Any::Adapter::Log4perl - work with log4perl o Log::Any::Adapter::Dispatch - work with Log::Dispatch or Log::Dispatch::Config You may also find other adapters on CPAN by searching for "Log::Any::Adapter", or create your own adapter. See Log::Any::Adapter::Development for more information on the latter. SETTING AND REMOVING ADAPTERS
Log::Any::Adapter->set ([options, ]adapter_name, adapter_params...) This method sets the adapter to use for all log categories, or for a particular set of categories. adapter_name is the name of an adapter. It is automatically prepended with "Log::Any::Adapter::". If instead you want to pass the full name of an adapter, prefix it with a "+". e.g. # Use My::Adapter class Log::Any::Adapter->set('+My::Adapter', arg => $value); adapter_params are passed along to the adapter constructor. See the documentation for the individual adapter classes for more information. An optional hash of options may be passed as the first argument. Options are: category A string containing a category name, or a regex (created with qr//) matching multiple categories. If not specified, all categories will be affected. lexically A reference to a lexical variable. When the variable goes out of scope, the adapter setting will be removed. e.g. { Log::Any::Adapter->set({lexically => my $lex}, ...); # in effect here ... } # no longer in effect here "set" returns an entry object, which can be passed to "remove". Log::Any::Adapter->remove (entry) Remove an entry previously returned by "set". MULTIPLE ADAPTER SETTINGS
"Log::Any" maintains a stack of entries created via "set". When you get a logger for a particular category, "Log::Any" will work its way down the stack and use the first matching entry. Whenever the stack changes, any "Log::Any" loggers that have previously been created will automatically adjust to the new stack. For example: my $log = Log::Any->get_logger(); $log->error("aiggh!"); # this goes nowhere ... { Log::Any::Adapter->set({ local => my $lex }, 'Log4perl'); $log->error("aiggh!"); # this goes to log4perl ... } $log->error("aiggh!"); # this goes nowhere again 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(3pm)
All times are GMT -4. The time now is 02:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy