10 More Discussions You Might Find Interesting
1. Solaris
So,
We have a Netapp storage solution. We have Sparc T4-4s running with LDOMS and client zones in the LDOMS, We are using FC for storage comms. So here's the basic setup
FC luns are exported to the primary on the Sparc box. using LDM they are then exported to the LDOM using vdisk. at the... (4 Replies)
Discussion started by: os2mac
4 Replies
2. Solaris
I added a disk to a zpool using "zpool add diskname"
My intention was mirror a zpool disk that no mirror; that is a zpool with only one disk. I did not issue the right command. Now, the disk has been added successfully but I cannot remove nor detach it as Solaris 11 thinks it has data on it... (14 Replies)
Discussion started by: LittleLebowski
14 Replies
3. Solaris
Hi ,
One of my zone went down and when i booted it up i could see the pool in degraded state with some check sum errors . we have brought the pool online after scrubbing. But few files are showing this error
Bad exchange descriptor
Please let me know how to remove these files (2 Replies)
Discussion started by: chidori
2 Replies
4. Shell Programming and Scripting
i have to use the exported variable from one script into another script
ex :
A.ksh
# !/bin/ksh
chk1=56
export chk1
B.ksh
# !/bin/ksh
echo $chk1
i have executed the... (6 Replies)
Discussion started by: urfrnddpk
6 Replies
5. Solaris
Hi,
I have the following executable in cron:
10 * * * 1-5 /apps/bin/dmg_cronlaunch -ENVI ENVIRONMENT -EXE exec -FILE ratespb_sdos_prdf_`TZ=US/Eastern;date +\%Y\%m\%d\%H\%M\%S`.sdos > /tmp/dmg_exec.log.`/usr/bin/date +\%Y_\%m_\%d_\%H:\%M:\%S` 2>&1
Comprised of the following:
... (13 Replies)
Discussion started by: Cvg
13 Replies
6. Shell Programming and Scripting
Hi
I'm hoping someone can tell me how to extend the scope of an exported function in the korn shell.
I have written a function in a file that I dot in from my .kshrc file and it works fine.
However I would like this function to be available to anyone in a certain group on the machine... (10 Replies)
Discussion started by: steadyonabix
10 Replies
7. Shell Programming and Scripting
Dear All,How can use a variable which I have exported when I am logged into one user to be used once I su to another user.something like 1.Login to Unix box as user12. export var1="TEST"3. su - user24. User the var1 value ( it should return TEST)I have checked just export does not work. any other... (1 Reply)
Discussion started by: rahulkav
1 Replies
8. Solaris
I am not seeing anyway to remove a LUN from a Zpool...
Am I missing something? or do i have to destroy the zpool and recreate it? (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
9. Shell Programming and Scripting
Greeting to all of you!
I've small issue related to the variable which we are setting and exporting through scripts, in one of the script there are some variable used but I am not abel to get the detail as where they are set. I tried finding the detail with the help of env but no luck.
... (2 Replies)
Discussion started by: kumarmani
2 Replies
10. UNIX for Dummies Questions & Answers
What is the difference between a shell variable that is exported and the one that is not exported? (1 Reply)
Discussion started by: JosephGerard
1 Replies
install::TempContent::Objects::mod_perl-2.0.9::docs::apiUserRContribuinstall::TempContent::Objects::mod_perl-2.0.9::docs::api::APR::BucketAlloc(3)
NAME
APR::BucketAlloc - Perl API for Bucket Allocation
Synopsis
use APR::BucketAlloc ();
$ba = APR::BucketAlloc->new($pool);
$ba->destroy;
Description
"APR::BucketAlloc" is used for bucket allocation.
"new"
Create an "APR::BucketAlloc" object:
$ba = APR::BucketAlloc->new($pool);
class: "APR::BucketAlloc"
arg1: $pool ( "APR::Pool object" )
The pool used to create this object.
ret: $ba ( "APR::BucketAlloc object" )
The new object.
since: 2.0.00
This bucket allocation list (freelist) is used to create new buckets (via "APR::Bucket->new") and bucket brigades (via
"APR::Brigade->new").
You only need to use this method if you aren't running under httpd. If you are running under mod_perl, you already have a bucket
allocation available via "$c->bucket_alloc" and "$bb->bucket_alloc".
Example:
use APR::BucketAlloc ();
use APR::Pool ();
my $ba = APR::BucketAlloc->(APR::Pool->pool);
my $eos_b = APR::Bucket::eos_create($ba);
"destroy"
Destroy an "APR::BucketAlloc object":
$ba->destroy;
arg1: $ba ( "APR::BucketAlloc object" )
The freelist to destroy.
ret: no return value
since: 2.0.00
Once destroyed this object may not be used again.
You need to destroy $ba only if you have created it via "APR::BucketAlloc->new". If you try to destroy an allocation not created by this
method, you will get a segmentation fault.
Moreover normally it is not necessary to destroy allocators, since the pool which created them will destroy them during that pool's cleanup
phase.
See Also
mod_perl 2.0 documentation.
Copyright
mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0.
Authors
The mod_perl development team and numerous contributors.
perl v5.18.2 2install::TempContent::Objects::mod_perl-2.0.9::docs::api::APR::BucketAlloc(3)