02-01-2012
PHP Code:
for i in `lsvg | grep -vf lsvg.active`
do
bootinfo -s $i/1024
done
With help, I came up with this. I need to find out the MB to GB conversion (divided by 1024).
Please advise.
Last edited by Daniel Gate; 02-01-2012 at 12:27 PM..
10 More Discussions You Might Find Interesting
1. AIX
When I give lsvg command
It says no VGs found
When I give lspv,it gives a listing of all PVs corresponding to their respective VGs i.e. rootvg,uservg,etc.
But when I give lspv hdisk0
It says rootvg not found in Configuration Manager Database.
thanks
Manu (3 Replies)
Discussion started by: b_manu78
3 Replies
2. AIX
I have my application vendor looking at this but I want to do my own investigation.
I restored from mksysb and I see my vgs that contain my internal disks.
But I do not see my vgs that contain disks from the SAN. This scares me ..
{{ Ha, ha!! My AIX expert boss just told me I have nothing... (0 Replies)
Discussion started by: Skyybugg
0 Replies
3. AIX
Hello
It appears that on a regular basis, perhaps when weekly rebooting happens, not sure yet, my odm becomes out of sync.
When doing a smitty file system list by volume group, the FS type is displayed as ??? on several FSs. Always in the same VG.
I know how to fix this problem, thing is,... (4 Replies)
Discussion started by: mhenryj
4 Replies
4. AIX
Hi friends,....
am sindhiya,
i have joined as AIX level 1 support.
help me to identify the failed pv in vg which has some 4 physical volumes? (2 Replies)
Discussion started by: sindhiya
2 Replies
5. SuSE
Hi,
I have following set up on Open suse 11
vgdisplay
pvdisplay
lvdisplay
I would like to remove these disks /dev/sdb and /dev/sdc from LVM and do not use them for anything..
Can anyone please help me with this ? (1 Reply)
Discussion started by: upengan78
1 Replies
6. AIX
Hi Guys,
I found on one of the server there are 2 VG's which I dont have any Idea of who created .. as below
bash-3.00$ lsvg
old_rootvg
rootvg
datavg
altinst_rootvg
altinst_rootvg under is meant for alternate disk installation.. But I'm not sure for which version of OS it was... (5 Replies)
Discussion started by: kkeng808
5 Replies
7. Solaris
Need some one to explain "In cluster configuration ora* VGs are not controlled by VCS". Actually, I am not aware of this.
Thanks,
Rama (0 Replies)
Discussion started by: ramareddi16
0 Replies
8. SuSE
Hello,
This is a programming question as well as a suse question, so let me know if you think I should post this in programming.
I have an application that I compiled under opensuse 12.2 using g77-3.3/g++3.3. The program compiles and runs just fine. I gave the application to a colleague who... (2 Replies)
Discussion started by: LMHmedchem
2 Replies
9. Red Hat
I am trying to install VirtualBox on RHEL 5 but I need the 32 bit version for 32 bit Windows. When I run yum I get the following:
sudo yum localinstall /auto/spvtg-it/spvss-migration/Software/VirtualBox-4.3-4.3.2_90405_el6-1.i686.rpm
Loaded plugins: fastestmirror
Setting up Local Package... (13 Replies)
Discussion started by: gw1500se
13 Replies
10. Shell Programming and Scripting
I am on linux and I am supposed to receive 3 files. If any of the files are not received I need to identify the missing file and throw it out in a variable.
I have put in something like this
if ]
then echo "file $file1 was found"
else
echo "ERROR: file $file1 was not found!!!"... (8 Replies)
Discussion started by: dsravanam
8 Replies
LEARN ABOUT PHP
gmp_div_r
GMP_DIV_R(3) 1 GMP_DIV_R(3)
gmp_div_r - Remainder of the division of numbers
SYNOPSIS
GMP gmp_div_r (GMP $n, GMP $d, [int $round = GMP_ROUND_ZERO])
DESCRIPTION
Calculates remainder of the integer division of $n by $d. The remainder has the sign of the $n argument, if not zero.
PARAMETERS
o $n
- The number being divided. Either a GMP number resource in PHP 5.5 and earlier, a GMP object in PHP 5.6 and later, or a numeric
string provided that it is possible to convert the latter to a number.
o $d
- The number that $n is being divided by. Either a GMP number resource in PHP 5.5 and earlier, a GMP object in PHP 5.6 and later,
or a numeric string provided that it is possible to convert the latter to a number.
o $round
- See the gmp_div_q(3) function for description of the $round argument.
RETURN VALUES
The remainder, as a GMP number.
EXAMPLES
Example #1
gmp_div_r(3) example
<?php
$div = gmp_div_r("105", "20");
echo gmp_strval($div) . "
";
?>
The above example will output:
5
SEE ALSO
gmp_div_q(3), gmp_div_qr(3).
PHP Documentation Group GMP_DIV_R(3)