Exacct::Object::Item man page on OpenIndiana

Man page or keyword search:  
man Server   20441 pages
apropos Keyword Search (all sections)
Output format
OpenIndiana logo
[printable version]

Exacct::Object::Item(3PERL) Perl Library Functions Exacct::Object::Item(3PERL)

NAME
       Exacct::Object::Item - exacct item manipulation

SYNOPSIS
       use Sun::Solaris::Exacct::Object;
       my $ea_item = Sun::Solaris::Exacct::Object::Item->new(
	   &EXT_UINT64 | &EXC_DEFAULT | &EXD_PROC_PID, $$);

DESCRIPTION
       This  module  is	 used  for  manipulating libexacct(3LIB) data Items. A
       libexacct Item is represented as an opaque reference blessed  into  the
       Sun::Solaris::Exacct::Object::Item  class,  which  is a subclass of the
       Sun::Solaris::Exacct::Object class. The underlying libexacct data types
       are mapped onto Perl types as follows:

	     libexacct type		      Perl internal type
       EXT_UINT8		     IV (integer)
       EXT_UINT16		     IV (integer)
       EXT_UINT32		     IV (integer)
       EXT_UINT64		     IV (integer)
       EXT_DOUBLE		     NV (double)
       EXT_STRING		     PV (string)
       EXT_RAW			     PV (string)
       EXT_EXACCT_OBJECT	     Sun::Solaris::Exacct::Object subclass

   Constants
       None.

   Functions
       None.

   Class methods
       Class	  methods     include	  those	    inherited	  from	   the
       Sun::Solaris::Exacct::Object base class, plus the following:

       new($catalog, $value)	This  method  creates  and   returns   a   new
				Sun::Solaris::Exacct::Object::Item.  The cata‐
				log  tag  can  be  either  an  integer	or   a
				Sun::Solaris::Exacct::Catalog.	 This  catalog
				tag controls the conversion of the Perl	 value
				to  the corresponding Perl exacct data type as
				described in the table above. If  the  catalog
				tag has a type field of EXT_EXACCT_OBJECT, the
				value must be a reference to either an Item or
				a Group object and the passed object is recur‐
				sively copied and stored inside the new	 Item.
				Because	 the  returned Item is constant, it is
				impossible, for example,  to  create  an  Item
				representing CPU seconds and subsequently mod‐
				ify its value or  change  its  catalog	value.
				This  behavior	is  intended  to  prevent mis‐
				matches between the catalog tag and  the  data
				value.

   Object methods
       Object	   methods	are	 those	    inherited	  from	   the
       Sun::Solaris::Exacct::Object.

   Exports
       None.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Availability		     │SUNWpl5u			   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │Committed			   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       Exacct(3PERL),	    Exacct::Catalog(3PERL),	  Exacct::File(3PERL),
       Exacct::Object(3PERL),  Exacct::Object::Group(3PERL),  libexacct(3LIB),
       attributes(5)

SunOS 5.11			  1 Dec 2002	   Exacct::Object::Item(3PERL)
[top]

List of man pages available for OpenIndiana

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net