Hi All
I've been having a lot of errors logged on the Cisco Catalyst (4000 series) which one of my Solaris servers is patched into. I have a feeling they are duplex related, but I'm a bit stuck as to how to confirm that.
How do I:
1. Check the duplex settings on my eri0 card?
2. Set the... (3 Replies)
Yesterday i had a situation that cause me headache for a while , I have a web server running win2k3 it has 2 NIC's
one of them assigned to public area network
and the other is not functioning
The place where the server is ,
is messy and cables on the floor so any one can stumble with ... (2 Replies)
Evening,
I am attempting to change the speed and duplex settings on a single interface on a bge card on an m3000 SPARC server. Currently the settings are as follows:
bge0 link: up speed: 1000 Mbps duplex: full
bge1 link: up speed: 100 Mbps ... (13 Replies)
Hi,
How to find whether the server is running with half duplex or full duplex. I tried with the following command ndd -get /dev/ but am not getting any output,. Is the command correct?
Also let me know how to change from half to full duplex. (1 Reply)
Hi Gurus,
I had downloaded the below script from the net and used it to get the Link and duplex settings in my Sun servers.
In all except one(Sol-5.10 on X86) i am getting output format like below:
root: /var/ADMIN/bin/speed_duplex.sh
Interface Speed Duplex
--------- ... (2 Replies)
Hello, Newbie question on scripting - I'm looking to create a simple script that will work on RHEL5 that will adjust the network settings: ip address, default gateway, and subnet mask. If anything else needs to be done (service network stop / start) or should be done to make settings active - I... (4 Replies)
The pro help!
Write a shell script setup for linux security policies include:
1. login (username and password login).
2. add, delete your username and password.
3. firewall.
Note: Write a shell script file as follows:
If login successful then
Step 2.
If step 2 succeeds (ie add,... (1 Reply)
Hi
I do a very simple monitoring of our OpenLDAP (runs in cronjob and generate alerts if unsuccessfull)
$ ldapsearch -h hostname.domain -D "cn=monitor_user,ou=People,dc=organisation" -w "password" -b "dc=organisation" -x "(&(cn=monitor_user)(ou=People))" dn | grep -v version
dn:... (4 Replies)
I have make an menu in which first option is to start and second is to stop the services
echo "Please enter the appropriate choice for doing the operations"
echo "
1) STOP Services
2) START Services
case $choice in
1)
... (1 Reply)
Discussion started by: punpun66
1 Replies
LEARN ABOUT DEBIAN
mojo::exception
Mojo::Exception(3pm) User Contributed Perl Documentation Mojo::Exception(3pm)NAME
Mojo::Exception - Exceptions with context
SYNOPSIS
use Mojo::Exception;
my $e = Mojo::Exception->new;
DESCRIPTION
Mojo::Exception is a container for exceptions with context information.
ATTRIBUTES
Mojo::Exception implements the following attributes.
"frames"
my $frames = $e->frames;
$e = $e->frames($frames);
Stacktrace.
"line"
my $line = $e->line;
$e = $e->line([3, 'foo']);
The line where the exception occured.
"lines_after"
my $lines = $e->lines_after;
$e = $e->lines_after([[1, 'bar'], [2, 'baz']]);
Lines after the line where the exception occured.
"lines_before"
my $lines = $e->lines_before;
$e = $e->lines_before([[4, 'bar'], [5, 'baz']]);
Lines before the line where the exception occured.
"message"
my $message = $e->message;
$e = $e->message('Oops!');
Exception message.
"raw_message"
my $message = $e->raw_message;
$e = $e->raw_message('Oops!');
Raw unprocessed exception message.
"verbose"
my $verbose = $e->verbose;
$e = $e->verbose(1);
Activate verbose rendering, defaults to the value of "MOJO_EXCEPTION_VERBOSE" or 0.
METHODS
Mojo::Exception inherits all methods from Mojo::Base and implements the following new ones.
"new"
my $e = Mojo::Exception->new('Oops!');
my $e = Mojo::Exception->new('Oops!', $files, $name);
Construct a new Mojo::Exception object.
"throw"
Mojo::Exception->throw('Oops!');
Mojo::Exception->throw('Oops!', $files, $name);
Throw exception with stacktrace.
"to_string"
my $string = $e->to_string;
my $string = "$e";
Render exception with context.
"trace"
$e = $e->trace;
$e = $e->trace(2);
Store stacktrace.
SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>.
perl v5.14.2 2012-09-05 Mojo::Exception(3pm)