Vous êtes sur la page 1sur 3

E command shows error in processing

1. Delete getmail.busy
2. cd /data/mail/aus
3. ./mail_aus.sh

Remote PC sessions:

1. There are 3 available sessions that runs APCAP reports.


2. 1 session is only accessible when remote desktop is run as administrator i.e

3. Use the login credentials:


Username:capacity
Password:hamilt0n
4. The reports are initialized by running initial.xls on the desktop
5. The excel macros and templates are location in D:\cap\excel
6. Initial.xls calls cap.xls from D:\cap\excel hence any changes in cap.xls will have cascading
effect on all APCAP reports

Caltex Tandem Disk


1. Every month, we have this on-going issue where by the Disk values will be empty for tandem
servers

2. To fix this issue, go into /data/tandem/aus/Caltex/<server name>/<MMYY>/


3. Execute this command

for file in Disc_*.txt

do

day=`echo $file |nawk -F\_ '{split($2,ln,".");print ln[1]}'`

cat $file | nawk -v day=$day '

cap[$1]=$2;

used=100-$3;

uhd=used/100*$2

pc[$1]=uhd;

hdsize=$2

}END{

for (sys in pc){tot+=cap[sys];totpc+=pc[sys];}

printf("%s/06/17,%s,%d\n",day,tot,totpc);}'

done

4. At times, this will not regenerate the tandem reports. In this case, the macro Dataset needs
to be updated to be pointing to a date in the previous month and rerun the tandem reports.
***CHANGE THE HIGHLIGHTED TO REFLECT THE MONTH/YEAR OF THE DIRECTORY, e.g JUNE17
should be /06/17

The output should be updated into /data/tandem/aus/Caltex/<server name>/dm<month>.csv e.g


/data/tandem/aus/Caltex/<server name>/dm05.csv

Vous aimerez peut-être aussi