vtune自動(dòng)化安裝腳本
更新時(shí)間:2014年04月25日 10:26:17 作者:
這篇文章主要介紹了vtune自動(dòng)化安裝腳本,需要的朋友可以參考下
復(fù)制代碼 代碼如下:
#!/bin/bash
#!/usr/bin/expect -f
#!/usr/bin/env bash
yum install -y expect wget
cd /root
wget http://172.16.92.99/share/tar/vtune_amplifier_xe_2013_update15.tar.gz
wget http://172.16.92.99/share/tar/EVAL_L_VT__VGXB-RDCJPN8X.lic
tar -zxvf vtune_amplifier_xe_2013_update15.tar.gz
expect -c "spawn sh /root/vtune_amplifier_xe_2013_update15/install.sh;
set timeout 5; expect "*Enter*"; send \"\r\n\";
expect "*Enter*"; send \"\r\n\";
expect "*Enter*"; send \"\r\n\";
while {1} {
expect {
"*--More--*" {send \"\r\n\"}
"*accept*" {break}
}
}
expect "*accept*"
send "accept\\r"
expect "*selection*";send "3\\r";
expect "*choice*"; send "2\\r";
send "/root/EVAL_L_VT__VGXB-RDCJPN8X.lic"
expect "*Enter*"; send \"\r\n\";
expect "*selection:*"; send "1\\r";
expect "*Enter*"; send \"\r\n\";
set timeout 25;
expect "*Enter*"; send \"\r\n\";
expect "*Enter*"; send \"\r\n\";
expect eof;"
rm -rf /root/*
source /opt/intel/vtune_amplifier_xe_2013/amplxe-vars.sh
相關(guān)文章
NetCat工具命令介紹及遠(yuǎn)程文件傳輸實(shí)現(xiàn)
這篇文章主要為大家介紹了NetCat工具命令的介紹以及遠(yuǎn)程文件傳輸實(shí)現(xiàn),有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進(jìn)步,早日升職加薪2022-03-03linux bash腳本監(jiān)控啟動(dòng)停止weblogic服務(wù)的腳本寫法
這篇文章主要介紹了linux bash腳本監(jiān)控啟動(dòng)停止weblogic服務(wù)的腳本寫法,非常不錯(cuò),具有參考借鑒價(jià)值,需要的朋友可以參考下2017-02-02shell實(shí)現(xiàn)字符編碼轉(zhuǎn)換工具分享
這篇文章主要介紹了shell實(shí)現(xiàn)的字符編碼轉(zhuǎn)換工具,支持UTF-8轉(zhuǎn)GBK和GBK轉(zhuǎn)UTF-8,需要的朋友可以參考下2014-03-03詳解 linux mysqldump 導(dǎo)出數(shù)據(jù)庫、數(shù)據(jù)、表結(jié)構(gòu)
這篇文章主要介紹了詳解 linux mysqldump 導(dǎo)出數(shù)據(jù)庫、數(shù)據(jù)、表結(jié)構(gòu)的相關(guān)資料,需要的朋友可以參考下2017-05-05