You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
name changes
This commit is contained in:
53
oamapps/columnstoreSupport/softwareReport.sh
Executable file
53
oamapps/columnstoreSupport/softwareReport.sh
Executable file
@ -0,0 +1,53 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# $Id: hardwareReport.sh 421 2007-04-05 15:46:55Z dhill $
|
||||
#
|
||||
if [ $1 ] ; then
|
||||
MODULE=$1
|
||||
else
|
||||
MODULE="pm1"
|
||||
fi
|
||||
|
||||
if [ $2 ] ; then
|
||||
INSTALLDIR=$2
|
||||
else
|
||||
INSTALLDIR="/usr/local/MariaDB/Columnstore"
|
||||
fi
|
||||
|
||||
if [ $USER = "root" ]; then
|
||||
SUDO=" "
|
||||
else
|
||||
SUDO="sudo"
|
||||
fi
|
||||
|
||||
$SUDO rm -f /tmp/${MODULE}_softwareReport.txt
|
||||
|
||||
{
|
||||
echo " "
|
||||
echo "******************** Software Report for ${MODULE} ********************"
|
||||
echo " "
|
||||
|
||||
echo " "
|
||||
echo "-- Columnstore Package Details --"
|
||||
echo " "
|
||||
echo "################# mcsadmin getcolumnstoresoftwareinfo #################"
|
||||
echo " "
|
||||
$INSTALLDIR/bin/mcsadmin getcolumnstoresoftwareinfo
|
||||
|
||||
echo " "
|
||||
echo "-- Columnstore Release Number file --"
|
||||
echo " "
|
||||
echo "################# cat $INSTALLDIR/releasenum #################"
|
||||
echo " "
|
||||
cat $INSTALLDIR/releasenum
|
||||
|
||||
echo " "
|
||||
echo "-- Columnstore Storage Configuration --"
|
||||
echo " "
|
||||
echo "################# mcsadmin getStorageConfig #################"
|
||||
echo " "
|
||||
$INSTALLDIR/bin/mcsadmin getStorageConfig
|
||||
|
||||
} > /tmp/${MODULE}_softwareReport.txt
|
||||
|
||||
exit 0
|
Reference in New Issue
Block a user