This script provided full out about management api status (same what you would get by running api status). As always, run dos2unix and chmod 777 on it before executing it.
[Expert@CP-MANAGEMENT:0]# ./cp_api_status.sh
API Settings:
---------------------
Accessibility: Require all granted
Automatic Start: Enabled
Processes:
Name State PID More Information
-------------------------------------------------
API Started 9778
CPM Started 9778 Check Point Security Management Server is running and ready
FWM Started 9307
APACHE Started 7959
Port Details:
-------------------
JETTY Internal Port: 63973
JETTY Documentation Internal Port: 64496
APACHE Gaia Port: 443
Profile:
-------------------
Machine profile: Large SMC env resources profile without SME
CPM heap size: 16384m
Apache port retrieved from: dbget http:ssl_port
--------------------------------------------
Overall API Status: Started
--------------------------------------------
API readiness test SUCCESSFUL. The server is up and ready to receive connections
Notes:
------------
To collect troubleshooting data, please run 'api status -s <comment>'
[Expert@CP-MANAGEMENT:0]#
Best,
Andy