10 More Discussions You Might Find Interesting
1. Solaris
I am new to SOlaris OS, compilation using make files etc.
I have a code base that I am trying to compile under Solaris 2.5 OS. IT has a folder structure, where the root folder contains the master make file which calls each of the make files present in the subfolders to compile the code in... (1 Reply)
Discussion started by: rajujayanthy
1 Replies
2. UNIX for Dummies Questions & Answers
Is there a generic method for applying word wrap to all cells for a .csv file? (6 Replies)
Discussion started by: jimmyf
6 Replies
3. Red Hat
Hi everyone, my name is chinx. I am new to Linux and new to this forum.
I am trying to install Red Hat 9.0 on my MSi Laptop. But when I try to boot the CD, after selecting either GUI or CLI type of installation, I get this:
PCI: 00.03.3 PCI cache line size set incorrectly (32 bytes) ... ... (1 Reply)
Discussion started by: LinuxNewbs
1 Replies
4. Linux
Hi All,
could any one point out any open source test-suites for "File cache" testing and as well as performance test suites for the same. Currently my system is up with Linux/ext4.
Regards
Manish (0 Replies)
Discussion started by: hmanish
0 Replies
5. Shell Programming and Scripting
#!/bin/sh
##########################################################################################################
#This script is being used for AOK application for cleaning up the .out files and zip it under logs directory.
# IBM
# Created
#For pdocap201/pdoca202 .out files for AOK
#1.... (0 Replies)
Discussion started by: mridul10_crj
0 Replies
6. Linux
Is there any way to know the L2 cache size from examinging to boot log. Here is my boot logLinux version 2.6.13-jaluna (root@localhost.localdomain) (gcc version 3.2.2) #4
Thu Apr 23 23:16:10 EDT 2009
TMS320DM643X port (C) VirtualLogix and others
Designed for the EVMDM6437 board, Spectrum Digital... (3 Replies)
Discussion started by: mourya
3 Replies
7. Linux
Hi all
I saw in Microsoft web site www.SysInternals.com a tool called CoreInfo from able to print out on screen the size of the Data and Instruction caches of your processor, the Locigal to Physical Processor mapping, the number of the CPU sockets. etc..
Do you know if in Linux is available a... (2 Replies)
Discussion started by: manustone
2 Replies
8. Solaris
hi all,
in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders...
please help me, how can i find the total size of these specific files in the server... (3 Replies)
Discussion started by: abhinov
3 Replies
9. Red Hat
hi everyone,
can any one help change the buffer cache size in redhat and suse?? this error i got when i installed oracle 10g and it went well and when i try to mount the database using startup cmd it says too many buffer cache parameters (error code : ora-1034)
thnq in advance (0 Replies)
Discussion started by: gsr_kashyap
0 Replies
10. UNIX for Advanced & Expert Users
hi,
What is the difference between UBC cache and Metadata cache ? where can i find UBC cache Hits and Metadata cache Hits in hp-ux?
Advanced thanx for the help. (2 Replies)
Discussion started by: sushaga
2 Replies
Cache::BaseCache(3pm) User Contributed Perl Documentation Cache::BaseCache(3pm)
NAME
Cache::BaseCache -- abstract cache base class
DESCRIPTION
BaseCache provides functionality common to all instances of a cache. It differes from the CacheUtils package insofar as it is designed to
be used as superclass for cache implementations.
SYNOPSIS
Cache::BaseCache is to be used as a superclass for cache implementations. The most effective way to use BaseCache is to use the protected
_set_backend method, which will be used to retrieve the persistance mechanism. The subclass can then inherit the BaseCache's implentation
of get, set, etc. However, due to the difficulty inheriting static methods in Perl, the subclass will likely need to explicitly implement
Clear, Purge, and Size. Also, a factory pattern should be used to invoke the _complete_initialization routine after the object is
constructed.
package Cache::MyCache;
use vars qw( @ISA );
use Cache::BaseCache;
use Cache::MyBackend;
@ISA = qw( Cache::BaseCache );
sub new
{
my ( $self ) = _new( @_ );
$self->_complete_initialization( );
return $self;
}
sub _new
{
my ( $proto, $p_options_hash_ref ) = @_;
my $class = ref( $proto ) || $proto;
my $self = $class->SUPER::_new( $p_options_hash_ref );
$self->_set_backend( new Cache::MyBackend( ) );
return $self;
}
sub Clear
{
foreach my $namespace ( _Namespaces( ) )
{
_Get_Backend( )->delete_namespace( $namespace );
}
}
sub Purge
{
foreach my $namespace ( _Namespaces( ) )
{
_Get_Cache( $namespace )->purge( );
}
}
sub Size
{
my $size = 0;
foreach my $namespace ( _Namespaces( ) )
{
$size += _Get_Cache( $namespace )->size( );
}
return $size;
}
SEE ALSO
Cache::Cache, Cache::FileCache, Cache::MemoryCache
AUTHOR
Original author: DeWitt Clinton <dewitt@unto.net>
Last author: $Author: dclinton $
Copyright (C) 2001-2003 DeWitt Clinton
perl v5.12.4 2009-03-01 Cache::BaseCache(3pm)