04-23-2007
the "prtdiag" output shows a lot of information
gP
9 More Discussions You Might Find Interesting
1. Red Hat
Hi
Need to know the version(suse/redhat) and processor info(x86/itanium/amd etc).
I tried uname -a but cannot understand what is what...
Linux myworkhost 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT 2003 i686 i686 i386 GNU/Linux
I dont have the root password, I can only ssh and have to... (3 Replies)
Discussion started by: amiri2000
3 Replies
2. Solaris
Hi All,
Could any one pls tell me how to find whether a unix server is a stand alone server or its in a cluster.
I need a command through which i can find whether the unix m/c is clustered or not.
Thanx in advance
Regards,
Naveen (1 Reply)
Discussion started by: Naveen Kumar V
1 Replies
3. Solaris
Hi experts
Is there a command or a way in Solaris to find server details like this:
SUN240R
2 @ 160MHz CPU
1Gb memory
Solaris8
lan0 (16SV LAN) 100FD
lan1 (45CI LAN) 100FD
lan2 (8CON LAN) 10HD
lan3 (38SY LAN) 100HD
Thanks (1 Reply)
Discussion started by: lalelle
1 Replies
4. Solaris
Hello,
I need to get some details from my server like Internal hard disk details for my UNIX (Solaris 9) server like whether OS is mirrored or not, what type of mirror is used. Which hard disk are used for mirror ?
Regards (1 Reply)
Discussion started by: adel8483
1 Replies
5. HP-UX
OS: HP-UX
I need the following details from HP-UX server.
I don't have root login, so most of the commands require root privilege
1. No of cpu in the server
2. Total Memory, Free & Used
3. Space used and free space
Any help would be highly appreciated (6 Replies)
Discussion started by: manijash
6 Replies
6. Solaris
hi all
i am looking for some command or utility to find out hard ware details.
1. How should i know whether my network adapter is a fibre card or RJ25 (upd) card (ethtool in linux)
2. How to check physical connectivity. ("mii-tool eth0" in linux)
3. How to find pci devices with exact details.... (1 Reply)
Discussion started by: kingston
1 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
I am trying to figure out how to check SMTP server details on Unix enviornment?
I tried using
echo "hello" | sendmail -v abc@xyz.com
and got following error:
-bash: sendmail: command not found
-bash: echo: write error: Broken pipe
Any help will be much appreciated regarding... (2 Replies)
Discussion started by: palak08
2 Replies
8. Shell Programming and Scripting
Hi All,
Let me know how can i find and delete files from one unix server to another unix server which are 'N' days older.
Please note that I need to delete files on remote unix server.So, probably i will need to use sftp, but question is how can i identify files and folders which are 'N'... (2 Replies)
Discussion started by: sachinkl
2 Replies
9. Shell Programming and Scripting
I need assistance with following requirement, I am new to Unix.
I want to do the following task but stuck with file creation date(sysdate)
Following is the requirement
I need to create a script that will read the abc/xyz/klm folder and look for *.err files for that day’s date and then send an... (4 Replies)
Discussion started by: PreetArul
4 Replies
LEARN ABOUT DEBIAN
moosex::storage::engine::trait::onlywhenbuilt
MooseX::Storage::Engine::Trait::OnlyWhenBuilt(3pm) User Contributed Perl Documentation MooseX::Storage::Engine::Trait::OnlyWhenBuilt(3pm)
NAME
MooseX::Storage::Engine::Trait::OnlyWhenBuilt - An engine trait to bypass serialization
SYNOPSIS
{ package Point;
use Moose;
use MooseX::Storage;
with Storage( traits => [qw|OnlyWhenBuilt|] );
has 'x' => (is => 'rw', lazy_build => 1 );
has 'y' => (is => 'rw', lazy_build => 1 );
has 'z' => (is => 'rw', builder => '_build_z' );
sub _build_x { 3 }
sub _build_y { expensive_computation() }
sub _build_z { 3 }
}
my $p = Point->new( 'x' => 4 );
# the result of ->pack will contain:
# { x => 4, z => 3 }
$p->pack;
DESCRIPTION
Sometimes you don't want a particular attribute to be part of the serialization if it has not been built yet. If you invoke "Storage()" as
outlined in the "Synopsis", only attributes that have been built (ie, where the predicate returns 'true') will be serialized. This avoids
any potentially expensive computations.
This trait is applied to an instance of MooseX::Storage::Engine, for the user-visible version shown in the SYNOPSIS, see
MooseX::Storage::Traits::OnlyWhenBuilt
METHODS
Introspection
meta
BUGS
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to
cpan-RT.
AUTHOR
Stevan Little <stevan.little@iinteractive.com>
COPYRIGHT AND LICENSE
Copyright 2007-2008 by Infinity Interactive, Inc.
<http://www.iinteractive.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2009-08-11 MooseX::Storage::Engine::Trait::OnlyWhenBuilt(3pm)