自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 收藏
  • 关注

转载 Python resource management

python

2022-08-20 14:30:41 205

转载 摘抄python selenium 窗口操作

摘抄python selenium 窗口操作Opens a new tabSwitch to the newly opened tabNavigate to new URL in new tabRun other commands in the new tab hereSwitch to original tabClose original tabSwitch back to newly opened tab, which is now in position 0Close current tabSwitc

2021-05-24 11:23:04 143

转载 ldd command

ldd命令用于打印程序或者库文件所依赖的共享库列表。 语法ldd(选项)(参数)选项–version:打印指令版本号;-v:详细信息模式,打印所有相关信息;-u:打印未使用的直接依赖;-d:执行重定位和报告任何丢失的对象;-r:执行数据对象和函数的重定位,并且报告任何丢失的对象和函数;–help:显示帮助信息。参数文件:指定可执行程序或者文库。...

2019-04-28 17:49:31 388

原创 存储性能测试

操作系统设置vi /etc/security/limits.conf文件打开数限制,64位服务器上可考虑适当增加该值.nofile 65536允许程序core dump全部内容core unlimitedvi /etc/sysctl.confA system-wide limit onthe number of open files for all proc...

2019-04-24 16:52:45 479

原创 pip

python -m pip install module-name

2019-03-21 14:40:49 77

原创 Fire 分析

core.pydef Fire(component=None, command=None, name=None)Fire, is the main entrypoint for Python Fire.

2019-03-20 09:39:39 185

原创 vi command

:%s/string-to-find/string-to-replace/g

2019-03-20 09:17:11 80

转载 from..import and import inPython

import:导入一个模块;箱单于导入文件夹,相对路径from…import:导入一个函数;箱单于导入一个文件,绝对路径调用方式:import:模块.函数from…import: 直接使用函数名...

2019-03-19 21:06:03 149

转载 uniq command

Check duplicate rows and columns,$ uniq testfile #删除重复行后的内容 test 30 Hello 95 Linux 85 $ uniq -c testfile #删除重复行后的内容 3 test 30 #前面的数字的意义为该行共出现了3次 4 Hello 95 ...

2019-03-18 13:32:10 84

转载 lsof command

To list all open files, run lsof without any argumentslosfThe same withlsof -iTo list files opened by processes belonging to a specific userslsof -u [user-name]To list opened files based...

2019-03-18 10:58:08 154

转载 Linux find command

The basic syntax of find command looks like this:$ find location comparison-criteria search-termUsing the wildcards:oracle@linux:~> find ./product -name '*.ora'./product/11gR1/db/network/admin...

2019-03-15 10:13:46 181

原创 计算两个服务器的时差

linux-7inj:~ # clockdiff 10.30.27.113.host=10.30.27.113 rtt=750(187)ms/0ms delta=212030ms/212030ms Fri Mar 1 15:39:43 2019delta为时差(ms)

2019-03-01 15:44:27 629

原创 Linux查看CPU几路几核几线程

linux-7inj:~ # cat /proc/cpuinfo显示cpu的所有信息processor : 0vendor_id : GenuineIntelcpu family : 6model : 60model name : Intel(R) Xeon(R) CPU E3-1230 v3 @ 3.30GHzstep...

2019-02-28 18:00:27 9553

转载 SUSE11关闭防火墙

方法1) 关闭 iptables服务用root用户权限执行 禁止iptables服务命令chkconfig iptables off方法2) 关闭SuSE Linux管理防火墙的服务检查 SuSE防火墙是否设置为启动chkconfig --list | grep firewall关闭防火墙服务chkconfig SuSEfirewall2_init offchkconfig Su...

2019-02-28 17:45:25 6577

转载 TCPUDP端口可达

测试tcp服务的端口是否可用,可以使用:telnet ip port 但是如果这个用在upd服务上,就会报错, 因为telnet走的是tcp协议, 比如说192.168.80.131在8888端口上上启了个udp的服务,这时使用telnet 192.168.80.131 8888,就会报如下错误:Trying 192.168.80.131…telnet: connect to ...

2019-02-28 16:51:59 449

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除