|
|||
|
5.2 Common CommandsJanuary 24th, 2026 There are several commands which are common to all BEAR components. These can used to get status information and control all the installed components together as a single set. There are a number of other scripts in the BEAR bin path which are intentionally hidden. These are intended for use by other scripts and not for manual execution by the administrator. 5.2.1 bear_infoThis command provides a report detailing what BEAR components are installed and what version they are on. ArgumentsNone Example Output# /bear/bin/bear_info ============================================================================= BEAR Database Version: 1.2.0.1032 Release date: 2025-06-27 Copyright: (C)2007-2025 Joey Dobias ============================================================================= BEAR Sharepoint Version: 1.1.0.1025 Release date: 2025-06-27 Copyright: (C)2007-2025 Joey Dobias ============================================================================= BEAR Resource Monitor Version: 1.2.0.13 Release date: 2025-06-27 Copyright: (C)2007-2025 Joey Dobias 5.2.2 bear_statusThis command reports on the current running status of each component including basic information about the service level configuration such as listening ports or interfaces. ArgumentsNone. Example Output# /bear/bin/bear_status ============================================================================= COMPONENT: database STATE: RUNNING (since 2025-06-27 10:39:05) DETAILS: binary_logging=on | log_size_backup_threshold=4 GiB | interface= | listener_port=3306 | designation=standalone ============================================================================= COMPONENT: sharepoint STATE: RUNNING (since 2025-06-27 10:24:46) DETAILS: subnet=192.168.1.0/24 ============================================================================= COMPONENT: resmon STATE: RUNNING (since 2025-06-27 10:47:45) DETAILS: protocol=http | interface=bear-database | api_port=8082 | ip_mask=192.168.1. 5.2.3 halt_bearStops all BEAR components gracefully in the best order. ArgumentsNone. 5.2.4 'restart_bear'Restarts all BEAR components that were previously stopped with halt_bear and does so in the best order.
|
||