码迷,mamicode.com
首页 >  
搜索关键字:shell time expr wait    ( 86807个结果)
shell 脚本中常用的内置变量
在 Bash 解释器中,内置了许多变量,这些变量的功能是解释器自带的,我们在编写shell脚本时如果能灵活的使用它们,对脚本的编写效率以及差错大有帮助, 下面一一介绍这些变量 $FUNCNAME、$LINENO、$PWD FUNCNAME和LINENO 变量经常用于脚本的调试 FUNCNAME 表示 ...
分类:系统相关   时间:2021-05-24 07:09:39    阅读次数:0
JAVA 取五个工作日后的日期(仅排除周六周日)
import java.text.ParseException; import java.text.SimpleDateFormat; import java.time.*; import java.time.format.DateTimeFormatter; import java.util.Ca ...
分类:编程语言   时间:2021-05-24 06:45:07    阅读次数:0
selenium webDriver属性
1 from selenium import webdriver 2 from time import sleep 3 import random 4 class testCase(object): 5 def __init__(self): 6 url = 'http://www.baidu.co ...
分类:Web程序   时间:2021-05-24 06:36:25    阅读次数:0
记一次线上java程序CPU占用过高问题排查
1、top cpu占用过高 2、docker stats 3、docker ps 4、docker exec -it /bin/bash 【id】 5、top 6、ps -mp [占用过高程序pid] -o THREAD,tid,time 7、printf "%x\n" [异常线程tid] 8、js ...
分类:编程语言   时间:2021-05-24 06:32:15    阅读次数:0
手机号正则表达
async postphoneBinding(User, phone) { let temp = await http.phoneBinding(User, phone); let tel = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|1 ...
分类:移动开发   时间:2021-05-24 06:29:22    阅读次数:0
kvm宿主机删除br哦网卡
先用ifconfig br_name down 停掉网桥 再用brctl delbr br_name 删除网桥 为了方便,我编写了shell脚本来删除网桥 #!/bin/bash #本脚本删除的是br-开头的网桥 BRIDGE_LIST=$(sudo brctl show | cut -f 1 | ...
分类:其他好文   时间:2021-05-24 06:19:17    阅读次数:0
Windows影子用户创建与3389连接
#当获得一条shell后,可以创建一个影子用户,通过影子用户可以行驶正常用户的所有权限与功能,并且只可在注册表中被检测出来 (应急响应注册表很重要) 1.首先需要拥有权限创建一个Administrator用户,并分配管理员权限。 net user haha$ hahapass /add net lo ...
分类:Windows程序   时间:2021-05-24 06:09:45    阅读次数:0
C++常用库
#include <chrono> /// nanoseconds typedef duration<_GLIBCXX_CHRONO_INT64_T, nano> nanoseconds; /// microseconds typedef duration<_GLIBCXX_CHRONO_INT64 ...
分类:编程语言   时间:2021-05-24 06:07:05    阅读次数:0
MySQL千万级数据量该怎么优化,MySQL优化完美解决方案
问题概述 使用MySQL数据库,有个用户上网记录表6个月的数据量近2000万,保留最近一年的数据量达到4000万,查询速度极慢,日常卡死。严重影响业务。 问题前提:老系统,当时设计系统的人大概是大学没毕业,表设计和sql语句写的不仅仅是垃圾,简直无法直视。原开发人员都已离职,到我来维护,这就是传说中 ...
分类:数据库   时间:2021-05-24 06:01:31    阅读次数:0
vue_shop删除功能报错——_this3.$confirm(...).cath is not a function
vue_shop删除功能报错——_this3.$confirm(...).cath is not a function ...
分类:其他好文   时间:2021-05-24 05:48:24    阅读次数:0
共86807条   上一页 1 ... 27 28 29 30 31 ... 8681 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!