Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Will_H
Contributor

oneliner for identifying installed hotfix version

Does anyone have a oneliner for identifying installed hotfix version for gateways?

0 Kudos
3 Replies
JozkoMrkvicka
Authority
Authority

cpinfo -y all

Kind regards,
Jozko Mrkvicka
0 Kudos
Will_H
Contributor

There is a lot of noise in that.. I was hoping more for something that would give like the following..

[Expert@HOSTNAME:0]#Tell-Me-Your-HF-Version
BUNDLE_R80_30_JUMBO_HF_MAIN Take: 219

So that we can script pulling the hotfix version from our 900+ gateways..

Thanks,

0 Kudos
Danny
Champion Champion
Champion

cpinfo -y all 2>/dev/null|grep JUMBO|tail -n1|awk '{print $3}'

More advanced:
echo -n $(hostname); echo -n " > "; echo -n $(cat /etc/cp-release); echo -n " JHF "; cpinfo -y all 2>/dev/null|grep JUMBO|tail -n1|awk '{print $3}'

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events