kstat(7D) Devices kstat(7D)NAME
kstat - kernel statistics driver
DESCRIPTION
The kstat driver is the mechanism used by the kstat(3KSTAT) library to extract kernel statistics. This is NOT a public interface.
FILES
/dev/kstat kernel statistics driver
SEE ALSO kstat(3KSTAT), kstat(9S)SunOS 5.10 26 May 1994 kstat(7D)
Check Out this Related Man Page
kstat_lookup(3KSTAT) Kernel Statistics Library Functions kstat_lookup(3KSTAT)NAME
kstat_lookup, kstat_data_lookup - find a kstat by name
SYNOPSIS
cc [ flag... ] file... -lkstat [ library...]
#include <kstat.h>
kstat_t *kstat_lookup(kstat_ctl_t *kc, char *ks_module, int ks_instance,
char *ks_name);
void *kstat_data_lookup(kstat_t *ksp, char *name);
DESCRIPTION
The kstat_lookup() function traverses the kstat chain, kc->kc_chain, searching for a kstat with the same ks_module, ks_instance, and
ks_name fields; this triplet uniquely identifies a kstat. If ks_module is NULL, ks_instance is -1, or ks_name is NULL, those fields will
be ignored in the search. For example, kstat_lookup(kc, NULL, -1, "foo") will find the first kstat with name "foo".
The kstat_data_lookup() function searches the kstat's data section for the record with the specified name. This operation is valid only for
those kstat types that have named data records: KSTAT_TYPE_NAMED and KSTAT_TYPE_TIMER.
RETURN VALUES
The kstat_lookup() function returns a pointer to the requested kstat if it is found. Otherwise it returns NULL and sets errno to indicate
the error.
The kstat_data_lookup() function returns a pointer to the requested data record if it is found. Otherwise it returns NULL and sets errno to
indicate the error .
ERRORS
The kstat_lookup() and kstat_data_lookup() functions will fail if:
EINVAL An attempt was made to look up data for a kstat that was not of type KSTAT_TYPE_NAMED or KSTAT_TYPE_TIMER.
ENOENT The requested kstat could not be found.
FILES
/dev/kstat kernel statistics driver
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Stable |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO kstat(3KSTAT), kstat_chain_update(3KSTAT), kstat_open(3KSTAT), kstat_read(3KSTAT), attributes(5)SunOS 5.11 3 Aug 2004 kstat_lookup(3KSTAT)
I have followed instructions to get the jdk for sparc, 1.3 loaded on this sparc workstation machine. I used a tar file and everything seemed to go fine. The usr/j2se directory was created with all the subdirectories and java files. However, attempting to run Java commands fails with a file not... (18 Replies)
Please help. I have downloaded the openbsd 2.9 snapshot from ftp.openbsd.org. the following files were downloaded from the snapshot dir. ( the whole dir. was downloaded ) base29,bsd,bsd.rd,cdrom29.fs,cksum,comp29,etc29,all three floppy images,game29,index,install.ata,install.chs... (11 Replies)
Hi...!
I have to connect a remote machine (solaris server) from a workstation, and I want to access the local diskette.
I like mount the local diskette in the workstation, not the remote diskette (in the server).
The server is a Solaris 2.7 in a Sun Ultra 450.
The workstations are Sun Ultra... (6 Replies)
Hi,
I'm currently an CS intern working at a small biotech company that has just opened a new office. We are working on a new project, but we were given an older Sun workstation with just a SCSI interface in the back. We don't have a systems administrator, so a couple of us have been working hard... (7 Replies)
I'm using a UNIX server to RSH into a Windows 2000 workstation... I want to run a script that deletes two directories and then go to the next workstation.
This is what I have now, but if for some reason the file is in use or not responding; the 'script' hangs. I'm wondering if anyone knows of... (7 Replies)
Hi, I am new to UNIX. I have a Sun Blade 150 worksation. I used a Dell monitor and Dell keyboard as input and output devices. However, workstation always told me that keyboard couldn't be found. I used Dell keyboard with USB and Dell keyboard with series connector. It all didn't work. Please help... (10 Replies)
i have a sun solaris workstation that want to be able to access when i'm not home.
is there way to do this? like say i have the workstation turned on at the house but say i'm in a hotel several miles away, i want to be able to access this workstation using the internet on my laptop (7 Replies)
I have a server on Solaris 8 who had a sudden reboot once and now the messages log is filled with these errors:
Mar 23 02:14:42 srt-hlr-b unix: NOTICE: kstat_create('unix', 0, 'icmp_minor_1'): cannot create kstat before kstat_init()
Mar 23 02:14:42 srt-hlr-b unix: NOTICE: kstat_create('vmem',... (10 Replies)
Every day i ftp tar.gz a file from the production server to a back up machine.. This task creates way to much traffic on the network at the end of the day and puts and undo load on the production machine during operation hours. i would like to create a script that would automatically fire off the... (36 Replies)
Hi Admins,
I just have a doubt on NIS that, is it possible to run NIS on vmware workstation running more than 1 solaris instances.
i.e. can we setup one solaris instance as master and others as slaves...??
I have vista on my laptop. I am concern about the domain name it will ask while... (8 Replies)
Hi there,
I got a pretty old HP 382 workstation, and the hdd is pretty LOUD ... ;)
So I thought I clone it to an much quiter one.
I tried this:
- removed the loud hdd
- connected it to an system running knoppix 7.0.4 (hdd is recognized with UFS filesystem; Clonezilla couldn't handle the... (9 Replies)
i have a vmware workstation with solaris 10 installed on this.
i copying 2 gb data via samba from windows to this vmware workstation.
copy speed is 24 kb/sec.
how i can speed up this copy process ? (7 Replies)