Hi all,
i have run iostat -em, and get below result. Can i know what is this output meaning, and how to fix that problem.
iostat -em
---- errors ---
device s/w h/w trn tot
sd7 0 1 0 1
sd8 1 1 0 2
sd9 0 1 0 1
sd10 0 ... (2 Replies)
All,
I am attempting to help tune a Sun for better performance (mainly for SAS 9.1), and have found indicators pointing to poor I/O utilization. I have run iostat -cx, and found one device in particular where the %w is in the 90's during processing. I have a feeling that this is where the SAS... (3 Replies)
Hi All AIX expert
i'm using AIX 5.2
When i execute this command which is :
----------------------------------------------------------------------
>> iostat -a
System configuration: lcpu=4 disk=30
tty: tin tout avg-cpu: % user % sys % idle % iowait
... (2 Replies)
Sorry for asking basics. What exactly is the situation if device ID is same in iostat -Eni. What we must do then? Is there any relation b/w iostat and cfgadm? (3 Replies)
Friends.
I have to compare iostat -x output with a tool on solaris. Now there is column called wait in the output field which is showing zero. Now, in order to create some load on my system this is what i am doing
I am creating a file using dd command , the size of which is... (5 Replies)
A find for the "iostat" command on a redhat 5 update 4 comes back with no results.
Any separate rpm needs to be installed to get the binary for this ?
Thanks in advance. (1 Reply)
I all,
I would like to know what are the causes of :
-soft error
-harderror
-transport error
and how to avoid and repare them.
I got the iostat out put below:
atng-mm01% iostat -En | grep -i hard
c0t0d0 Soft Errors: 1 Hard Errors: 0 Transport Errors: 0
c0t0d1 ... (3 Replies)
Hi Unix experts,
I have a question regarding a disk failure seen in "iostat -Enm" output:
# iostat -Enm
c1t0d0 Soft Errors: 0 Hard Errors: 7 Transport Errors: 9
Vendor: FUJITSU Product: MAU3073NCSUN72G Revision: 0802 Serial No: 0514F005M0
Size: 73.40GB <73400057856 bytes>
Media... (5 Replies)
Hello everyone,
Can you please explain me what kind of information do IOSTAT show ?
iostat -xnz 3 show me those informations:
The I/O of the c0t0d0 disk is normal ?
extended device statistics
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
0.0 ... (3 Replies)
Discussion started by: adilyos
3 Replies
LEARN ABOUT SUNOS
wsreg_can_access_registry
wsreg_can_access_registry(3WSREG) Product Install Registry Library Functions wsreg_can_access_registry(3WSREG)NAME
wsreg_can_access_registry - determine access to product install registry
SYNOPSIS
cc [flag ...] file ...-lwsreg [library ...]
#include <fcntl.h>
#include <wsreg.h>
int wsreg_can_access_registry(int access_flag);
DESCRIPTION
The wsreg_can_access_registry() function is used to determine what access, if any, an application has to the product install registry.
The access_flag argument can be one of the following:
O_RDONLY Inquire about read only access to the registry.
O_RDWR Inquire about modify (read and write) access to the registry.
RETURN VALUES
The wsreg_can_access_registry() function returns non-zero if the specified access level is permitted. A return value of 0 indicates the
specified access level is not permitted.
EXAMPLES
Example 1: Initialize the registry and determine if access to the registry is permitted.
#include <fcntl.h>
#include <wsreg.h>
int main(int argc, char **argv)
{
int result;
if (wsreg_initialize(WSREG_INIT_NORMAL, NULL)) {
printf("conversion recommended, sufficient access denied
");
}
if (wsreg_can_access_registry(O_RDONLY)) {
printf("registry read access granted
");
} else {
printf("registry read access denied
");
}
if (wsreg_can_access_registry(O_RDWR)) {
printf("registry read/write access granted
");
} else {
printf("registry read/write access denied
");
}
}
USAGE
The wsreg_initialize(3WSREG) function must be called before calls to wsreg_can_access_registry() can be made.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO wsreg_initialize(3WSREG), attributes(5)SunOS 5.10 22 Sep 2000 wsreg_can_access_registry(3WSREG)