上一页 1 2 3 4 5 6 7 8 ··· 12 下一页
摘要: 性能测试的概念 一般来说,性能是一种指标,表明软件系统或构件对其及时性要求的符合程度;其次,性能是软件产品的一种特性,可以用时间来进行度量。性能的及时性用响应时间或吞吐量来衡量。响应时间是指服务器对请求作出响应所需要的时间。 系统性能包括时间和空间两个维度,时间是指客户操作业务的响应时间,空间是指系 阅读全文
posted @ 2019-05-16 13:38 薏米* 阅读(245) 评论(0) 推荐(0)
摘要: Reference: https://unix.stackexchange.com/questions/164210/nslookup-command-not-found-error-on-rhel-centos-7 The minimal install likely did not come w 阅读全文
posted @ 2019-04-27 15:09 薏米* 阅读(1682) 评论(0) 推荐(0)
摘要: Need to install the xrdp tool on Ubuntu. To do this, open a Terminal window (Ctrl + Alt + T) and enter:: sudo apt install xrdp Follow this with: sudo 阅读全文
posted @ 2019-04-12 16:31 薏米* 阅读(150) 评论(0) 推荐(0)
摘要: 1.str to list str1 = "12345"list1 = list(str1)print list1 str2 = "123 sjhid dhi"list2 = str2.split() #or list2 = str2.split(" ")print list2 str3 = "ww 阅读全文
posted @ 2019-04-09 21:54 薏米* 阅读(787) 评论(0) 推荐(0)
摘要: UBUNTU中安装依赖包,出现如下错误:E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/o/openjdk-8/openjdk-8-jdk_8u181-b13-1ubuntu0.18.04.1_amd64.deb 阅读全文
posted @ 2019-04-08 17:39 薏米* 阅读(824) 评论(0) 推荐(0)
摘要: reboot machine, 查看DNS服务器配置文件\etc\resolv.conf, 里面的内容变回原来的样子。 原因是resolv.conf文件被系统程序自动维护。为了防止该文件被跟改,可以为其添加独占权限,即执行 sudo chattr +i /etc/resolv.conf Operat 阅读全文
posted @ 2019-03-28 18:00 薏米* 阅读(5555) 评论(0) 推荐(2)
摘要: 1:下载 https://github.com/BeyondTrust/pbis-open/releases wget https://github.com/BeyondTrust/pbis-open/releases/download/8.8.0/pbis-open-8.8.0.506.linux 阅读全文
posted @ 2019-03-28 15:10 薏米* 阅读(1177) 评论(0) 推荐(0)
摘要: 三种常用的方式如果在运行python脚本时需要传入一些参数,例如gpus与batch_size,可以使用如下三种方式。 python script.py 0,1,2 10python script.py -gpus=0,1,2 --batch-size=10python script.py -gpu 阅读全文
posted @ 2019-03-27 15:29 薏米* 阅读(552) 评论(0) 推荐(0)
摘要: 1 简单调用shell命令 os.system(command) 在一个子shell中运行command命令, 并返回command命令执行完毕后的退出状态. 这实际上是使用C标准库函数system()实现的. 这个函数在执行command命令时需要重新打开一个终端, 并且无法保存command命令 阅读全文
posted @ 2019-03-27 11:19 薏米* 阅读(375) 评论(0) 推荐(0)
摘要: Requirements Windows 7+ / Windows Server 2003+ PowerShell v2+ .NET Framework 4+ (the installation will attempt to install .NET 4.0 if you do not have 阅读全文
posted @ 2019-03-07 17:36 薏米* 阅读(125) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 12 下一页