[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] *** ANNOUNCEMENT *** LVM 0.9.1 Beta 6 available at www.sistina.com



> [ Is there a version for easy parsing by perl scripts ? ]

use m{blah}sg  to grab the thing as a single string and 
grab the portions you want, e.g.,

	my @whatever = $foo = /whatever/gs;

allows whatever to contain '.' that will match newlines.

> 
> worsdell:~: cat /proc/lvm/global
> LVM driver version 0.9.1_beta6 (12/03/2001)
> 
> Total:  1 VG  2 PVs  3 LVs (3 LVs open 3 times)
> 
> Global: 7275 bytes malloced   IOP version: 10   0:03:02 active
> 
> VG:  vg01  [2 PV, 3 LV/3 open]  PE Size: 4096 KB
>   Usage [KB/PE]: 1593344 /389 total  516096 /126 used  1077248 /263 free
>   PVs: [AA] part1                  1044480 /255       516096 /126       528384
> /129
>        [AA] part6                   548864 /134            0 /0         548864
> /134
>     LVs: [AWDL  ] tmp                         106496 /26       1x open
>          [AWDL  ] repl                        307200 /75       1x open
>          [AWDL  ] scratch                     102400 /25       1x open
> worsdell:~:
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm sistina com
> http://lists.sistina.com/mailman/listinfo/linux-lvm

-- 
 Steven Lembark                                   2930 W. Palmer St.
                                                 Chicago, IL  60647
 lembark wrkhors com                                   800-762-1582


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]