Return slot direct from file output without any filter
Different servers returns the slot numbers in different formate.
So filtering it with regExp may not return correct value.
hence return a slot value directly from file output, and leave
upto the user for rheir usage accordingly.
following are few example of different slot values on different
systems
examples:
root@ltciofvtr-firestone1:~# lsvpd -l 0000:01:00.1 | grep -i "*YL"
*YL Slot5
root@ltciofvtr-firestone1:~#
root@ltc-briggs3:~# lsvpd -l 0004:01:00.1 | grep -i "*YL"
*YL WIO Slot3
root@ltc-briggs3:~#
root@ltcalpine-lp2:~# lsvpd -l 0028:01:00.0 | grep -i "*YL"
*YL U78C7.001.RCH0040-P1-C9-T1
root@ltcalpine-lp2:~#
Signed-off-by: NNaresh Bannoth <nbannoth@in.ibm.com>
Showing
想要评论请 注册 或 登录