Sponsored Content
Full Discussion: setting default PP size
Operating Systems AIX setting default PP size Post 302225139 by kah00na on Thursday 14th of August 2008 03:02:24 PM
Old 08-14-2008
For the rootvg, you cannot change it once your OS is installed, so using vidyadhar85's idea I don't think will work. One way you can set during a NIM restore is by specifying a image.data file that has the PPSIZE set to what you want it to be. Here is the part of an image.data file that refers to the rootvg attributes. The PPSIZE here is set to 64MB:

Code:
vg_data:
        VGNAME= rootvg
        PPSIZE= 64
        VARYON= yes
        VG_SOURCE_DISK_LIST= hdisk0
        QUORUM= 2
        ENH_CONC_CAPABLE= no
        CONC_AUTO= no
        BIGVG= no
        TFACTOR= 1

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

setting of default PASSLENGTH

What is the command to set default PASSLENGTH and the MAXWEEKS for all the passwords. I don't want to edit the /etc/default/passwd file either. And I am using Linux RedHat7.1 system. If anyone knows, please help me out here. Regards. -Iftikhar (1 Reply)
Discussion started by: syedifti
1 Replies

2. Shell Programming and Scripting

setting max log file size...

Hello all! I have found a new home, this place is great! I have been searching for days to find a way to set a max size for a log.txt file using a cron job exicuting a shell script. Is it possible for a script to remove older entries in a log file to maintain a limited file size? If so,... (5 Replies)
Discussion started by: v-rod
5 Replies

3. UNIX for Dummies Questions & Answers

Setting Default Permissions for Files

Hi, I am setting up an area on a unix server where multiple people will be editing web pages. Can anyone tell me how to set it up the directory and subdirectories so that when a user creates a new file, it defaults to permissions of 664 or 775? I've tried using umask but from what I can... (1 Reply)
Discussion started by: robbieg
1 Replies

4. Shell Programming and Scripting

Setting Col size

I have a variable in a shell script which is more than 80 characters. 1) I log into SQL plus and populate a variable using 3 queries appended by ,' comma'. ORAINFO=`sqlplus -s << ! / as sysdba set feedback off set heading off select LOG_MODE... (2 Replies)
Discussion started by: yerra
2 Replies

5. Solaris

File size setting

There is a file in my Unix Server whose size will be constant. But every day when the sheduled jobs run in the server, that file gets updated but the size does not change. Upon doing file filename It is dispalyed as a binary file. Can anyone please explain how that file is created. How is... (3 Replies)
Discussion started by: exterminator
3 Replies

6. Linux

grub: setting a default OS?

I have a dual-boot system (just testing it out, really -- 32-bit Xubuntu 8.10 and 64-bit Ubuntu 9.04) and I'd like to set the computer to boot to the second OS unless I tell it otherwise. Is there a way to do that? (2 Replies)
Discussion started by: CRGreathouse
2 Replies

7. AIX

default umask setting during ftp

Hi all, How do i change the default primary group of files uploaded in AIX (via ftp) in such a way that the files will be owned by tom:staff? I understand that the default file permission can be set in /etc/profile for aix by adding a new line umask=032 Do I add a line in umask as well?... (5 Replies)
Discussion started by: chipahoys
5 Replies

8. Solaris

default password setting

Can anyone kindly explain to me the meaning of the default values of the code below please? Thank you very much #MINDIFF=3 #MINALPHA=2 #MINNONALPHA=1 #MINUPPER=0 #MINLOWER=0 #MAXREPEATS=0 #MINSPECIAL=0 #MINDIGIT=0 #WHITESPACE=YES (1 Reply)
Discussion started by: cjashu
1 Replies

9. UNIX for Dummies Questions & Answers

Is there any $PATH default setting?

This is a very newbie's question: I was trying to add a new version of the same command "blastn", but the old command always shows up first. which blastn /usr/local/bin/blastnThe two versions of the same command "blastn" are located in: which -a blastn /usr/local/bin/blastn... (5 Replies)
Discussion started by: yifangt
5 Replies

10. Solaris

Is there a difference between setting a user as nologin and setting it as a role?

Trying to figure out the best method of security for oracle user accounts. In Solaris 10 they are set as regular users but have nologin set forcing the dev's to login as themselves and then su to the oracle users. In Solaris11 we have the option of making it a role because RBAC is enabled but... (1 Reply)
Discussion started by: os2mac
1 Replies
IMAGECREATEFROMSTRING(3)						 1						  IMAGECREATEFROMSTRING(3)

imagecreatefromstring - Create a new image from the image stream in the string

SYNOPSIS
resource imagecreatefromstring (string $image) DESCRIPTION
imagecreatefromstring(3) returns an image identifier representing the image obtained from the given $image. These types will be automati- cally detected if your build of PHP supports them: JPEG, PNG, GIF, WBMP, and GD2. PARAMETERS
o $image - A string containing the image data. RETURN VALUES
An image resource will be returned on success. FALSE is returned if the image type is unsupported, the data is not in a recognised for- mat, or the image is corrupt and cannot be loaded. EXAMPLES
Example #1 imagecreatefromstring(3) example <?php $data = 'iVBORw0KGgoAAAANSUhEUgAAABwAAAASCAMAAAB/2U7WAAAABl' . 'BMVEUAAAD///+l2Z/dAAAASUlEQVR4XqWQUQoAIAxC2/0vXZDr' . 'EX4IJTRkb7lobNUStXsB0jIXIAMSsQnWlsV+wULF4Avk9fLq2r' . '8a5HSE35Q3eO2XP1A1wQkZSgETvDtKdQAAAABJRU5ErkJggg=='; $data = base64_decode($data); $im = imagecreatefromstring($data); if ($im !== false) { header('Content-Type: image/png'); imagepng($im); imagedestroy($im); } else { echo 'An error occurred.'; } ?> The above example will output something similar to:[NOT DISPLAYABLE MEDIA]Output of example : imagecreatefromstring() SEE ALSO
imagecreatefromjpeg(3), imagecreatefrompng(3), imagecreatefromgif(3), imagecreatetruecolor(3). PHP Documentation Group IMAGECREATEFROMSTRING(3)
All times are GMT -4. The time now is 02:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy