Reg format command output
Hi ,
This regarding the observation I am seeing on two systems. In a system the format command shows as below
c3t2d0 <ATA-WDC WD2500YS-18S-6C07 cyl 30392 alt 2 hd 255 sec 63>
/pci@0,0/pci8086,2779@1/pci8086,32c@0/pci1028,1f09@8/sd@2,0
In another system the same command shows as below
c5t5000CCA01B6AB285d0 <HITACHI-HUS723020ALS640-A222-1.82TB>
/pci@0,0/pci8086,3c06@2,2/pci15d9,691@0/iport@ff/disk@w5000cca01b6ab285,0
/dev/chassis/LSI-SAS2X36.50030480008b403f/Slot_22/disk
In fist server it shows, available HDD as c3t2d0 but in second server it shows as c5t5000CCA01B6AB285d0.
May I know the reason?
Solaris uses the WWN when the disk uses one of these technologies : SAS or Fibre Channel
Similar Messages
-
Why did Solaris 10 X86 change the output of the format command?
Solaris 8,9, & 10 for Sparc all display disk manufacturer information on the format command output:
0. c1t0d0 <SUN36G cyl 24620 ... >
1. c1t1d0 <SEAGATE-ST3360704FSUN36G-0826 cyl 24620 ... >
But for X86 this information is not displayed:
0. c1t0d0 <DEFAULT cyl 17846 ... >
1. c1t1d0 <DEFAULT cyl 17846 ... >
We need to read this programatically to distinguish certain physical drives. What happened to this information? Is this a bug?Solaris 8,9, & 10 for Sparc all display disk
manufacturer information on the format command
output:
0. c1t0d0 <SUN36G cyl 24620 ... >
1. c1t1d0 <SEAGATE-ST3360704FSUN36G-0826 cyl 24620
... > I believe this information is in the disk label. I think on first label some of that information can be queried, but it doesn't always reflect the actual disk.
But for X86 this information is not displayed:
0. c1t0d0 <DEFAULT cyl 17846 ... >
1. c1t1d0 <DEFAULT cyl 17846 ... >'format' on x86 is only looking at one fdisk-style slice, not the physical disk.
We need to read this programatically to distinguish
certain physical drives. What happened to this
information? Is this a bug?More information does appear in some situations, but I'm not sure where it's querying the information. Again, the label is not a good indicator of what the physical disk is, because that data can be copied.
You might try 'iostat -En' and see if that has sufficient information.
Darren -
Strange output from format command
Hi,
We have a Sun V480 running Solaris 8. We have installed 2 SG-XPCI2FC-QF2 fibercards. They are connected to an EVA3000 system. SFS newest version are also installed.
Have configured the cards with the cfgadm command. But when i run a format command i get this output. Normally it will show somthing like this c1t0d1. But here it shows c11t50001FE15005F54Dd1
format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000004cf8ffa54,0
1. c1t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000004cf96abc8,0
2. c11t50001FE15005F54Dd1 <HP-HSV200-5020 cyl 6398 alt 2 hd 128 sec 128>
/pci@8,700000/SUNW,qlc@1/fp@0,0/ssd@w50001fe15005f54d,1
3. c11t50001FE15005F549d1 <HP-HSV200-5020 cyl 6398 alt 2 hd 128 sec 128>
/pci@8,700000/SUNW,qlc@1/fp@0,0/ssd@w50001fe15005f549,1
4. c12t50001FE15005F54Cd1 <HP-HSV200-5020 cyl 6398 alt 2 hd 128 sec 128>
/pci@8,700000/SUNW,qlc@2/fp@0,0/ssd@w50001fe15005f54c,1
5. c12t50001FE15005F548d1 <HP-HSV200-5020 cyl 6398 alt 2 hd 128 sec 128>
/pci@8,700000/SUNW,qlc@2/fp@0,0/ssd@w50001fe15005f548,1
Specify disk (enter its number):
Can anyone explain this? I was possible to format the disk. But are this OK?
Thanks,Rather than having disk target numbers, format now see's the disks WWN or World Wide Number. If you look at your output, disk 0 and disk 1 have the standard c1t0d0 and c1t1d0 identifiers, but the targets on controller 11 and 12 show the WWN for the LUNs/disks on the EVA3000. This is to help with multipathing etc. Yes it is on to slice the LUNs/disks.
-
Raw format to output command to NI 9264
I need to determine if there is a way to command output to the ni6009 D/A channels in RAW binary format rather than decimal.
I have done this for input from the module, see jpg. The Labview DAQmx read has a RAW option which works for input. It also seems to have the same for the DAQmx write seems to have the same, but I've not gotten it to function as of yet.
Any help would be appreciated, ultimately this will be used to control output from NI-9264 16bit modules.
1) Understanding how to best get the most fine control of NI9264 modules.
2) Understanding how to command this fine control using labview 2012 and DAQmx.
Thanks
Attachments:
raw input1.jpg 85 KB
raw output1.jpg 72 KBIt is noted in the DAQmx documentation, that when sending (receiving?) "RAW" fmt one must get it all as a long number and then parse it manually to get the channels.
That should make things more interesting.
I'd been running single channel.
Is there perhaps a way to send decimal "voltage" requests is such a manner that one can step between the resolution notches and so accomplish the same thing as RAW?
e.g. for a +/- 10V range and 14 bits accuracy, one might give commands using increments of 20 / (2^14) volts?
min V
-10
max V
10
Range
20
Bits resolution
14
Bits decimal count
16383
Single Bit Increment
0.001220778
desired bit
voltage increment
voltage request
0
0
-10
1
0.001220778
-9.998779222
2
0.002441555
-9.997558445
3
0.003662333
-9.996337667
8191.5
10
0
16381
19.99755844
9.997558445
16382
19.99877922
9.998779222
16383
20
10
16384
20.00122078
10.00122078 -
Format the output file by command spool
Hi,
I use sqplus in oracle to output the command output to text file .
I use below set environment varialble.
SQL> set echo off;
SQL> set linesize 3999;
SQL> set feedback off;
SQL> set feedback off;
SQL> set termout off;
SQL> set pagesize 0;
SQL> spool mapping.txt
select C_SIM_MSISDN,C_SIM_IMSI from RCA_SMART_CARD order by C_SIM_MSISDN;
In ouput file , it look like
SQL> select C_SIM_MSISDN,C_SIM_IMSI from RCA_SMART_CARD order by C_SIM_MSISDN;
060010007 10007
SQL> spool off;
any setting or command that allow me to remove
the first sql command line" SQL>select XXXX"
and the last command "SQL>spool off" after start up the "spool mapping.txt"Hi,
Don't type those commands (at least the ones between SPOOL and SPOOL OFF, inclusive) directly into SQL*Plus. Instead, put them in a script, run the script.
For example, if you create a file called d:\foo\bar\smart_card.sql, that looks like this:
set echo off;
set linesize 3999;
set feedback off;
set feedback off;
set termout off;
set pagesize 0;
spool mapping.txt
select C_SIM_MSISDN
, C_SIM_IMSI
from RCA_SMART_CARD
order by C_SIM_MSISDN;
spool offThen all you type at the SQL> prompt is
@c:\foo\bar\smart_card -
FORMAT command hangs on SOL 10...
I have V440...when I run the FORMAT command, it just hangs there.
Here is a metastat cmd output:
# metastat
d6: Mirror
Submirror 0: d16
State: Needs maintenance
Submirror 1: d26
State: Resyncing
Resync in progress: 20 % done
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 371253834 blocks (177 GB)
d16: Submirror of d6
State: Needs maintenance
Size: 371253834 blocks (177 GB)
Stripe 0: (interlace: 32 blocks)
Device Start Block Dbase State Reloc Hot Spare
c1t0d0s6 0 No Maintenance Yes
c1t2d0s0 2889 No Okay Yes
Stripe 1:
Device Start Block Dbase State Reloc Hot Spare
c3t8d0s0 10176 No Okay Yes
Stripe 2:
Device Start Block Dbase State Reloc Hot Spare
c3t9d0s0 10176 No Okay Yes
d26: Submirror of d6
State: Resyncing
Size: 371253834 blocks (177 GB)
Stripe 0: (interlace: 32 blocks)
Device Start Block Dbase State Reloc Hot Spare
c1t1d0s6 0 No Okay Yes
c1t3d0s0 2889 No Maintenance Yes
Stripe 1:
Device Start Block Dbase State Reloc Hot Spare
c3t10d0s0 10176 No Resyncing Yes
Stripe 2:
Device Start Block Dbase State Reloc Hot Spare
c3t11d0s0 10176 No Okay Yes
d1: Mirror
Submirror 0: d11
State: Needs maintenance
Submirror 1: d21
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 8193204 blocks (3.9 GB)
d11: Submirror of d1
State: Needs maintenance
Invoke: metareplace d1 c1t0d0s1 <new device>
Size: 8193204 blocks (3.9 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t0d0s1 0 No Maintenance Yes
d21: Submirror of d1
State: Okay
Size: 8193204 blocks (3.9 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t1d0s1 0 No Okay Yes
d0: Mirror
Submirror 0: d10
State: Needs maintenance
Submirror 1: d20
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 20480121 blocks (9.8 GB)
d10: Submirror of d0
State: Needs maintenance
Invoke: metareplace d0 c1t0d0s0 <new device>
Size: 20480121 blocks (9.8 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t0d0s0 0 No Maintenance Yes
d20: Submirror of d0
State: Okay
Size: 20480121 blocks (9.8 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t1d0s0 0 No Okay Yes
Device Relocation Information:
Device Reloc Device ID
c1t1d0 Yes id1,sd@SFUJITSU_MAP3367N_SUN36G_00N0244G____
c1t3d0 Yes id1,sd@SFUJITSU_MAP3367N_SUN36G_00N023GR____
c3t10d0 Yes id1,sd@THITACHI_HUS103073FL3800_V3WTPTJA
c3t11d0 Yes id1,sd@THITACHI_HUS103073FL3800_V3WTPL2A
IOSTAT output:
# iostat -En
c1t0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: SEAGATE Product: ST336607LSUN36G Revision: 0707 Serial No: 0350AX5NBC
Size: 36.42GB <36418595328 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c1t1d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: FUJITSU Product: MAP3367N SUN36G Revision: 0401 Serial No: 0322N0244G
Size: 36.42GB <36418595328 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c1t2d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: FUJITSU Product: MAP3367N SUN36G Revision: 0401 Serial No: 0322N023HT
Size: 36.42GB <36418595328 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c0t0d0 Soft Errors: 3 Hard Errors: 0 Transport Errors: 0
Vendor: TOSHIBA Product: DVD-ROM SD-C2612 Revision: 1011 Serial No:
Size: 0.00GB <0 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 3 Predictive Failure Analysis: 0
c1t3d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: FUJITSU Product: MAP3367N SUN36G Revision: 0401 Serial No: 0322N023GR
Size: 36.42GB <36418595328 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c3t8d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: HITACHI Product: HUS10733ASUN72G Revision: PA05 Serial No: 0649RWT3KB
Size: 73.40GB <73400057856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c3t9d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: HITACHI Product: HUS10733ASUN72G Revision: PA05 Serial No: 0649RWTPGZ
Size: 73.40GB <73400057856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c3t10d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: HITACHI Product: HUS10733ASUN72G Revision: PA05 Serial No: 0649RWTPTJ
Size: 73.40GB <73400057856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c3t11d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: HITACHI Product: HUS10733ASUN72G Revision: PA05 Serial No: 0649RWTPL2
Size: 73.40GB <73400057856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
any ideas?
thanksDmesg does not reveal any hard disk issues....
Here is the METADB ouput:
# metadb -i
flags first blk block count
a m p luo 16 8192 /dev/dsk/c1t1d0s7
a p luo 8208 8192 /dev/dsk/c1t1d0s7
a p luo 16400 8192 /dev/dsk/c1t1d0s7
a p luo 16 8192 /dev/dsk/c1t2d0s7
a p luo 8208 8192 /dev/dsk/c1t2d0s7
a p luo 16400 8192 /dev/dsk/c1t2d0s7
a p luo 16 8192 /dev/dsk/c1t3d0s7
a p luo 8208 8192 /dev/dsk/c1t3d0s7
a p luo 16400 8192 /dev/dsk/c1t3d0s7
a p luo 16 8192 /dev/dsk/c3t8d0s7
a p luo 8208 8192 /dev/dsk/c3t8d0s7
a p luo 16400 8192 /dev/dsk/c3t8d0s7
a p luo 16 8192 /dev/dsk/c3t9d0s7
a p luo 8208 8192 /dev/dsk/c3t9d0s7
a p luo 16400 8192 /dev/dsk/c3t9d0s7
a p luo 16 8192 /dev/dsk/c3t10d0s7
a p luo 8208 8192 /dev/dsk/c3t10d0s7
a p luo 16400 8192 /dev/dsk/c3t10d0s7
a p luo 16 8192 /dev/dsk/c3t11d0s7
a p luo 8208 8192 /dev/dsk/c3t11d0s7
a p luo 16400 8192 /dev/dsk/c3t11d0s7
r - replica does not have device relocation information
o - replica active prior to last mddb configuration change
u - replica is up to date
l - locator for this replica was read successfully
c - replica's location was in /etc/lvm/mddb.cf
p - replica's location was patched in kernel
m - replica is master, this is replica selected as input -
Why does SQL Developer ignore
col name format a15 ?
col name format a15
col value format a15
select name,value from v$parameter
where name ='statistics_level'Each column length seems to default to 80 charaters.
I end up needing to use the hortizontal scroll bar to see the results in the Script Output window."col" is a SQL*Plus command. SQL Developer does understand a few SQL*Plus commands, but most of the formatting commands like "column" are not supported.
-
hi,
what is adddress and endaddress ?how can we specify this in the control_form?The command ADDRESS - ENDADDRESS formats an address according to the postal standards of the destination country defined in the parameter COUNTRY.
Syntax:
/: ADDRESS DELIVERY PARAGRAPH a PRIORITY p LINES l
/: TITLE title
/: NAME name1[,name2[,name3,name4]]
/: STREET street
/: POBOX PO box CODE zip code
/: POSTCODE zip code
/: CITY town1,town2
/: REGION region
/: COUNTRY country
/: FROMCOUNTRY from country
/: ENDADDRESS
Both formatting data and address data are parameters. Address data is formatted for output based on the COUNTRY, PRIORITY and LINES parameters. As the default, the P.O. Box is used, if it is available, rather than the street address.
Example:
/: ADDRESS
/: TITLE Company
/: NAME Widget Technology, Inc., All Kind of Widgets
/: STREET 1005 Lido Lane
/: POBOX 2935 CODE 94400
/: POSTCODE 94404
/: CITY Foster City
/: REGION CA
/: COUNTRY USA
/: FROMCOUNTRY USA
/: ENDADDRESS
This list generates the following address:
Company
Widget Technology, Inc.
All Kind of Widgets
PO box 2935
Foster City, CA 94400
If the DELIVERY supplement is specified for the ADDRESS command, then the street, not the P.O. Box, is entered.
Company
Widget Technology, Inc.
All Kind of Widgets
1005 Lido Lane
Foster City, CA 94404 -
Help Using SQL*Plus Format Commands (like TTITLE) in Packages
Where (within a package) can/should SQL*Plus format commands such as TTITLE, COLUMN & BREAK be coded?
A package is coded in PL/SQL.
TTITLE, COLUMN and BREAK are SQL*Plus commands, they cannot be used in PL/SQL.
If you want to output data (using dbms_output) in your package, you'll have to implement the features yourself. But probably just using SQL*Plus is better in your case.
Regards,
Rob. -
Regarding getting metastat command output
Hi,
I am facing some problems while getting metastat command output. Basically in some scenario's the output format for device is shown in CnTnDn format. But for some other metadevices its shown as /de/dsk/CnTnDn format. How can i achieve getting Device info in only one format? Attached is the output. Here d42 Device is shown in c1t1d0s4 format and d1023 is being shown as "/dev/dsk/c6t50060E8003F64A19d5s7".
d42: Submirror of d40
State: Needs maintenance
Invoke: metasync d40
Size: 10247232 blocks (4.9 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t1d0s4 0 No Okay Yes
d1023: Concat/Stripe
Size: 113798880 blocks (54 GB)
Stripe 0: (interlace: 2048 blocks)
Device Start Block Dbase Reloc
/dev/dsk/c6t50060E8003F64A19d5s7 0 No Yes
/dev/dsk/c6t50060E8003F64A19d6s7 1440 No Yes
Regards,
Shivaraj
email: [email protected]Hi wrightrp,
Thanks for replying. This info was very helpfull for me.
But it looks we are little bit diverted from original problem. Basically I was having trouble in identifying "Device" format in my script. If you look at my example metastat output, for d42 the "Device" info was shown as "c1t1d0s4" but for d1023 its shown as "/dev/dsk/c6t50060E8003F64A19d5s7" So i am worried about why for some metadevices its just shown as CTD format and why some others its shown as "/dev/dsk/CTD" format? For d1023 /dev/dsk is coming extra. Any help/info on this will be much appriciated.
Regards,
Shivaraj -
How to copy the linux command output to the clipboard xclip is not working?
Friends,
OS: OEL 5.5
i want to copy the command output to the clipboard.
so, which rpm i have to install?
i tried with xclip rpm its not working...
xclip /etc/sysctl.conf
but its not working, not only the above command but all the commands of xclip is not working.
so, can anybody suggest me a solution?
thanksi have already tried that...
below is thru the secureCRT terminal
[root@rac1 /]# cat /etc/sysctl.conf | xclip
Error: Can't open display: (null)below is directly from the os
[root@rac1 ~]# vi tet
[root@rac1 ~]# tail -100 /var/log/messages | xclip
[root@rac1 ~]# vi test
[root@rac1 ~]# cat /etc/sysctl.conf | xclip
[root@rac1 ~]# vi test
[root@rac1 ~]# echo 'hello' | xclip
[root@rac1 ~]# vi testEdited by: OraDB on Aug 19, 2012 10:33 AM -
HP SAN LUN not appearing in format command after applying 10-Recommended
We applied the 10-Recommended from March 18 and now the HP SAN LUNs are not appearing in the format command and when we cd to the mount points and run ls or ls -l no files are returned. We have verified that the LUNs are being presented by the HP SAN to the system as they were before applying the patch cluster. This is on an E-2900 with QLogic HBAs.
Edited by: James_McKenzie on May 20, 2009 4:05 PMDo the LUNs show up under "fcinfo", like the following example?
-bash-3.2# fcinfo hba-port
HBA Port WWN: 210000e08b18670d
Port Mode: Initiator
Port ID: 1
OS Device Name: /dev/cfg/c5
Manufacturer: QLogic Corp.
Model: QLA2340
Firmware Version: 03.03.27
FCode/BIOS Version: BIOS: 1.52;
Serial Number: not available
Driver Name: qlc
Driver Version: 20080617-2.30
Type: L-port
State: online
Supported Speeds: 1Gb 2Gb
Current Speed: 2Gb
Node WWN: 200000e08b18670d
NPIV Not Supported
HBA Port WWN: 210000e08b1a94d8
Port Mode: Initiator
Port ID: 1
OS Device Name: /dev/cfg/c1
Manufacturer: QLogic Corp.
Model: QLA2340
Firmware Version: 03.03.27
FCode/BIOS Version: BIOS: 1.43;
Serial Number: not available
Driver Name: qlc
Driver Version: 20080617-2.30
Type: L-port
State: online
Supported Speeds: 1Gb 2Gb
Current Speed: 2Gb
Node WWN: 200000e08b1a94d8
NPIV Not Supported
-bash-3.2# fcinfo remote-port -ls -p 210000e08b18670d
Remote Port WWN: 200600a0b8166aee
Active FC4 Types:
SCSI Target: yes
Port Symbolic Name:
Node WWN: 200600a0b8166aec
Link Error Statistics:
Link Failure Count: 411
Loss of Sync Count: 37694
Loss of Signal Count: 792
Primitive Seq Protocol Error Count: 0
Invalid Tx Word Count: 0
Invalid CRC Count: 0
LUN: 0
Vendor: IBM
Product: 1742-900
OS Device Name: /dev/rdsk/c0t600A0B8000166AEC0000007349FD1521d0s2
LUN: 1
Vendor: IBM
Product: 1742-900
OS Device Name: /dev/rdsk/c0t600A0B8000166B0D000000A049FD1836d0s2
LUN: 2
Vendor: IBM
Product: 1742-900
OS Device Name: /dev/rdsk/c0t600A0B8000166B0D0000009649FC6F02d0s2
LUN: 3
Vendor: IBM
Product: 1742-900
OS Device Name: /dev/rdsk/c0t600A0B8000166AEC0000006D49FC6C85d0s2
LUN: 4
Vendor: IBM
Product: 1742-900
OS Device Name: /dev/rdsk/c0t600A0B8000166B0D0000009C49FC70B2d0s2
LUN: 5
Vendor: IBM
Product: 1742-900
OS Device Name: /dev/rdsk/c0t600A0B8000166AEC0000006F49FC6D71d0s2
LUN: 6
Vendor: IBM
Product: 1742-900
OS Device Name: /dev/rdsk/c0t600A0B8000166B0D0000009E49FC75DCd0s2
LUN: 7
Vendor: IBM
Product: 1742-900
OS Device Name: /dev/rdsk/c0t600A0B8000166AEC0000007649FD158Dd0s2
LUN: 8
Vendor: IBM
Product: 1742-900
OS Device Name: /dev/rdsk/c0t600A0B8000166B0D000000A249FD18AEd0s2
LUN: 31
Vendor: IBM
Product: Universal Xport
OS Device Name: /dev/rdsk/c5t2d31s2
Remote Port WWN: 200700a0b8166aee
Active FC4 Types:
SCSI Target: yes
Port Symbolic Name:
Node WWN: 200600a0b8166aec
Link Error Statistics:
Link Failure Count: 586
Loss of Sync Count: 22570
Loss of Signal Count: 1436
Primitive Seq Protocol Error Count: 0
Invalid Tx Word Count: 0
Invalid CRC Count: 0
LUN: 0
Vendor: IBM
Product: 1742-900
OS Device Name: /dev/rdsk/c0t600A0B8000166AEC0000007349FD1521d0s2
LUN: 1
Vendor: IBM
Product: 1742-900
OS Device Name: /dev/rdsk/c0t600A0B8000166B0D000000A049FD1836d0s2
LUN: 2
Vendor: IBM
Product: 1742-900
OS Device Name: /dev/rdsk/c0t600A0B8000166B0D0000009649FC6F02d0s2
LUN: 3
Vendor: IBM
Product: 1742-900
OS Device Name: /dev/rdsk/c0t600A0B8000166AEC0000006D49FC6C85d0s2
LUN: 4
Vendor: IBM
Product: 1742-900
OS Device Name: /dev/rdsk/c0t600A0B8000166B0D0000009C49FC70B2d0s2
LUN: 5
Vendor: IBM
Product: 1742-900
OS Device Name: /dev/rdsk/c0t600A0B8000166AEC0000006F49FC6D71d0s2
LUN: 6
Vendor: IBM
Product: 1742-900
OS Device Name: /dev/rdsk/c0t600A0B8000166B0D0000009E49FC75DCd0s2
LUN: 7
Vendor: IBM
Product: 1742-900
OS Device Name: /dev/rdsk/c0t600A0B8000166AEC0000007649FD158Dd0s2
LUN: 8
Vendor: IBM
Product: 1742-900
OS Device Name: /dev/rdsk/c0t600A0B8000166B0D000000A249FD18AEd0s2
LUN: 31
Vendor: IBM
Product: Universal Xport
OS Device Name: /dev/rdsk/c5t3d31s2 -
How to? multiline label containing exact system command output
Background info: I'm triggering a system command to display memory utilization. As you know, the "free" linux command displays many lines of text one after the other. It is similar to the mem command used in Window$.
I want to have a label displaying the command output as it is: multiple lines. Just like you see it in the console. I want to mirror whatever comes up on console after executing free from java.
Using html tags won't work out for me in this particular situation. It just doesn't do the trick. Still displays the LAST line of command output with or without html tags.
any ideas? it doesn't have to be a label. It can be anything as long as it works.
Again, as it is, it just displays the last line of the command output
//events will trigger every second
Timer t = new Timer(1000, new ActionListener(){
public void actionPerformed(ActionEvent event)
//determine memory utilization.
String cmd = "free -m";
try {
String line;
Process p = Runtime.getRuntime().exec(cmd);
BufferedReader input =
new BufferedReader
(new InputStreamReader(p.getInputStream()));
while ((line = input.readLine()) != null) {
label.setText(line);
input.close();
catch (Exception err) {
err.printStackTrace();
t.start();got it. thanks.
String cmdMem = "free -m -t -o" ;
try {
String lineMem ;
String outputMem = "" ;
Process procMem = Runtime.getRuntime ().exec ( cmdMem ) ;
BufferedReader input =
new BufferedReader
( new InputStreamReader ( procMem.getInputStream () ) ) ;
while ( ( lineMem = input.readLine () ) != null ) {
outputMem = ( lineMem + "\n" ) ;
jTextAreaSystemResourcesOutput.append ( outputMem ) ;
input.close () ;
catch ( Exception err ) {
err.printStackTrace () ;
} -
In previous OTN Forum format we used {code} to format sqlplus output , how to do in this version ?
Click on "Use Advanced Editor".
Highlight your code.
Click on the symbol >>
Select Syntax Highlighting
Select SQL...output looks like below:
select sysdate from dual; -
Cannot see disk in J4200 by "format" command - Solaris 10
Dear all,
I have a Sun SPARC T2000 server and a J4200 array connected to each other by SAS cable. The T2000 server was installer Solaris 10u8.
I installed CAM 6.5 software in my server and I successfully registered the J4200 array, after that, I can see all disks in this array.
However, when I issued the "format" command, I didn't see any disk in my array. I've got the same result after performing a reconfiguration boot.
I do not know how to do now to see the disks in this array.
Please help me in this case.
Thank all of you very much.
HuyNQ.Folks,
Interesting info as I tried with SPARC base runing Solaris 10 OS. The daemon is auto imported the unit without I have to issue the OS scan device "devfsadm".
# cat /etc/release
Solaris 10 3/05 s10_74L2a SPARC
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 22 January 2005
This issue is seen on X386 platform, only.
# cat /etc/release
Solaris 10 3/05 s10_74L2a X86
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 22 January 2005
thanks
Hoang.
Maybe you are looking for
-
Where is all Windows 7 related information, and what is my Product Key?
Hi folks, I have a U150, I bought it from lenovo 15 days ago. And just now I realized that it has no windows related information in the package. In old times there was a sticker at the bottom of laptops that has product key, a booklet that has produc
-
My creative cloud files won't sync.
My creative cloud files won't sync. I've tried the suggestions made on here i.e.: pausing the sync and restarting creative cloud, but it hasn't made any difference. Has been working fine, up until 2/3 days ago and it just stopped working ... Help!
-
i accidently lost my ipad's photos when i got the new OS. How to get them back? (last backup contained my photos)
-
HT1766 how do i restore my contacts from an icloud backup? suddenly my contacts where erased
all my contacts where erades suddenly, so i have an iclud backup 10 days ago i would like to restore it to my iphone, but i cant seem to restore it from anywhere!
-
Right now I have only Firefox open with 4 tabs. Firefox only has 1 extension (1Password). No other application open or running (that I know of). My dock has 17 icons (including basics like trash, finder, launch, etc). As mentioned I have a: 2.8 GHz I