You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-12-20 01:42:27 +03:00
32 lines
949 B
Bash
Executable File
32 lines
949 B
Bash
Executable File
#! /bin/sh
|
|
#
|
|
#/*******************************************************************************
|
|
#* Script Name: copyfiles.sh
|
|
#* Date Created: 2009.02.04
|
|
#* Author: Stephen Cargile
|
|
#* Purpose: copy the data files to \\calweb\perf for archiving and further processing
|
|
#*
|
|
#* Input Parameters:
|
|
#* host - fqdn of host
|
|
#* date - day of month
|
|
#* starttime
|
|
#* endtime
|
|
#*
|
|
#******************************************************************************/
|
|
#
|
|
# Get user input (command line parameters passed from Step2)
|
|
#
|
|
date=$1
|
|
starttime=$2
|
|
endtime=$3
|
|
host=$(hostname)
|
|
#
|
|
cd /tmp/$host/sar
|
|
#
|
|
smbclient //calweb/perf -Wcalpont -Uoamuser%Calpont1 -c "mkdir ${host};cd ${host};mkdir sar;cd sar;prompt OFF;mput sar_data_*.txt"
|
|
#
|
|
cd /tmp/$host/ps
|
|
smbclient //calweb/perf -Wcalpont -Uoamuser%Calpont1 -c "mkdir ${host};cd ${host};mkdir ps;cd ps;prompt OFF;mput ps_*.txt"
|
|
#
|
|
# End of script
|