Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

One line commands or automating IB gateway switch ILOM commands

3479435Feb 5 2018 — edited Feb 5 2018

Hello,

I am trying to get below thing working in one command line ...

objective is

1. SSH to IB GW switch

2. su - ilom-admin

3. Get temperature readings show -d properties /SYS/MB/T_B0

for that I have tried

ssh -ttt gw01 sudo -u ilom-admin  sh -c "show -d properties /SYS/MB/T_B0"

-d: show: command not found

Has anyone tried anything on this line , appreciate if any good suggestion.

Regards,

Prakash

Post Details

Locked on Mar 5 2018
Added on Feb 5 2018
1 comment
199 views