Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Maik
Advisor

cpuse via CLI - "extended view"

Hello guys,

 

Just a small question that came into my mind when I had to install the latest jumbo take on one of my machines. Is it possible to - somehow - "extend" the length of the CLI output of cpuse? What I mean with that is, that the commands "installer show/verify/whatever <tab>" have a locked length regarding their output. Let's for example take a look at the latest jumbo take:

 

 

 

hostnameXYZ> installer verify
**  ************************************************************************* **
**                                 Hotfixes                                   **
**  ************************************************************************* **
Num Display name                                      Type
1   Check Point CPinfo build 191 for R80.20           Hotfix
2   R80.20 Gaia 3.10 Jumbo Hotfix Accumulator for
        Security Management General availability (    Hotfix

(...)

**  ************************************************************************* **
**                                  Majors                                    **
**  ************************************************************************* **
Num Display name                                      Type
9   R80.20.M2 Fresh Install and Upgrade for
        Security Management                           Major Version
10  R80.20 Fresh Install and Upgrade for Security
        Management                                    Major Version
11  R80.30 Fresh Install and Upgrade for Security
        Management                                    Major Version

 

 

 

Here you can see that package number 2 is clearly cut in the column "display name" as it only shows "R80.20 Gaia 3.10 Jumbo Hotfix Accumulator for Security Management General availability (" - the take itself is not visible at all. If you have more than one package in the list and you can't determine the name by this column you still have the option to use the web ui - however what about systems where this is not possible (e.g. VSX)? Is there any option to "enlarge" this column or to just display more details for the packages?

 

Thanks in advance and best regards.

Maik

0 Kudos
8 Replies
Maarten_Sjouw
Champion
Champion

This is not anything we as users can do, development needs to adjust the max width in the installer program itself. Currently it is fixed to the old 80 columns value, that has been there since terminals where 24x80 characters.
Regards, Maarten
0 Kudos
Maik
Advisor

Hm that's what I assumed.

@PhoneBoy Do you know whether something is planned for the future? Should be kinda easy to implement such a change. 🙂

For the meantime - how should someone proceed without being able to access a web ui.

0 Kudos
G_W_Albrecht
Legend Legend
Legend

Not easy, but still possible:

GW-R80.20> installer verify 

**  ************************************************************************* **

**                                   HFAs                                     **

**  ************************************************************************* **

Num Display name                                      Type                     

1   Check_Point_SmartConsole_R80_30_jumbo_HF_B36_W                             

       in                                             HFA                      

**  ************************************************************************* **

 

Expert@GW-R80.20> clish -c "installer verify 1"  >> /var/tmp/my.txt

 

Now in /var/tmp/my.txt:

Info: Initiating verify of Check_Point_SmartConsole_R80_30_jumbo_HF_B36_Win.tgz...
Interactive mode is enabled. Press CTRL + C to exit (this will not stop the operation)
Validating Install: 0% Validating Install: 0% Validating Install: 0% Validating Install: 0% Validating Install: 0%

Result: Installation is allowed.

CCSP - CCSE / CCTE / CTPS / CCME / CCSM Elite / SMB Specialist
0 Kudos
Maik
Advisor

At least a feasible workaround - thanks!

0 Kudos
PhoneBoy
Admin
Admin

This is probably an RFE to fix. @Tsahi_Etziony 

0 Kudos
Tsahi_Etziony
Employee
Employee

already on it @PhoneBoy 😊

0 Kudos
Maik
Advisor

Awesome, thank you guys! 😀

0 Kudos
Maarten_Sjouw
Champion
Champion

While you are at it, 'show installer packages all/available-for-download' has the same problem, even if you redirect it to a file.
Regards, Maarten
0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events