Software Index
Related Topics
Popular Trends
Trending Topics
Linux Software Programming  

HPUX::LVM

download download home home   report broken
important software information
company name:
Christopher White
license: Freeware
minimum requirements:
functional limitations:
HPUX::LVM description


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:

'/dev/vg08' => HASH(0x404214c8)
'Act_PV' => 4
'Alloc_PE' => 4092
'Cur_LV' => 2
'Cur_PV' => 4
'Free_PE' => 0
'Max_LV' => 255
'Max_PE_per_PV' => 1023
'Max_PV' => 16
'Open_LV' => 2
'PE_Size_Mbytes' => 4
'Physical_Vols' => HASH(0x40421510)
'/dev/dsk/c3t12d0' => HASH(0x404215a0)
'Free_PE' => 0
'PV_Status' => 'available'
'Total_PE' => 1023
'/dev/dsk/c3t13d0' => HASH(0x40421528)
'Free_PE' => 0
'PV_Status' => 'available'
'Total_PE' => 1023
'/dev/dsk/c3t14d0' => HASH(0x40421564)
'Free_PE' => 0
'PV_Status' => 'available'
'Total_PE' => 1023
'/dev/dsk/c3t15d0' => HASH(0x404215dc)
'Free_PE' => 0
'PV_Status' => 'available'
'Total_PE' => 1023
'Total_PE' => 4092
'Total_PVG' => 0
'VGDA' => 8
'VG_Status' => 'available'
'VG_Write_Access' => 'read/write'
'lvols' => HASH(0x4042166c)
'lvol1' => HASH(0x40421684)
'Allocated_PE' => 2046
'Current_LE' => 2046
'LV_Size' => 8184
'LV_Status' => 'available/syncd'
'PV_Data' => HASH(0x4042178c)
'/dev/dsk/c3t14d0' => HASH(0x404217a4)
'le_on_pv' => 1023
'pe_on_pv' => 1023
'/dev/dsk/c3t15d0' => HASH(0x404217d4)
'le_on_pv' => 1023
'pe_on_pv' => 1023
'Used_PV' => 2
'lvdata' => HASH(0x404216b4)
'Allocated_PE' => 2046
'Allocation' => 'strict'
'Bad_block' => 'on'
'Consistency_Recovery' => 'MWC'
'Current_LE' => 2046
'IO_Timeout_Seconds' => 'default'
'LV_Permission' => 'read/write'
'LV_Size_Mbytes' => 8184
'LV_Status' => 'available/syncd'
'Mirror_copies' => 0
'Schedule' => 'parallel'
'Stripe_Size_Kbytes' => 0
'Stripes' => 0
'VG_Name' => '/dev/vg08'
'lvol2' => HASH(0x40422834)
'Allocated_PE' => 2046
'Current_LE' => 2046
'LV_Size' => 8184
'LV_Status' => 'available/syncd'
'PV_Data' => HASH(0x4042293c)
'/dev/dsk/c3t12d0' => HASH(0x40422984)
'le_on_pv' => 1023
'pe_on_pv' => 1023
'/dev/dsk/c3t13d0' => HASH(0x40422954)
'le_on_pv' => 1023
'pe_on_pv' => 1023
'Used_PV' => 2
'lvdata' => HASH(0x40422864)
'Allocated_PE' => 2046
'Allocation' => 'strict'
'Bad_block' => 'on'
'Consistency_Recovery' => 'MWC'
'Current_LE' => 2046
'IO_Timeout_Seconds' => 'default'
'LV_Permission' => 'read/write'
'LV_Size_Mbytes' => 8184
'LV_Status' => 'available/syncd'
'Mirror_copies' => 0
'Schedule' => 'parallel'
'Stripe_Size_Kbytes' => 0
'Stripes' => 0
'VG_Name' => '/dev/vg08'

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)

"Physical_Vols" is a hash refrence to all the Physical Volumes in the VG

"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"

"lvols" is a hash refrence to all the volume groups in the VG

"lv_data" is a hash refrence to lvdisplays output of the logical volume.

"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.

The data can then be access through the provided methods (Subroutines).

SYNOPSIS

my $lvminfo_data = new HPUX::LVMInfo(
target_type =>"local",
persistance =>"new",
access_prog =>"ssh",
access_system =>"localhost",
access_user =>"root"
);

$arref2 = $lvminfo_data->get_all_volumegroups();

foreach $vg (@$arref2) {
print "Volume Group: $vg
";
push @save_vgs, $vg;
$vg_save = $vg;
}
$arref2a = $lvminfo_data->get_vg_physicalvols(
volume_group => $vg_save
);

print "Physical vols in vg: $vg_save. Christopher White - search.cpan.org. Publisher of HPUX::LVM, Author of HPUX::LVM 0.06. 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: 'de



Relates:
Print - Available - Volume - Write - Hpux Lvm - Publisher Of Hpux Lvm - Author Of Hpux Lvm 0 06 - Refrence - Total Pe - Free Pe - Allocated Pe - Pv Status - Lv Status - Pe On Pv - Current Le - Syncd - Pv Data - Le On Pv - Physical Vols - Pvinvg - Lvols - Lvdata - Lvminfo Data
Similar software
Guiffy SureMerge Linux (Popularity: ) : Guiffy SureMerge is a visual file compare Diff tool, Merge tool, and Folder compare tool all-in-one that makes comparing, merging, and upgrading sources as easy and reliable as possible. Guiffy's software comes with: command line interfaces, an API package, Eclipse ...
HiVis Large (Popularity: ) : HiVis Large (formerly HiVisGnome Jumbo) is a Firefox theme designed for people who have problems seeing normal-sized icons and text. It is also very helpful with 24-inch iMacs.

It has colorful large icons against a white background, with extra-large text.

Right-click on ...

Hyperwords (Popularity: ) : Hyperwords extension allows you to interact with all the words on the web, not just links.

With Hyperwords installed in your web browser, select any text and a menu appears: searches, references, emailing, copying, blogging, translation, & more.... The Hyperwords Company. ...

User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Similar scripts
LVM file import (Sripts) (Popularity: ) : National Instruments LabView software has a native file format called LabView Measurement File (LVM, extension .lvm). This m-file, lvm_import.m, reads LVM files and imports the data into the MATLAB workspace.LVM is an ascii text file format, and the data can ...
PycURL (Popularity: ) : PycURL is a Python interface to libcurl. PycURL can be used to fetch objects identified by a URL from a Python program, similar to the urllib Python module. PycURL is mature, very fast, and supports a lot of featurcURL is ...
GNU cpio (Popularity: ) : GNU cpio copies files into or out of a cpio or tar archive. The archive can be another file on the disk, a magnetic tape, or a pipe.

GNU cpio supports the following archive formats: binary, old ASCII, new ASCII, ...

Corkscrew (Popularity: ) : Corkscrew is a tool for tunneling SSH through HTTP proxies. It has been tested against several proxies requiring HTTP authentication. Several flaws exist as only basic authentication is currently supported. Corkscrew has been compiled on : - AIX - HPUX ...
Zimpl (Popularity: ) : Zimpl is a language to translate the mathematical model of a problem into a linear or (mixed-) integer mathematical program expressed in .lp or .mps file format which can be read and (hopefully) solved by a LP or MIP solver. ...
AutoGen (Popularity: ) : AutoGen is a tool designed to simplify the creation and maintenance of programs that contain large amounts of repetitious text. It is especially valuable in programs that have several blocks of text that must be kept synchronized. A common example ...
MBOT (Popularity: ) : This application is an IRC bot coded in C .Its main advantage is that several bots can run simultaneously in the same process, making it ideal for shells where the background processes are limited, but not the connections.It also spares ...
libcurl (Popularity: ) : libcurl is a free and easy-to-use client-side URL transfer library, supporting FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, FILE and LDAP.libcurl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user password ...
ora2html (Popularity: ) : Ora2html generates HTML or plain ASCII reports of installed Oracle software and databases on a server. It includes configuration information about databases, files, security, etc, and supports Oracle ver. 8+, running on Linux, Tru64, Solaris and HPUX
AD


Rate me
supported os's
stats
downloads 23
version 0.06
size in Kb 20
popularity   
1638/1272475
user rating 8/10
our rating 0 Stars
share info
Recommend HPUX::LVM
Report spyware
New Software
Popular Software
Latest Reviews