Comments (3)
  • Add a Comment
  • Edit
  • More Actions v
  • Quarantine this Entry

1 Montecito commented Permalink

Hi, <div>&nbsp;</div> I need small help with the below command: <div>&nbsp;</div> svcinfo lsvdisk -nohdr |while read id name IO_group_id;do svcinfo lsvdisk $id |while read id value;do if [[ $id == "sync_rate" ]];then echo $va <div>&nbsp;</div> Here it checks for sync_rate and prints the value for each vdisk., what if I want more than one value to be checked like sync_rate, real_capacity or any other variable in one line. <div>&nbsp;</div> I will really appreciate any help I can get . <div>&nbsp;</div> best Regards <br /> Amit

2 avandewerdt commented Permalink

Hey Amit. <div>&nbsp;</div> Have you checked out: <div>&nbsp;</div> https://www.ibm.com/developerworks/mydeveloperworks/groups/service/html/communityview?communityUuid=ce5f40da-a393-4569-b283-4810e0aa31ce

3 avandewerdt commented Permalink

Here is the script you need: <div>&nbsp;</div> https://www.ibm.com/developerworks/mydeveloperworks/wikis/home?lang=en#/wiki/W1d985101fbfa_4ae7_a090_dc535355ae7e/page/Show%20Volume%20Copies