04-25-2010
should paging space be mirrored ?
quick question: What is the recommended for paging space in a mirrored Volume group ( rootvg ) ?
Does mirrored paging space in rootvg impact on the performance of the AIX OS ?
What is the recommended procedure.....
10 More Discussions You Might Find Interesting
1. AIX
how do you get the paging space reduced without rebooting the machine ? the os is aix (2 Replies)
Discussion started by: aaronh
2 Replies
2. AIX
This is my first post, and I am new to the UNIX world. Hopefully this question won't be too lame.
I know that I can use topas to see the paging space used by some processes. I would like to script something that can add up the paging space used by process owned by or associated with an... (1 Reply)
Discussion started by: alntht
1 Replies
3. AIX
Greetings
I have an older box (H50) that has it's paging space setup the following way:
$ lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type
paging00 hdisk0 rootvg 224MB 1 yes yes lv
hd6 hdisk0 ... (4 Replies)
Discussion started by: outtacontrol
4 Replies
4. AIX
Hello, we have a problem with lpar with AIX 5.3, the issue is that has high level paging space with: _sqlsrv2 and its incremented continously (1 Reply)
Discussion started by: lo-lp-kl
1 Replies
5. UNIX for Dummies Questions & Answers
sorry for this silly question, I am new to UNIX,
what is meant by paging space and what is its purpose?
what is also meant by hd6 paging space? (2 Replies)
Discussion started by: docaia
2 Replies
6. AIX
Hello everyone
I have 4g of paging space in my rootvg disk
I´m going to reduce them to 1gb in my rootvg disk and add 3gb of paging space on my san disk.
My rootvg disk is mirror.
My question is I can do this on line ?
and I can do with the mirror ? or I need to unmirror first my... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies
7. AIX
Hi
I have used gzip on AIX and the used paging space has jumped from 7% to 20%. The gzip process is finished since a long time. But the used paging space is still the same. How to release this space ? (1 Reply)
Discussion started by: bfarah
1 Replies
8. AIX
Hello everyone
I have a doubt about how many paging space can have in the same disk.
lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type
paging00 hdisk0 rootvg 3072MB 1 yes yes lv
hd6 hdisk0 ... (4 Replies)
Discussion started by: lo-lp-kl
4 Replies
9. AIX
Hello dear friends, We have VG filevg which consists of 2 PVs when I rechecked the VG there is no Pagingspace LV.. The VG is usually Highly loaded because much reads and writes.. Is this a must to create Paging space on the specified LV? (2 Replies)
Discussion started by: Vit0_Corleone
2 Replies
10. AIX
Whilst perfoming some tests on lvm's I managed to crash our test box. No real problem as it is only used by our tech team.
however I would like to know why this was actually caused as the task being performed at the time was one which I though would not have any impact.
Using dd I was... (5 Replies)
Discussion started by: tugger
5 Replies
LEARN ABOUT DEBIAN
cgi::pretty
CGI::Pretty(3pm) User Contributed Perl Documentation CGI::Pretty(3pm)
NAME
CGI::Pretty - module to produce nicely formatted HTML code
SYNOPSIS
use CGI::Pretty qw( :html3 );
# Print a table with a single data element
print table( TR( td( "foo" ) ) );
DESCRIPTION
CGI::Pretty is a module that derives from CGI. It's sole function is to allow users of CGI to output nicely formatted HTML code.
When using the CGI module, the following code:
print table( TR( td( "foo" ) ) );
produces the following output:
<TABLE><TR><TD>foo</TD></TR></TABLE>
If a user were to create a table consisting of many rows and many columns, the resultant HTML code would be quite difficult to read since
it has no carriage returns or indentation.
CGI::Pretty fixes this problem. What it does is add a carriage return and indentation to the HTML code so that one can easily read it.
print table( TR( td( "foo" ) ) );
now produces the following output:
<TABLE>
<TR>
<TD>foo</TD>
</TR>
</TABLE>
Recommendation for when to use CGI::Pretty
CGI::Pretty is far slower than using CGI.pm directly. A benchmark showed that it could be about 10 times slower. Adding newlines and spaces
may alter the rendered appearance of HTML. Also, the extra newlines and spaces also make the file size larger, making the files take longer
to download.
With all those considerations, it is recommended that CGI::Pretty be used primarily for debugging.
Tags that won't be formatted
The following tags are not formatted: <a>, <pre>, <code>, <script>, <textarea>, and <td>. If these tags were formatted, the user would see
the extra indentation on the web browser causing the page to look different than what would be expected. If you wish to add more tags to
the list of tags that are not to be touched, push them onto the @AS_IS array:
push @CGI::Pretty::AS_IS,qw(XMP);
Customizing the Indenting
If you wish to have your own personal style of indenting, you can change the $INDENT variable:
$CGI::Pretty::INDENT = " ";
would cause the indents to be two tabs.
Similarly, if you wish to have more space between lines, you may change the $LINEBREAK variable:
$CGI::Pretty::LINEBREAK = "
";
would create two carriage returns between lines.
If you decide you want to use the regular CGI indenting, you can easily do the following:
$CGI::Pretty::INDENT = $CGI::Pretty::LINEBREAK = "";
AUTHOR
Brian Paulsen <Brian@ThePaulsens.com>, with minor modifications by Lincoln Stein <lstein@cshl.org> for incorporation into the CGI.pm
distribution.
Copyright 1999, Brian Paulsen. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Bug reports and comments to Brian@ThePaulsens.com. You can also write to lstein@cshl.org, but this code looks pretty hairy to me and I'm
not sure I understand it!
SEE ALSO
CGI
perl v5.14.2 2011-01-24 CGI::Pretty(3pm)