determining Linux system memory consumption and availability

to determine the system memory consumption within Linux, the following bash commands can be used from the terminal:

free –m
egrep --color 'Mem|Cache|Swap' /proc/meminfo

image

Advertisements

define alias for starting/stopping Oracle BI

For starting and stopping of Oracle BI 11g the OPMN services was used. The usage of OPMN for starting and stopping the Oracle BI 11g services has also been described in a previous posting.

With Oracle BI 12c, OPMN is not used further anymore. The scripts to start Oracle BI can be found in the following directory:

/opt/oracle/obiee/user_projects/domains/bi/bitools/bin

image

To start the Oracle 12c instance the following command can be used:

./start.sh

image

Within linux a alias can be created to call the start script without navigating to the directory each time. To create the alias the bashrc needs to be edited using the following command:

gedit ~/.bashrc

image

this opens the bashrc file using the gedit editor to add the following lines at the bottom of the file:

alias bistart='/opt/oracle/obiee/user_projects/domains/bi/bitools/bin/start.sh'
alias bipsstart='/opt/oracle/obiee/user_projects/domains/bi/bitools/bin/start.sh -i obips1'
alias bistop='/opt/oracle/obiee/user_projects/domains/bi/bitools/bin/stop.sh'
alias bipsstop='/opt/oracle/obiee/user_projects/domains/bi/bitools/bin/stop.sh -i obips1'
alias bistatus='/opt/oracle/obiee/user_projects/domains/bi/bitools/bin/status.sh'

image

after this the file needs to be saved and the bashrc needs to be executed to take effect:

. ~/.bashrc

image