
shell
文章平均质量分 54
Allen_Zhong
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
auto deft involve data with shell
#!/bin/bash autodef R29.13.50 R29.13.55 dbload_13.50 135.1.68.98 #!/bin/bash #################################### #define the param #################################### data=$3 host=$4 username="l原创 2014-03-11 10:11:09 · 612 阅读 · 0 评论 -
sulogsaver with shell and expect
1. comand: #!/bin/bash logsaver tat07 1 applycommit-test-abc R2618.01.22 2. main script: #!/bin/bash tat07=(tat07 135.2.85.98 135.2.85.99 4) tat04=(tat04 135.1.68.238 135.1.68.239 4) qtat1=(qtat1 135原创 2014-03-12 10:09:23 · 776 阅读 · 0 评论 -
generate hss profile via shell
#!/bin/ksh printf "data generation is beginning ...\n" #rm -rf pstn2ue_data orig_num=6002042001 printf "SEQUENTIAL # USER; AUTHENTICATION; local Port; Media Port\n">reg_data for ((i=0;i do原创 2015-06-30 09:34:36 · 414 阅读 · 0 评论 -
compute the su procedure time with python
#!/usr/bin/python2.6 import re,datetime file_name='sim.log' file=open(file_name,'r') acnum=[];time_res=[];lnum=0 def trans_time(time): t1=datetime.datetime.strptime(time,'%y/%m/%d %H:%M:%S')原创 2015-06-30 09:39:26 · 700 阅读 · 0 评论 -
verify who reload the lab with shell
#!/bin/ksh if [[ "${1}" = "" ]] then print "\nEnter labname: \c" read LAB else LAB="${1}" fi if [[ ! -f /home/fsbu/logs/reloadlog-${LAB} ]] then print "\nInvalid labname原创 2015-06-30 09:41:03 · 421 阅读 · 0 评论 -
generate the call load file
#!/usr/bin/perl -w $e911_call_percent = 0.0; $ims_node_number = 12; $local_ip = "10.86.52.2"; $local_port_base = 18000; $media_port_base = 19000; $SIPP_BIN="/home/lss/QCBCb/bin/sipp"; $原创 2015-06-30 09:27:08 · 691 阅读 · 0 评论 -
tools save the logs during su procedure
"ts" 5 lines, 235 characters #!/bin/bash #logsaver tat07 2 apply-comit-backout-bld1 R2711.01.38 #logsaver tat04 2 apply-reapply-commit-so-bld3 R2860.01.26 logsaver qisc2 2 apply-commit-backout-b原创 2015-06-30 09:37:16 · 748 阅读 · 0 评论