上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 77 下一页
摘要: touch `ifconfig |grep inet|awk -F "[: ]+" '{print $3}'|head -n1` 阅读全文
posted @ 2021-06-13 17:45 ahuo 阅读(166) 评论(0) 推荐(0)
摘要: SELECT * FROM C_TABE WHERE code = UNHEX('033e19010201010001030000ff');SELECT * FROM C_LIBRAY_TABLE_NAME WHERE code = UNHEX('033e19010201010001030000ff 阅读全文
posted @ 2021-01-06 16:03 ahuo 阅读(1066) 评论(0) 推荐(0)
摘要: root@localhost /# cat /proc/mtddev: size erasesize namemtd0: 00080000 00010000 "u-boot"mtd1: 00020000 00010000 "u-env"mtd2: 00060000 00010000 "logo"mt 阅读全文
posted @ 2020-10-22 11:41 ahuo 阅读(405) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <syslog.h> #include <errno.h> void mai 阅读全文
posted @ 2020-10-10 17:24 ahuo 阅读(186) 评论(0) 推荐(0)
摘要: yes >> /deb/watchdog 禁用代码 /* * Watchdog Driver Test Program */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include 阅读全文
posted @ 2020-10-09 18:07 ahuo 阅读(208) 评论(0) 推荐(0)
摘要: 配置文件保留的时间(1w为一周): journalctl --vacuum-time=1w 阅读全文
posted @ 2020-09-27 10:08 ahuo 阅读(402) 评论(0) 推荐(0)
摘要: 编译: 下载 ftp://ftp.gnu.org/gnu/gdb/gdb-7.11.1.tar.gz gdbserver编译 ./configure --target=arm-linux --host=arm-linux make arm设置 ulimit -c 1024echo /tmp/core 阅读全文
posted @ 2020-09-17 15:32 ahuo 阅读(258) 评论(1) 推荐(0)
摘要: ulimit -c 1024echo /tmp/core > /proc/sys/kernel/core_pattern #include <stdio.h> int main() { int* a=NULL; char aa[1]; a=1; aa[20]=1; sleep(10000); pri 阅读全文
posted @ 2020-09-15 19:30 ahuo 阅读(264) 评论(0) 推荐(0)
摘要: 修改/etc/security/limits.conf: * soft nofile 204800* hard nofile 204800 bugbugbugbugbugbug:虽说是全局修改,但是用systemctrl启动的进程,最大值还是1024 在搭建keepalived遇到此问题 cento 阅读全文
posted @ 2020-09-14 21:07 ahuo 阅读(789) 评论(0) 推荐(0)
摘要: iptraf-ng nethogs 阅读全文
posted @ 2020-09-14 10:56 ahuo 阅读(305) 评论(0) 推荐(0)
摘要: make COMPILE=gcc BOOT=none APP=0 SPI_SPEED=40 SPI_MODE=DIO SPI_SIZE_MAP=4 阅读全文
posted @ 2020-06-19 17:27 ahuo 阅读(210) 评论(0) 推荐(0)
摘要: 恢复出厂 AT+RESTORE STA模式 AT+CWMODE=1 smartconfig(广播) AT+CWSTARTSMART=1 停止 AT+CWSTOPSMART airkiss(组播) AT+CWSTARTSMART=2 停止 AT+CWSTOPSMART 获得IP AT+CIFSR 阅读全文
posted @ 2020-06-19 10:44 ahuo 阅读(1412) 评论(0) 推荐(0)
摘要: 在Centos7下,rc.local文件,开机默认是不执行的 必须运行 chmod +x /etc/rc.d/rc.local 命令来确保启动过程中执行此脚本 . 阅读全文
posted @ 2020-06-09 11:54 ahuo 阅读(1129) 评论(0) 推荐(0)
摘要: #定义Nginx运行的用户和用户组 user www www; # #nginx进程数,建议设置为等于CPU总核心数. worker_processes 8; # #全局错误日志定义类型,[ debug | info | notice | warn | error | crit ] error_lo 阅读全文
posted @ 2020-06-03 17:15 ahuo 阅读(850) 评论(0) 推荐(0)
摘要: pasv_enable=yes pasv_max_port=21080 pasv_min_port=21000 阅读全文
posted @ 2020-05-28 22:27 ahuo 阅读(1412) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 77 下一页