摘要: 排查日志记录 1、当有多个日志文件,不知道具体在哪个日志文件时,可用: grep - n 流水号 * 2、查到日志文件后,通过vim去查找 vim xxx.log/流水号 3、查询5行到10行的日志: sed -n '5,10p' xxx.log 阅读全文
posted @ 2022-12-08 19:55 张小七soso 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 数据类型 数值类型 整数 byte占1个字节范围:-128~127 short占2个字节范围:-32768~32767 int占4个字节范围:-2147483648~2147483647 long占8个字节 浮点 float占4个字节 double占8个字节 字符 char占2个字节 布尔类型 bo 阅读全文
posted @ 2022-11-25 17:50 张小七soso 阅读(290) 评论(0) 推荐(0) 编辑
摘要: 1、大数据测试类型-质量测试 1.1 数据完整性 1.2 数据准确性 1.3 数据及时性 1.4 数据一致性 1.5 数据合法性 阅读全文
posted @ 2022-08-22 17:17 张小七soso 阅读(32) 评论(0) 推荐(0) 编辑
摘要: ''' 计算时间差 ''' import time import math import datetime from datetime import timedelta from calendar import monthrange """时间格式化""" def date_format(date) 阅读全文
posted @ 2022-08-11 10:55 张小七soso 阅读(31) 评论(0) 推荐(0) 编辑
摘要: import time #格式化时间(2019-11-27T16:29:54) def TimeFormatS(tS): # t = "2019-11-27T16:29:54" #先转换为时间数组,然后转换为其他格式 timeStruct = time.strptime(tS, "%Y-%m-%dT 阅读全文
posted @ 2022-08-11 10:54 张小七soso 阅读(8) 评论(0) 推荐(0) 编辑
摘要: # coding=gbk # -*- coding: utf-8 -*- import os, sys def mkdir(basepath): path = os.path.join(basepath) if os.path.exists(path): print('文件已存在') else: o 阅读全文
posted @ 2022-08-11 10:48 张小七soso 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 通过python代码来实现: # -*- coding: utf-8 -*- import pandas as pd def xlsx_to_csv_pd(): data_xls = pd.read_excel('配置类变量测试列表.xlsx', index_col=0) # 输入xlsx文件名 d 阅读全文
posted @ 2022-08-11 10:44 张小七soso 阅读(725) 评论(0) 推荐(0) 编辑
摘要: jps -l 显示路径 jps -m 显示参数 jps -v 显示jvm参数 | grep api 阅读全文
posted @ 2022-06-17 11:26 张小七soso 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-05-31 18:49 张小七soso 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 选中excel表格中竖列的数据并复制; 将数据粘贴的Word中,并全选(不要用快捷键)只粘贴文本; 选择布局工具栏,点击转化为文本,按确定按钮; 选中所以数据,按Ctrl+F,用逗号(,)替换段落符(^p),点击全部替换; 阅读全文
posted @ 2021-11-23 09:01 张小七soso 阅读(1539) 评论(0) 推荐(0) 编辑