03-02-2010
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I just started working with AIX and need a little help.
Is there a command to find the size of the swap file. (1 Reply)
Discussion started by: paule
1 Replies
2. UNIX for Advanced & Expert Users
Does anyone know if when the Swap Device / Page file in unix is carrying out Page / Swap In's and Page / Swap outs, does it go through the Unix Disk Cache ( I am presuming raw partitions are not being used ) ?
Therefore if there is paging activity on a system ( measured by sar -p, sar -g and... (0 Replies)
Discussion started by: jimthompson
0 Replies
3. UNIX for Dummies Questions & Answers
I'm trying to write a shell script that accepts two file extensions as command line arguments and renames all files with the first extension within the current working directory to have the second extension instead. The script should print out error messages as is appropriate if there is any... (1 Reply)
Discussion started by: asianmike
1 Replies
4. Solaris
Hello all,
We are running a 2 gig Solaris10 system. The only application that's running on the system is ours which allocates 850MB through malloc at one shot.
For some reason this malloc keeps failing saying "Resource Temporarily Unavilable"
After some investigation, found that it goes... (7 Replies)
Discussion started by: Naanu
7 Replies
5. Solaris
Hello and thanks in advance.
I have a Sun box with raid 1 on the O/S disks using solaris svm.
I want to unmirror my swap partition, and add the slice on the second disk as an additional swap device. This would give me twice as much swap space.
I have been warned not to do this by some... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies
6. Solaris
How to add the Swap space... i know this procedure but it doesn/t work.
swap -l to see the swap space (swap -s)
Creak swap file
mkdir 100m swap.file
add the swap file
swap -a swap.file...
but it not work ..!! (9 Replies)
Discussion started by: udayn
9 Replies
7. Red Hat
free -m : 1023 total swap space
created default partition /dev/sdb1 50M using fdisk. i did write the changes.
#mkswap /dev/sdb1
#swapon /dev/sdb1
free -m : 1078 total swap space
this shows that the swap is on
Question : i did not change the type LINUX SWAP (82) in fdisk.
so why is... (5 Replies)
Discussion started by: dplinux
5 Replies
8. OS X (Apple)
I was editing a file with vi and crashed so when I opened the file again I had the .swp file to deal with. I made the wrong choice trying to recover my file and wound up with a file with no eol (end of line) characters.
I have forgotten the code to substitute and don't want to make an even... (2 Replies)
Discussion started by: gale
2 Replies
9. Solaris
Hi Solaris Folks :),
I need to calculate the swap usage on solaris server, please let me understand the output of below swap -s and swap -l commands.
$swap -s
total: 1774912k bytes allocated + 240616k reserved = 2015528k used, 14542512k available
$swap -l
swapfile dev swaplo... (6 Replies)
Discussion started by: seenuvasan1985
6 Replies
10. Solaris
Hi all,
Q1) Due to application requirement, i am required to have more swap space.
Currently my swap is on a partition with 32GB.
I have another partition with 100GB, but it already has a UFS filesystem on it.
Can i just swap -d /dev/dsk/current32gb and swap -a /dev/dsk/ufs100gb ?
Will... (17 Replies)
Discussion started by: javanoob
17 Replies
LEARN ABOUT DEBIAN
catalyst::view::petal
Catalyst::View::Petal(3pm) User Contributed Perl Documentation Catalyst::View::Petal(3pm)
NAME
Catalyst::View::Petal - Petal View Class
SYNOPSIS
# use the helper
create.pl view Petal Petal
# lib/MyApp/View/Petal.pm
package MyApp::View::Petal;
use base 'Catalyst::View::Petal';
__PACKAGE__->config(
input => 'XML',
output => 'XML',
error_on_undef_var => 0
);
1;
# Meanwhile, maybe in an 'end' action
$c->forward('MyApp::View::Petal');
DESCRIPTION
This is the "Petal" view class. Your subclass should inherit from this class.
METHODS
process
Renders the template specified in "$c->stash->{template}" or "$c->request->match". Template variables are set up from the contents of
"$c->stash", augmented with "base" set to "$c->req->base", "c" to $c and "name" to "$c->config->{name}". Output is stored in
"$c->response->body".
config
This allows your view subclass to pass additional settings to the Petal config hash.
SEE ALSO
Petal, Catalyst, Catalyst::Base.
AUTHOR
Christian Hansen, "ch@ngmedia.com"
COPYRIGHT
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2009-08-10 Catalyst::View::Petal(3pm)