8 More Discussions You Might Find Interesting
1. Red Hat
HI,
How do we figure out if the server is half blade server or full blade server?
Anything we need to look at to know on this?
thanks in advance (9 Replies)
Discussion started by: snchaudhari2
9 Replies
2. Programming
Hello All,
I am a learner in C++. I was testing my inheritance knowledge with following piece of code.
#include <iostream>
using namespace std;
class base
{
public :
void display()
{
cout << "In base display()" << endl;
}
void display(int k)
{... (2 Replies)
Discussion started by: anand.shah
2 Replies
3. Programming
I have the two class definition as follows.
class A { public: int a; };
class B : virtual public A{ };
The size of class A is shown as 4, and size of class B is shown as 16. Why is this effect ?. (2 Replies)
Discussion started by: techmonk
2 Replies
4. UNIX for Advanced & Expert Users
Hi all!
I am trying to register a device in an existing device class, but I am
having trouble getting the pointer to an existing class.
I can create a class in a module, get the pointer to it and then use
it to register the device with:
*cl = class_create(THIS_MODULE, className);... (0 Replies)
Discussion started by: hdaniel@ualg.pt
0 Replies
5. UNIX for Dummies Questions & Answers
Hello folks,
I have to conduct a demo session on bash scripting in any unix/linux distro to my colleagues (12 of them). Our company has not appointed a system administrator for linux. So I am seeking help from you all.
We only have thin clients running windows XP and are connected to a blade... (1 Reply)
Discussion started by: AnjaanFauji
1 Replies
6. UNIX for Advanced & Expert Users
Hello folks,
I have to conduct a demo session on bash scripting in any unix/linux distro to my colleagues (12 of them). Our company has not appointed a system administrator for linux. So I am seeking help from you all.
We only have thin clients running windows XP and are connected to a blade... (0 Replies)
Discussion started by: AnjaanFauji
0 Replies
7. Programming
Hi, i have a question about C++. Is it possible to declare a class with a member ot the same class? For example, a linked list or i want to convert this C code to C++ class (Elemento)
typedef struct elemento
{
char name;
char value;
List<struct elemento> ltElementos;
... (7 Replies)
Discussion started by: pogdorica
7 Replies
8. UNIX for Dummies Questions & Answers
im just trying to have some fun and kill some time writing a c++ program that has a person type in a car make and model then gives them a year and a price. or something like that. i always have problems getting it goin but once the ball is rolling im usually pretty good. anyone wanna help me out? ... (1 Reply)
Discussion started by: rickym2626
1 Replies
ses(7D) Devices ses(7D)
NAME
ses - SCSI enclosure services device driver
SYNOPSIS
ses@target,lun
DESCRIPTION
The ses device driver is an interface to SCSI enclosure services devices. These devices sense and monitor the physical conditions in an
enclosure as well as allow access to the status reporting and configuration features of the enclosure (such as indicator LEDs on the enclo-
sure.)
ioctl(9E) calls may be issued to ses to determine the state of the enclosure and to set parameters on the enclosure services device.
No ses driver properties are defined. Use the ses.conf file to configure the ses driver.
EXAMPLES
Example 1 ses.conf File Format
The following is an example of the ses.conf file format:
#
# Copyright (c) 1996, by Sun Microsystems, Inc.
# All rights reserved.
#
#
#ident "@(#)ses.conf 1.1 97/02/10 SMI"
#
name="ses" parent="sf"
target=15;
name="ses" parent="SUNW,pln" port=0 target=15;
name="ses" parent="SUNW,pln" port=1 target=15;
name="ses" parent="SUNW,pln" port=2 target=15;
name="ses" parent="SUNW,pln" port=3 target=15;
name="ses" parent="SUNW,pln" port=4 target=15;
name="ses" parent="SUNW,pln" port=5 target=15;
name="ses" class="scsi"
target=15 lun=0;
IOCTLS
The SES driver currently supports the SES, SAFTE and SEN enclosure service chipsets. SEN and SAFTE protocols are translated internally in
the driver into SES compliant data structures. This enables the SES driver to work seamlessly with different protocols and eliminates the
need to enhance user applications.
SESIOC_GETNOBJ Returns an unsigned integer that represents the number of SES data structures in the enclosure services chip.
SESIOC_GETOBJMAP Returns a size array containing ses_object elements communicated through SESIOC_GETNOBJ(). ses_object is defined in
sesio.h.
SESIOC_INIT Instructs the device to perform a self-diagnostic test. Currently SES & SEN devices always return success.
SESIOC_GETENCSTAT Returns an unsigned character that represents status enclosure as defined by Table 25 in Section 7.1.2 of the SES
specification NCITS 305-199x.
SESIOC_GETOBJSTAT This ioctl is passed an ses_objarg containing the obj_id you want to set, then fills in the remaining fields according
to element status page of the SES specification.
SESIOC_SETOBJSTAT Sets options in the control field. You set control field options by filling out all fields in ses_objarg. Field defi-
nitions are presented in Section 7.2.2 of the SES specification.
FILES
/kernel/drv/ses.conf Driver configuration file
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Architecture |SPARC |
+-----------------------------+-----------------------------+
SEE ALSO
driver.conf(4), scsi(4), attributes(5), esp(7D), isp(7D), ioctl(9E)
SunOS 5.11 27 May 2008 ses(7D)