GETENCSTAT(8) BSD System Manager's Manual GETENCSTAT(8)NAME
getencstat -- get SCSI Environmental Services Device enclosure status
SYNOPSIS
getencstat [-v] device [device ...]
DESCRIPTION
getencstat gets summary and detailed SCSI Environmental Services (or SAF-TE) device enclosure status. The overall status is printed out. If
the overall status is considered okay, nothing else is printed out (unless the -v option is used).
A SCSI Environmental Services device enclosure may be either in the state of being OK, or in one or more of the states of INFORMATIONAL,
NON-CRITICAL, CRITICAL, or UNRECOVERABLE states. These overall states reflect a summary of the states of each object within such a device
(such as power supplies or disk drives).
With the -v option, the status of all objects within the device is printed, whether OK or not. Along with the status of each object is the
object identifier.
The user may then use setencstat(8) to try and clear overall device status, or may use setobjstat(8) to set specific object status.
FILES
/dev/sesN SCSI Environmental Services Devices
SEE ALSO ses(4), sesd(8), setencstat(8), setobjstat(8)BSD February 21, 2000 BSD
Check Out this Related Man Page
sesio(7I) Ioctl Requests sesio(7I)NAME
sesio - enclosure services device driver interface
SYNOPSIS
#include <sys/sesio.h>
DESCRIPTION
The ses device driver provides the following ioctls as a means to access SCSI enclosure services devices.
IOCTLS
The ses driver supports the following ioctls:
SES_IOCTL_GETSTATE This ioctl obtains enclosure state in the ses_ioctl structure.
SES_IOCTL_SETSTATE This ioctl is used to set parameters on the enclosure services device. The ses_ioctl structure is used to pass
information into the driver.
ERRORS
EIO The ses driver was unable to obtain data from the enclosure services device or the data transfer could not be completed.
ENOTTY The ses driver does not support the requested ioctl function.
ENXIO The enclosure services device does not exist.
EFAULT The user specified a bad data length.
STRUCTURES
The ses_ioctl structure has the following fields:
uint32_t; /* Size of buffer that follows */
uint8_t page_code: /* Page to be read/written */
uint8_t reserved[3]; /* Reserved; Set to 0 */
unit8t buffer[1]; /* Size arbitrary, user specifies */
EXAMPLES
Example 1: Using the SES_IOCTL_GETSTATE ioctl
The following example uses the SES_IOCTL_GETSTATE ioctl to recover 20 bytes of page 4 from a previously opened device.
char abuf[30];
struct ses_ioctl *sesp;
int status;
sesp = (ses_ioctl *)abuf;
sesp->size = 20;
sesp->page_code = 4;
status = ioctl(fd, SES_IOCTL_GETSTATE, abuf);
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Architecture |SPARC |
+-----------------------------+-----------------------------+
SEE ALSO ses(7D), ioctl(9E)SunOS 5.10 27 Mar 1997 sesio(7I)
Hi all !
Yesterday I defined an environmental variable PATH, but today when I restarted machine, I could not see that it was stored any place.
Is there any file where I could save the settings ?
I have quite a few env.variables defined, so I need a smarter way to define.
regards
D (5 Replies)
I am new to this socket programming stuff. I have a problem to fix.. i got the error message. "CRITICAL 11/08/05 12:06:26 _getsockopt reports error. errno: 239"
can some please help me with this.. how do i go about fixing this error.
thanx in advance.. (0 Replies)
HI ALL,
I invoked this command "errpt -a | more " then I got tis message in the server
LABEL: EPOW_SUS_CHRP
IDENTIFIER: BE0A03E5
Date/Time: Thu Apr 10 19:37:57 SAUS
Sequence Number: 9038
Machine Id: 003AFDBC4C00
Node Id: jbvrprd
Class: H... (1 Reply)
Hi,
I am trying to start a java program from nagios event handler at CRITICAL + SOFT + 3 or CRITICAL + HARD status.
My Observations:
I used the echo command in mytest.sh and am getting the result in the nagios.debug log file.
But when I am running the java command in mytest.sh... (0 Replies)
I want to be able to access an environment variable to control how a program is compiled.
So:
export MY_VERSN=9
Then ideally, within my C++ code, I would have
#if MY_VERSN = 9
iret = FRED9()
#else
iret = FRED()
#endif
The way I thought I could do it is that in the script that... (2 Replies)
All if you have used RedHat Directory Services, I'm trying to put a posix groupid on the groups and can't figure out a way to do so. If you have had any success in this area please let me know. Thank You (0 Replies)
Hello All,
We have a v245 that powered itself off for no reason. Searching around we discovered there is a bug were a temp error is being reported but doesnt actually exist, SUN released an EPIC update, the README is shown below but even after upgrading the ALOM to the latest v1.6.10 we do not... (8 Replies)
System: PowerPC_POWER6
OS: AIX 5.x
I was told that a disk (hdisk 10) is bad. How can I find "the serial # of the storage enclosure" from command line? How do I find which disk is on which enclosure?
Thank you in advance! :)
---------- Post updated at 12:33 PM ---------- Previous update... (2 Replies)
Please find the input file as given below:
2012/02/29 11:00:00~~CRITICAL~For customer 00000476 no daily files were found in the 010137933 account directory.
2012/02/29 11:00:00~~CRITICAL~For customer 05006802 no daily files were found in the 010115166 account directory.
2012/02/29... (0 Replies)
Hi,
I have got a slot within my C3000 blade enclosure populated with a HP SB40c (StorageWorks). This is essentially a disk array for the blades to access within my C3000 enclosure.
I can see from my OA that it is currently powered off. Can anybody suggest what is required in order to get... (0 Replies)