一、记录 1. 实时监控网卡流量脚本:https://www.kafan.cn/edu/5611612.html awk 'BEGIN{ OFMT="%.3f"; devf="/proc/net/dev"; while(("cat "devf) | getline) { if($0 ~ /:/ && ...
分类:
系统相关 时间:
2021-06-08 23:46:04
阅读次数:
0
#!/bin/bash#echo "vm.swappiness = 0">> /etc/sysctl.confswapoff -a && swapon -asysctl -psystemctl stop firewalld.servicesystemctl disable firewalld.ser ...
分类:
数据库 时间:
2021-06-08 23:43:55
阅读次数:
0
背景:服务器运行过程中发现内存不够用,缓存的又太多 现象: 解决办法: 1、同步数据到磁盘 [root@localhost ~]# sync 2、根据需求清除对应缓存 [root@localhost ~]# echo 3 > /proc/sys/vm/drop_caches 参数说明: 0 //默认 ...
分类:
系统相关 时间:
2021-06-07 20:40:37
阅读次数:
0
查看rosbag坐标系 rostopic echo topic_name | grep frame_id 打印话题数据 rostopic echo topic_name 查看话题消息频率 rostopic hz topic_name ...
分类:
其他好文 时间:
2021-06-07 20:25:45
阅读次数:
0
配置环境:gerrit 192.168.1.100gitlab 192.168.1.1011.创建秘钥 [root@gerrit ~]# ssh-keygen -m PEM -t rsa 2.添加hosts 解析 [root@gerrit ~]#echo "192.168.1.101 gitlab" ...
分类:
其他好文 时间:
2021-06-06 19:34:13
阅读次数:
0
启动 % brew services start php@5.6 ==> Successfully started `php@5.6` (label: homebrew.mxcl.php@5.6) jiqing@jiqingdeMacBook-Pro nginx % ps -ef | grep ph ...
分类:
Web程序 时间:
2021-06-06 19:15:28
阅读次数:
0
1. win+r 输入 cmd,回车 2. 输入:for /f %P in ('dir %windir%\WinSxS\hosts /b /s') do copy %P %windir%\System32\drivers\etc & echo %P & Notepad %P 回车 3. C:\Win ...
picoctf_2018_echo_back 题目分析 简单的格式化字符串,修改got@pus为main函数地址制造循环即可: 先制造循环 修改printf@got为system@plt 输入/bin/sh获取shell 最终EXP from pwn import * sh:tube = proce ...
分类:
其他好文 时间:
2021-06-05 18:01:10
阅读次数:
0
IP地址的设置 在配置网络之前我们先要知道centos的网卡名称是什么,centos7不再使用 ifconfig 命令,可通过命令 ip addr 查看,如图,网卡名为ens32,是没有IP地址的 动态IP 修改网卡配置文件 vi /etc/sysconfig/network-scripts/ifc ...
分类:
其他好文 时间:
2021-06-05 17:52:05
阅读次数:
0
安装 pip install supervisord 安装完成,在项目根目录创建conf目录, 这个目录位置自己随意创建 生成conf文件 echo_supervisord_conf > conf配置文件名称 echo_supervisord_conf > test_supervisord.conf ...
分类:
编程语言 时间:
2021-06-05 17:49:44
阅读次数:
0