kstat2_lookup_map(3kstat2) 맨 페이지 - 윈디하나의 솔라나라
|
|
개요
- 솔라나라에 설명된 어플리케이션에 대해 맨 페이지를 찾아 출력한다.
- MAN 페이지에 대한 설명은 윈디하나의 솔라나라: MAN 페이지을 참고하자.
svcadm(1M)
을 검색하려면 섹션
에서 1M
을 선택하고, 맨 페이지 이름
에 svcadm
을 입력하고 검색을 누른다.
kstat2_lookup_map(3kstat2)
Kernel Statistics Library Functions, Version 2
kstat2_lookup_map(3KSTAT2)
NAME
kstat2_lookup_map - look up kstat2 data by name
SYNOPSIS
cc [ flag... ] file... -lkstat2 [ library...]
#include <kstat2.h>
kstat2_status_t kstat2_lookup_map(kstat2_handle_t handle,
const char *uri, kstat2_map_t *map);
DESCRIPTION
The kstat2_lookup_map() function obtains a reference to a kstat2 map
given the URI of the map.
RETURN VALUES
Upon successful completion, the kstat2_lookup_map() function will set
the map parameter to reference the relevant map and KSTAT2_S_OK will be
returned.
If the requested item cannot be found, the map reference will be set to
NULL and an error will be returned.
ERRORS
The kstat2_lookup_map() function will fail if:
KSTAT2_S_INVAL_ARG the handle, uri or map reference are NULL
KSTAT2_S_NOT_FOUND the requested map could not be found
FILES
/dev/kstat kernel statistics driver
/usr/include/kstat2.h header
EXAMPLES
See the kstat2(3KSTAT2) manpage.
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
TRIBUTE VALUE _ Interface StabilityCommitted _ MT-LevelMT-Safe with
exceptions
SEE ALSO
kstat2(3KSTAT2), kstat2_close(3KSTAT2), kstat2_map_get(3KSTAT2),
kstat2_map_get_userdata(3KSTAT2), kstat2_map_meta(3KSTAT2),
kstat2_map_parent(3KSTAT2), kstat2_map_put_integer(3KSTAT2),
kstat2_map_put_integers(3KSTAT2), kstat2_map_put_string(3KSTAT2),
kstat2_map_put_strings(3KSTAT2), kstat2_map_remove(3KSTAT2),
kstat2_map_set_data_cb(3KSTAT2), kstat2_map_set_destroy_cb(3KSTAT2),
kstat2_map_set_tree_cb(3KSTAT2), kstat2_map_set_userdata(3KSTAT2),
kstat2_map_size(3KSTAT2), kstat2_map_to_array(3KSTAT2),
kstat2_map_uri(3KSTAT2), kstat2_mapiter_end(3KSTAT2),
kstat2_mapiter_hasnext(3KSTAT2), kstat2_mapiter_next(3KSTAT2),
kstat2_mapiter_remove(3KSTAT2), kstat2_mapiter_start(3KSTAT2),
kstat2_mapref_alloc(3KSTAT2), kstat2_mapref_deref(3KSTAT2),
kstat2_mapref_free(3KSTAT2), kstat2_nv_meta(3KSTAT2),
kstat2_open(3KSTAT2), kstat2_status_string(3KSTAT2),
kstat2_update(3KSTAT2), kstat2_uri_decode(3KSTAT2),
kstat2_uri_encode(3KSTAT2), libkstat2(3LIB)
NOTES
The kstat2 functions are MT-Safe with the exception that only one
thread may actively use a kstat2_handle_t, or any object obtained
through it, at any one time. Synchronization is required if multiple
threads intend to share a kstat2_handle_t or any object obtained
through it. Synchronization is left to the application.
Oracle Solaris 11.4 03 Nov 2016
kstat2_lookup_map(3KSTAT2)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.