9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
hi,
i would like to create a bash script that check which port in my Linux server are closed (not in use) from a specific range, port range (3000-3010).
the print output need to be only 1 port, and it will be nice if the output will be saved as a variable or in same file.
my code is:
... (2 Replies)
Discussion started by: yossi
2 Replies
2. Shell Programming and Scripting
Hi Expert,
Anybody can figure it out on how to generate new port base on my last port let say my last port var1=124 and increment for new port 125,126 but this new two ports need to look at first if this port is not in used by any service, if the port is in used add 1 to new port and if in used... (6 Replies)
Discussion started by: lxdorney
6 Replies
3. Solaris
please find the below o/p for your reference
bash-3.00# fcinfo hba-port
HBA Port WWN: 21000024ff295a34
OS Device Name: /dev/cfg/c2
Manufacturer: QLogic Corp.
Model: 375-3356-02
Firmware Version: 05.03.02
FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies
4. Solaris
Hello,
I have an unloaded T5140 machine and want to access the ILOM for the first time and subsequently the network port after that., and then load Solaris 10 the final January 2011 build.
The first part is what confuses me -the cabling.
I am coming from a Windows machine (w/appropriate... (5 Replies)
Discussion started by: joboy
5 Replies
5. IP Networking
i want to kill a tcp connection by killing its pid
with netstat -an i got the tcp ip connection on port 5914
but when i type ps -a or ps-e there is not such process running on port 5914
is it possible that because i do not log on with proper user account i can not see that process running? (30 Replies)
Discussion started by: alinamadchian
30 Replies
6. IP Networking
Hi,
I am trying to set up a dev environment and I have Ubuntu server (10.16.1.92) and a CentOS VM (10.16.3.235) on this. On the CentOS I have a program running on port 5433. Now my problem is that I am unable to telnet this port from another Windows server whereas I can telnet port 22 from... (5 Replies)
Discussion started by: rishav
5 Replies
7. Solaris
Hi Everyone,
In my environment, I have few T5220. On the iLOM Management Card, I have both Network and Serial port are cabled, I don't have any issues while I try to connect using Network Management port, but when I try to connect the serial port for the same server which is actually connected... (3 Replies)
Discussion started by: bobby320
3 Replies
8. IP Networking
Hi Linux/Unix Guru,
I am setting Linux Hopping Station to another different servers.
My current config to connect to another servers is using different port to connect.
e.g
ssh -D 1080 -p 22 username@server1.com
ssh -D 1081 -p 22 username@server2.com
Now what I would like to have... (3 Replies)
Discussion started by: regmaster
3 Replies
9. Solaris
hi i have a sun machine which has one hba 2ports;
out of which one port says it is not connected
# luxadm -e port
/devices/pci@1d,700000/SUNW,qlc@1/fp@0,0:devctl CONNECTED
/devices/pci@1d,700000/SUNW,qlc@1,1/fp@0,0:devctl NOT CONNECTED
but both... (9 Replies)
Discussion started by: anwesh
9 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)