Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.162.713 Times

HPUX::LVM 0.06

Company: Christopher White
Date Added: July 30, 2013  |  Visits: 378

HPUX::LVM

Report Broken Link
Printer Friendly Version


Product Homepage
Download (39 downloads)



HPUX::LVM is a Perl module that takes the output from the LVM Commands vgdisplay and lvdisplay and pvdisplay and puts them in a hash of hashes in the following manner as an example:<br /><br /> '/dev/vg08' => HASH(0x404214c8)<br /> 'Act_PV' => 4<br /> 'Alloc_PE' => 4092<br /> 'Cur_LV' => 2<br /> 'Cur_PV' => 4<br /> 'Free_PE' => 0<br /> 'Max_LV' => 255<br /> 'Max_PE_per_PV' => 1023<br /> 'Max_PV' => 16<br /> 'Open_LV' => 2<br /> 'PE_Size_Mbytes' => 4<br /> 'Physical_Vols' => HASH(0x40421510)<br /> '/dev/dsk/c3t12d0' => HASH(0x404215a0)<br /> 'Free_PE' => 0<br /> 'PV_Status' => 'available'<br /> 'Total_PE' => 1023<br /> '/dev/dsk/c3t13d0' => HASH(0x40421528)<br /> 'Free_PE' => 0<br /> 'PV_Status' => 'available'<br /> 'Total_PE' => 1023<br /> '/dev/dsk/c3t14d0' => HASH(0x40421564)<br /> 'Free_PE' => 0<br /> 'PV_Status' => 'available'<br /> 'Total_PE' => 1023<br /> '/dev/dsk/c3t15d0' => HASH(0x404215dc)<br /> 'Free_PE' => 0<br /> 'PV_Status' => 'available'<br /> 'Total_PE' => 1023<br /> 'Total_PE' => 4092<br /> 'Total_PVG' => 0<br /> 'VGDA' => 8<br /> 'VG_Status' => 'available'<br /> 'VG_Write_Access' => 'read/write'<br /> 'lvols' => HASH(0x4042166c)<br /> 'lvol1' => HASH(0x40421684)<br /> 'Allocated_PE' => 2046<br /> 'Current_LE' => 2046<br /> 'LV_Size' => 8184<br /> 'LV_Status' => 'available/syncd'<br /> 'PV_Data' => HASH(0x4042178c)<br /> '/dev/dsk/c3t14d0' => HASH(0x404217a4)<br /> 'le_on_pv' => 1023<br /> 'pe_on_pv' => 1023<br /> '/dev/dsk/c3t15d0' => HASH(0x404217d4)<br /> 'le_on_pv' => 1023<br /> 'pe_on_pv' => 1023<br /> 'Used_PV' => 2<br /> 'lvdata' => HASH(0x404216b4)<br /> 'Allocated_PE' => 2046<br /> 'Allocation' => 'strict'<br /> 'Bad_block' => 'on'<br /> 'Consistency_Recovery' => 'MWC'<br /> 'Current_LE' => 2046<br /> 'IO_Timeout_Seconds' => 'default'<br /> 'LV_Permission' => 'read/write'<br /> 'LV_Size_Mbytes' => 8184<br /> 'LV_Status' => 'available/syncd'<br /> 'Mirror_copies' => 0<br /> 'Schedule' => 'parallel'<br /> 'Stripe_Size_Kbytes' => 0<br /> 'Stripes' => 0<br /> 'VG_Name' => '/dev/vg08'<br /> 'lvol2' => HASH(0x40422834)<br /> 'Allocated_PE' => 2046<br /> 'Current_LE' => 2046<br /> 'LV_Size' => 8184<br /> 'LV_Status' => 'available/syncd'<br /> 'PV_Data' => HASH(0x4042293c)<br /> '/dev/dsk/c3t12d0' => HASH(0x40422984)<br /> 'le_on_pv' => 1023<br /> 'pe_on_pv' => 1023<br /> '/dev/dsk/c3t13d0' => HASH(0x40422954)<br /> 'le_on_pv' => 1023<br /> 'pe_on_pv' => 1023<br /> 'Used_PV' => 2<br /> 'lvdata' => HASH(0x40422864)<br /> 'Allocated_PE' => 2046<br /> 'Allocation' => 'strict'<br /> 'Bad_block' => 'on'<br /> 'Consistency_Recovery' => 'MWC'<br /> 'Current_LE' => 2046<br /> 'IO_Timeout_Seconds' => 'default'<br /> 'LV_Permission' => 'read/write'<br /> 'LV_Size_Mbytes' => 8184<br /> 'LV_Status' => 'available/syncd'<br /> 'Mirror_copies' => 0<br /> 'Schedule' => 'parallel'<br /> 'Stripe_Size_Kbytes' => 0<br /> 'Stripes' => 0<br /> 'VG_Name' => '/dev/vg08'<br /><br />each attribute is the same as output in the command but with underscores instead of spaces so "Allocated PE" is "Allocated_PE". I also had to add attributes "Physical_Vols","lvols","lvdata" and "PV_Data". (for logical volume data)<br /><br />"Physical_Vols" is a hash refrence to all the Physical Volumes in the VG<br /><br />"Alternate_Links" is an array refrence under each physical vol that contains all the links to that device (if any). First array element is "None" if there are no links. (Not listed above but its under "Physical_Vols"<br /><br />"lvols" is a hash refrence to all the volume groups in the VG<br /><br />"lv_data" is a hash refrence to lvdisplays output of the logical volume.<br /><br />"PV_Data" is a hash refrence to all the physical volumes that make up the volume group and how much space they use on each.<br /><br />The data can then be access through the provided methods (Subroutines).<br /><br />SYNOPSIS<br /><br /> my $lvminfo_data = new HPUX::LVMInfo(<br /> target_type =>"local",<br /> persistance =>"new",<br /> access_prog =>"ssh",<br /> access_system =>"localhost",<br /> access_user =>"root"<br /> );<br /><br /> $arref2 = $lvminfo_data->get_all_volumegroups();<br /><br /> foreach $vg (@$arref2) {<br /> print "Volume Group: $vg<br />";<br /> push @save_vgs, $vg;<br /> $vg_save = $vg;<br /> }<br /> $arref2a = $lvminfo_data->get_vg_physicalvols(<br /> volume_group => $vg_save<br /> );<br /><br /> print "Physical vols in vg: $vg_save<br />";<br /> foreach $pvinvg (@$arref2a) {<br /> print "$pvinvg<br />";<br /> push @save_pvs, $pvinvg;<br /> $pvinvg_save = $pvinvg;<br /> }<br />

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Hpuxlvm 0 06 Output Print Pvinvg Refrence Volume
Users rating: 0/10

License: Freeware Size: 20.48 KB
USER REVIEWS
More Reviews or Write Review


HPUX::LVM RELATED
Audio Tools  -  MixRamp 1.3
A utility to analyse sound files and print out the volume profile of the start and end. The idea is to embed those profiles in metadata so players can do intelligent mixing between tracks. Supports FLAC and MP3. Implemented in http://git.musicpd.org
20.48 KB  
Miscellaneous  -  Automatic indentation of output 1.0
This script is an output stream wrapper; possibly useful for debugging code with print statements. When write() is called, it makes a note of the calling frame. The indentation level is equal to the number of frames in the call stack which have...
 
Audio Tools  -  Volume Control 0.4
VolumeControl is a audio mixer for GNU/Linux. Volume Control project requires OSS or ALSA with OSS /dev/mixer compatibility (for now) from the Linux kernel. The GTK interface provides ease of use in adjusting volume levels. Features to be...
83.97 KB  
Libraries  -  AudioCD::Mac 0.25
AudioCD::Mac is a MacPerl extension for controlling Audio CDs. SYNOPSIS #!perl -w use AudioCD; use strict; my $cd = new AudioCD; $cd->volume(255); $cd->play(2); print "Now playingn" if $cd->status == CD_PLAY; printf "Volume is %dn",...
14.34 KB  
Libraries  -  File::Size 0.06
SYNOPSIS Get the size for directory /etc/ with the block size of 1024 while following symbolic links: my $obj = File::Size->new( dir => /etc/, blocksize => 1024, followsymlinks => 1, humanreadable => 1 ); print $obj->getsize(), "n";...
3.07 KB  
Libraries  -  XML::IODEF 0.06
XML::IODEF is a Perl module for building/parsing IODEF messages. QUICK START Below is an example of an Incident IODEF message. < !DOCTYPE IODEF-Message PUBLIC "-//IETF//DTD RFC XXXX IODEF v1.0//EN"...
25.6 KB  
Libraries  -  Net:IPMessenger::ToStdoutEventHandler 0.06
Net:IPMessenger::ToStdoutEventHandler is a Perl module for event handler for standard output. SYNOPSIS use Net::IPMessenger::ToStdoutEventHandler; ... $ipmsg->add_event_handler( new Net::IPMessenger::ToStdoutEventHandler ); IP Messenger...
12.29 KB  
Libraries  -  Tie::Layers 0.06
SYNOPSIS ##### # Subroutines # use Tie::Layers qw(is_handle config); $yes = is_handle( $file_handle ); ($key, $old_value) = config(%options, $key); ($key, $old_value) = config(%options, $key => $new_value ); #### # Config default...
71.68 KB  
Programming  -  CGI::WebOut 2.25
CGI::WebOut is a Perl module used to make CGI programmer's work more comfortable. The main idea is to handle output stream (STDOUT) to avoid any data to be sent to browser without Content-type header. Of cource, you may also send your own headers...
10.24 KB  
Libraries  -  Filesys::DiskFree 0.06
Filesys::DiskFree is a Perl module to perform the Unix command df in a portable fashion. SYNOPSIS use Filesys::DiskFree; $handle = new Filesys::DiskFree; $handle->df(); print "The root device is ".$handle->device("/")."n"; print "It has...
5.12 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB