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>

3 avandewerdt commented Permalink

Here is the script you need: <div>&nbsp;</div>