strace是一个可用于诊断、调试和教学的Linux用户空间跟踪器。我们用它来监控用户空间进程和内核的交互,比如系统调用、信号传递、进程状态变更等 常见参数如下 -tt 在每行输出的前面,显示毫秒级别的时间 -ttt也可以向上面那样展示微秒级的时间戳 -T 显示每次系统调用所花费的时间 -v 对于某 ...
分类:
系统相关 时间:
2021-04-02 13:03:49
阅读次数:
0
https://blog.csdn.net/weixin_33672109/article/details/92378342 #!/bin/bash if [ "$#" -ne 2 ] ; then echo "USAGE: $0 -f server_list_file cmd" exit -1 f ...
分类:
系统相关 时间:
2021-04-02 13:01:20
阅读次数:
0
首先安装MySQL服务: wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm yum -y install mysql57-community-release-el7-10.noarch.rp ...
分类:
数据库 时间:
2021-04-02 12:58:53
阅读次数:
0
1 MySQL 1.1 安装 在root用户权限下 # 创建mysql用户和用户组,同时禁止登陆 shell> groupadd mysql shell> useradd -r -g mysql -s /bin/false mysql # tar解压mysql压缩包,同时把他移到你向安装的位置 sh ...
分类:
数据库 时间:
2021-04-01 13:30:26
阅读次数:
0
管道通信(上) (一)概述 Linux Shell 都允许重定向,而重定向使用的就是管道。例如,ps | grep vsftpd 。管道是单向的、先进先出的、无结构的、固定大小的字节流。管道是Linux由Unix那里继承过来的进程间的通信机制,它是Unix早期的一个重要通信机制。其思想是,在内存中创 ...
分类:
其他好文 时间:
2021-04-01 13:26:09
阅读次数:
0
1. GLPK缺失 igraph::cluster_optimal社团检测算法依赖系统中的GLPK包。 MacOS 11.2 brew install glpk CentOS 7 wget http://download-ib01.fedoraproject.org/pub/epel/7/x86_6 ...
分类:
其他好文 时间:
2021-04-01 12:54:29
阅读次数:
0
下载python源码至服务器 http://npm.taobao.org/mirrors/python/3.7.5/Python-3.7.5.tgz (根据自己的需要去下载对应的版本) wget http://npm.taobao.org/mirrors/python/3.7.5/Python-3. ...
分类:
编程语言 时间:
2021-03-31 12:32:39
阅读次数:
0
shell编程实现创建新用户和打包文件 1、shell编程创建新用户 #! /bin/bash `useradd $1` `echo $2 | passwd --stdin $1` 假设这个文件的名称为test.sh,则操作方式为: ./test.sh admin 123456 其中1参为用户名,2 ...
分类:
系统相关 时间:
2021-03-31 12:11:52
阅读次数:
0
1、普通安装cd /usr/local/ wget http://download.redis.io/releases/redis-4.0.11.tar.gz tar -zxvf redis-4.0.11.tar.gz 注意:make install PREFIX=目标安装路径 cd /usr/lo ...
分类:
其他好文 时间:
2021-03-31 12:03:09
阅读次数:
0
vi readreply.sh #!/bin/bash#第一部分 echo -n "What is your name?"readecho "Your name is $REPLY" #已将变量的值从标准输入读到REPLY #第二部分echo -n "What is the name of your ...
分类:
系统相关 时间:
2021-03-30 13:53:42
阅读次数:
0