![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
工具
alex_i
分享有趣和有用
展开
-
[install error]:No module named ‘_sqlite3‘
No module named '_sqlite3'原创 2022-04-14 11:13:02 · 1373 阅读 · 0 评论 -
LINUX高级环境编程-APUE-1-UNIX基础知识-环境搭建
apue环境搭建原创 2021-12-10 11:06:39 · 924 阅读 · 0 评论 -
系统监控-linux常用指令集
uptime查看系统load,后三个数字分别表示 1分钟、5分钟、15分钟内的系统的load值 top | grep Cpu 查看cpu的消耗情况。us-用户进程占用时间 sy-系统进程占用时间-越低越好 ni-调整线程优先级的所花费的时间 id-系统空闲时间-越低越好 wa-cpu等待io的时间-越低越好 hi-处理硬件中断的时间 si-处理软件中断的时间 st-丢失时间-表示当前虚机和同一台主机上的虚机抢占cpu的争抢比较激烈 top -p31...原创 2021-11-29 09:18:18 · 736 阅读 · 0 评论 -
linux系统监控常用指令
系统性能问题排除,系统监控常用指令原创 2021-12-09 15:11:44 · 769 阅读 · 0 评论 -
【tool合集-samba】centos7安装samba-linux文件映射win
关闭防火墙关闭selinux[root@localhost ~]# systemctl stop firewalld.service [root@localhost ~]# systemctl disable firewalld.service [root@localhost ~]# cat /etc/selinux/config # This file controls the state of SELinux on the system.# SELINUX= can take one .原创 2021-09-03 15:12:50 · 110 阅读 · 1 评论 -
在Win7系统实现多用户远程连接桌面的方法
WIN7系统是默认只允许一个用户,如果需要多个用户能远程则需要使用补丁UniversalTermsrvPatch。这个补丁主要目的是在于去除“单用户登陆的限制”,允许多人多用户同时并行访问登录;根据自己的系统运行对应的程序: 系统是32位,则运行 UniversalTermsrvPatch-x86.exe; 系统是64位,则运行 UniversalTermsrvPatch-x64.exe。此处提供64位的补丁,32位的有需要的自己可以去网上下载UniversalTermsrvP.原创 2021-05-14 10:23:43 · 2089 阅读 · 0 评论 -
git 多项目操作脚本
背景所在项目有多个git工程,且debug期间需要对照多个工程(否则会因为版本不一致而导致问题一直无法定位--血和泪的教训),因此经常遇到对多个工程执行相同git命令的场景。为解决一个个执行低效的问题,写了一个脚本,可以对多个git工程批量执行相同的git命令shell版#!/bin/bashid=""if test -f ".id"then id=$(cat .id)else while [[ ! $id =~ [0-9]{8} ]] do原创 2021-03-22 11:14:48 · 202 阅读 · 1 评论 -
【tool合集-supervisor】supervisor 使用和debug总结--持续更新
1.supervisor 总结1.1. supervisor配置文件说明1.2 supervisor管理子进程命令: 1. 启动supervisord管理的所有进程 supervisorctl start all 2. 停止supervisord管理的所有进程 supervisorctl stop all 3. 启动supervisord管理的某一个特定进程 supervisorctl start pr...原创 2020-07-31 09:58:26 · 408 阅读 · 0 评论 -
【tools合集-sambd】--配置远程虚机到本地的映射
linux版本:centoskey-安装sambd服务1.下载sambd 离线安装包http://pkgs.fedoraproject.org/repo/pkgs/samba/samba-3.2.0.tar.gz/318d5b1ec0507f0f6077b1470f9fc028/2.解压缩 进入samba-3.2.0目录执行./configure3.安装报错,少包:gultn pam等4.公司内网出问题,yum无法使用5.进入/etc/yum.repos.d 替换所有镜像源6.执行,yum原创 2020-07-31 09:53:26 · 228 阅读 · 0 评论 -
git快捷键配置-gitconfig全局配置-bashrc文件参考
1.命令函方式直接配置:git config --global alias.co checkoutgit config --global alias.ci commitgit config --global alias.cam 'commit -a --amend'git config --global alias.csm 'commit -s -m'git config --g...原创 2020-05-06 10:42:31 · 593 阅读 · 0 评论 -
pip 离线安装流程
pip 离线安装流程1.https://pypi.org/project/pip/#modal-close下载最新的pip包2.将pip包上传至linux虚机,通过tar -zxvf pip-20.0.2.tar.gz解压3.cd pip-20.0.2/4.python setup.py build5.python setup.py install...原创 2020-02-21 10:25:07 · 1328 阅读 · 1 评论 -
批量操作多个git仓库shell脚本参考
#!/bin/bashid=""if test -f ".id"then id=$(cat .id)else while [[ ! $id =~ [0-9]{8} ]] do read -p "Plz input hr id: " id done echo $id > ".id"fiMAIN_PROJ=ssh://${i...原创 2020-01-07 14:57:13 · 744 阅读 · 0 评论 -
mstsc远程连接端口映射
端口映射:使用管理者打开cmd中执行netsh interface portproxy add v4tov4 listenaddress=跳转机ip listenport=跳转机port(注意不要冲突) connectaddress=跳转机上的目标ip connectport=目标ip的port示例:C:\Windows\system32>netsh interface portpr...原创 2020-01-06 10:31:22 · 1193 阅读 · 0 评论 -
sysstat离线安装及使用教程-系统性能监控
安装离线包下载地址一:http://sebastien.godard.pagesperso-orange.fr/download.html离线包下载地址二:https://github.com/sysstat/sysstat安装步骤:unzip sysstat-master.zipcd sysstat-master/./configuremakemake installiosta...原创 2019-11-04 15:03:13 · 2647 阅读 · 0 评论