kstat_named man page on SmartOS

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

KSTAT_NAMED(9S)						       KSTAT_NAMED(9S)

NAME
       kstat_named - structure for named kstats

SYNOPSIS
       #include <sys/types.h>
       #include <sys/kstat.h>
       #include <sys/ddi.h>
       #include <sys/sunddi.h>

INTERFACE LEVEL
       Solaris DDI specific (Solaris DDI)

DESCRIPTION
       Named  kstats are an array of name-value pairs. These pairs are kept in
       the kstat_named structure. When a kstat is created by kstat_create(9F),
       the  driver  specifies  how many of these structures will be allocated.
       The structures are returned as an  array	 pointed  to  by  the  ks_data
       field.

STRUCTURE MEMBERS
	 union {
		   char			  c[16];
		   long			  l;
		   ulong_t		  ul;
		   longlong_t		  ll;
		   u_longlong_t		  ull;
	 } value;  /* value of counter */

       The only member exposed to drivers is the value member. This field is a
       union of several data types. The driver must specify which type it will
       use in the call to kstat_named_init().

SEE ALSO
       kstat_create(9F), kstat_named_init(9F)

       Writing Device Drivers

				  Apr 4, 1994		       KSTAT_NAMED(9S)
[top]

List of man pages available for SmartOS

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