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

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

Serving Software Downloads in 976 Categories, Downloaded 29.888.881 Times

HPUX::LVM 0.06

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

HPUX::LVM

Report Broken Link
Printer Friendly Version


Product Homepage
Download (16 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...
 
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  
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  
Network & Internet  -  trillbox 0.03
trillbox is a flexible and extendable toolkit for building dynamic Web pages. Written in Perl and based on Template::Recall, it provides "widgets" (or controls) that you can quickly integrate into your Perl Web application. trillbox widgets are...
10.24 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  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
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  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 KB  
Linux Software  -  GTK+ 2.5
GTK+, which stands for the GIMP Toolkit, is a library for creating graphical user interfaces for the X Window System. It is designed to be small, efficient, and flexible. GTK+ is written in C with a very object-oriented approach. Language bindings...
60 MB  
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB