Format output not good


 
Thread Tools Search this Thread
Operating Systems Solaris Format output not good
# 1  
Old 12-21-2010
Format output not good

Hi All,

When i type format in solaris , I get the below output .This is not clear.

Pl explain why it is looking like this.
Code:
 
       0. c6t600A0B800067BCDE000002A64B15CBB4d0 <SUN-LCSM100_F-0735 cyl 12798 alt 2 hd 64 sec 64>
          /scsi_vhci/ssd@g600a0b800067bcde000002a64b15cbb4
       1. c6t600A0B800067BCDE000002A94B15CC16d0 <SUN-LCSM100_F-0735 cyl 12798 alt 2 hd 64 sec 64>
          /scsi_vhci/ssd@g600a0b800067bcde000002a94b15cc16
       2. c6t600A0B800067BCDE000002AD4B15D169d0 <SUN-LCSM100_F-0735 cyl 12798 alt 2 hd 64 sec 64>
          /scsi_vhci/ssd@g600a0b800067bcde000002ad4b15d169
       3. c6t600A0B800067BCDE000002B34B15D325d0 <SUN-LCSM100_F-0735 cyl 5118 alt 2 hd 64 sec 64>
          /scsi_vhci/ssd@g600a0b800067bcde000002b34b15d325
       4. c6t600A0B800067BCDE000002B54B15D391d0 <SUN-LCSM100_F-0735 cyl 5118 alt 2 hd 64 sec 64>
          /scsi_vhci/ssd@g600a0b800067bcde000002b54b15d391
       5. c6t600A0B800067BCDE000002B74B15D4F6d0 <SUN-LCSM100_F-0735 cyl 30718 alt 2 hd 64 sec 64>
          /scsi_vhci/ssd@g600a0b800067bcde000002b74b15d4f6
       6. c6t600A0B800067BCDE000002B94B15D54Bd0 <SUN-LCSM100_F-0735 cyl 10238 alt 2 hd 64 sec 64>
          /scsi_vhci/ssd@g600a0b800067bcde000002b94b15d54b
       7. c6t600A0B800067BCDE00007C564C9AB7F6d0 <SUN-LCSM100_F-0735 cyl 25598 alt 2 hd 64 sec 64>
          /scsi_vhci/ssd@g600a0b800067bcde00007c564c9ab7f6
       8. c6t600A0B800067BCDE00007C584C9AB812d0 <SUN-LCSM100_F-0735 cyl 25598 alt 2 hd 64 sec 64>
          /scsi_vhci/ssd@g600a0b800067bcde00007c584c9ab812
       9. c6t600A0B800067BF470000043B4BF9EFEFd0 <SUN-LCSM100_F-0735 cyl 12798 alt 2 hd 64 sec 64>
          /scsi_vhci/ssd@g600a0b800067bf470000043b4bf9efef
      10. c6t600A0B800067BF470000043D4BF9F0B9d0 <SUN-LCSM100_F-0735 cyl 12798 alt 2 hd 64 sec 64>
          /scsi_vhci/ssd@g600a0b800067bf470000043d4bf9f0b9
      11. c6t600A0B800067BF470000043F4BF9F169d0 <SUN-LCSM100_F-0735 cyl 5118 alt 2 hd 64 sec 64>
          /scsi_vhci/ssd@g600a0b800067bf470000043f4bf9f169

Rgds
Jr

Last edited by Scott; 12-21-2010 at 06:52 AM.. Reason: Code tags, PLEASE!
# 2  
Old 12-21-2010
This output looks fine to me. I guess you are confused by the long target numbers which are actually LUN GUIDs. You might read the scsi_vhci manual page for details.
# 3  
Old 12-21-2010
You have MPxIO [Solaris I/O multipathing feature] enbaled in the server.

To get the physical path details you can use
Code:
mpathadm

command [check manpage]

You can use below code:

Code:
 
for i in `mpathadm list initiator-port | awk '{print $3}' `
do
mpathadm show initiator-port $i
done

Cheers
Vishal
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script to generate Excel file or to SQL output data to Excel format/tabular format

Hi , i am generating some data by firing sql query with connecting to the database by my solaris box. The below one should be the header line of my excel ,here its coming in separate row. TO_CHAR(C. CURR_EMP_NO ---------- --------------- LST_NM... (6 Replies)
Discussion started by: dani1234
6 Replies

2. Shell Programming and Scripting

FORMAT output

Input File Symmetrix ID : 000192601507 Masking View Name : TS00P22_13E_1 Last updated at : 05:10:18 AM on Tue Mar 22,2011 Initiator Group Name : 10000000c960b9cd Host Initiators { WWN : 10000000c960b9cd WWN : 10000000c960b9dd } Port... (1 Reply)
Discussion started by: greycells
1 Replies

3. UNIX for Dummies Questions & Answers

How to format the output of df -h?

Hi, I need to format the output of the command "df -h": $ df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/rootvg-lv01 271G 13G 245G 6% / tmpfs 16G 0 16G 0% /dev/shm /dev/sda1 97M 50M 43M 55% /boot /dev/mapper/d1vg-lv01 124G 105G 13G 90% /d0 I used awk: df -h |... (6 Replies)
Discussion started by: seafan
6 Replies

4. UNIX for Dummies Questions & Answers

XML / XSD: what is a good format for amounts?

Suppose I have a XSD definition of amount: <xs:element name="Amount" type="amount> And the amounts themselves are given in the following format in the XML: <amount>1.000.00</amount> In other words, the thousand separator and the decimal point are the same. Does this require that the parser... (3 Replies)
Discussion started by: figaro
3 Replies

5. Shell Programming and Scripting

Want to format output.

Hi, I have some data in text file as 123 45 34 5 66 I want to create a file as in table format as below: table1 123 45 5 tab2 66 34 tabllllll 123 23 (19 Replies)
Discussion started by: fidelis
19 Replies

6. Shell Programming and Scripting

Dynamic output file generation using a input text file with predefined output format

Hi, I have two files , one file with data file with attributes that need to be sent to another file to generate a predefined format. Example: File.txt AP|{SSHA}VEEg42CNCghUnGhCVg== APVG3|{SSHA}XK|"password" AP3|{SSHA}XK|"This is test" .... etc --------- test.sh has... (1 Reply)
Discussion started by: hudson03051nh
1 Replies

7. UNIX for Advanced & Expert Users

format df -k output

i am running df -k command on aix machine. i got the output like this. i need to store into file and send that file into microsoft excel.i need to allign properly. Filesystem 512 blocks Free % Used Iused %Iused Mounted on /dev/hd4 262144 126488 52% ... (9 Replies)
Discussion started by: wintercoat
9 Replies

8. UNIX for Dummies Questions & Answers

compare two text files in a good format

I am writting a script where I have to Campare two text files. I have 3 text files named by s_list, s_list_new and dmg_file. where I have to compare s_list and s_list_new and whatever the unique values are in s_list I have to add that in the dmg_file. And the values they are only in s_list_new... (2 Replies)
Discussion started by: pareshan
2 Replies

9. Shell Programming and Scripting

capturing output from top and format output

Hi all, I'd like to capture the output from the 'top' command to monitor my CPU and Mem utilisation.Currently my command isecho date `top -b -n1 | grep -e Cpu -e Mem` I get the output in 3 separate lines.Tue Feb 24 15:00:03 Cpu(s): 3.4% us, 8.5% sy .. .. Mem: 1011480k total, 226928k used, ....... (4 Replies)
Discussion started by: new2ss
4 Replies

10. UNIX for Dummies Questions & Answers

ls output format

below is the output is ls -l -rw-r--r-- 1 tonyt staff 3212 Apr 17 1999 file1 -rw-r--r-- 1 tonyt staff 4541 Mar 3 21:08 file2 why the date format is not the same? (6 Replies)
Discussion started by: tonyt
6 Replies
Login or Register to Ask a Question