10 More Discussions You Might Find Interesting
1. HP-UX
Hi,
How can I shutdown a vpar from another vpar ? Please provide the command. Thanks. (0 Replies)
Discussion started by: snchaudhari2
0 Replies
2. AIX
can anyone tell me how to reduce Fs capacity by using echo zero. (3 Replies)
Discussion started by: nkchand
3 Replies
3. HP-UX
Hi guys,
I'm moving some vPars from BL860c I2 and BL870c I2 using the DRD clone and relocation. In some case, as instance to upgrade to BL870c I2, the ERRATA document reports some additional driver to be added to the image made by the DRD and then recompile the kernel before the move to the... (0 Replies)
Discussion started by: cecco16
0 Replies
4. Solaris
Hi all, I'm using to Solaris machine. When I run a simple script this messenger come out:"limit: stacksize: Can't remove limit". Any one know the way to resolve this problem without reboot the machine?
Thanks in advance. (3 Replies)
Discussion started by: Diabolist9
3 Replies
5. AIX
Dears,
The TSM storage that we have is already configured to backup some Application,directories & logs or let's say backup different path from 15 servers, I want to add more Items to be backuped by this storage, how to be confirmed if that possible or not? I mean how do we know the capacity of... (7 Replies)
Discussion started by: arm
7 Replies
6. Shell Programming and Scripting
i need to write a shell script for printing the list of filesystems whose disk utilization is more than 75%...i tried using df -h along with awk but cud'nt make the combination work.....:wall:
when we do df -h then the filesystems which are using more than 75% capacity shud be printed according to... (11 Replies)
Discussion started by: xtatic
11 Replies
7. HP-UX
Hi All,
Please help me out in below issue in creating vPar.
We have one nPar in which we have to create 2 vPars, out of which first vPar is already created and it is running well which have local disk as a boot device.Now we have to create 2nd vPar which need to use SAN disk for booting.... (3 Replies)
Discussion started by: laxmikant
3 Replies
8. HP-UX
I wonder if anyone could assist with this.
We have taken over administration of an rp8440 that has been split into 2 nPars and has 4vPars per nPar.
I have to add a network card into one of the vPars that was missed at the time the vPar was created. That bit i have no problem with.
The... (0 Replies)
Discussion started by: Andyp2704
0 Replies
9. HP-UX
Hi
Can I use a vpar as an ignite server? (1 Reply)
Discussion started by: mahlathini
1 Replies
10. AIX
Hello everybody, is a very simple question how can I increase the capacity of a disk wich is on a DS4300?, I have done the procedure on the Storage Manager but the space is the same on the AIX (5.3) , what should I do to obtain the new ammount of disk space? (16 Replies)
Discussion started by: GermanSkull
16 Replies
Resource(3I) Resource(3I)
NAME
Resource - shared object
SYNOPSIS
#include <InterViews/resource.h>
DESCRIPTION
Resource is a class that provides a simple form of reference counting for shared objects. Every resource has a reference count that is
initially set to zero and must be explicitly incremented through a call to Reference. A resource should not be deleted like other objects;
instead, the static member function unref should be used to unreference the object.
When a resource is unreferenced, the reference count is decremented unless it is already zero. If the count is zero, the object is
destroyed.
PUBLIC OPERATIONS
Resource()
Create a new resource object with its reference count set to zero.
void ref()
Increment the resource's reference count.
void unref()
Decrement the resource's reference count, if it is positive, and delete this if the count is zero.
static void ref(Resource*)
If the resource is not nil, call ref on it. Otherwise do nothing.
static void unref(Resource*)
If the resource is not nil, call unref on it. Otherwise do nothing.
void Reference()
This function is equivalent to ref and is provided solely for backward compatibility. It will be removed in a future version.
void Unreference()
This function is equivalent to unref and is provided solely for backward compatibility. It will be removed in a future version.
FRIEND OPERATIONS
void Unref(Resource*)
This function is equivalent to static unref and is provided solely for backward compatibility. It will be removed in a future ver-
sion.
BUGS
This scheme relies on manual referencing, which is more efficient, but also more dangerous.
When garbage collection is supported by the runtime system, resources will be unnecessary.
InterViews Reference Manual Resource(3I)