Subject: Request to get First column of first row

From: "Kannan E1" <[email-masked]>
Date: Thu, 3 Mar 2016 05:49:25 +0530

Hi Team,

We are facing issue to get output of first column of first row.

Please guide us to get only vfchostX column alone.Thanks...

hscroot@vahmc032:~> viosvrcmd -m Server-XXXXXXX -p va10XXX-VIOS2 -c "lsmap 
-all -npiv" | grep -i va10XXX
vfchost46     U9117.MMC.10E45C6-V2-C180              15 va10XXXXX  AIX

Note:  awk '{print $1}' is not working.

Regards,

Kannan E
Technical Services Specialist - AIX
Regional Delivery Center,Chennai
GTS SO Delivery

Phone: +91-44-43425121 | Mobile: +91 9790254488
E-mail: [email-masked]

DLF IT Park,Blk 7, 5th Floor
Chennai, TN 600089
India