会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
程序之家
os .net vc++ asm driver wireless
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
7
8
9
10
11
12
13
14
15
···
77
下一页
2021年1月6日
mysql 二进制数据查询
摘要: 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
阅读(1065)
评论(0)
推荐(0)
2020年10月22日
mtd
摘要: 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
阅读(397)
评论(0)
推荐(0)
2020年10月10日
嵌入式watchdog
摘要: #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
阅读(182)
评论(0)
推荐(0)
2020年10月9日
watchdog
摘要: 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
阅读(203)
评论(0)
推荐(0)
2020年9月27日
systemd-journald日志清理
摘要: 配置文件保留的时间(1w为一周): journalctl --vacuum-time=1w
阅读全文
posted @ 2020-09-27 10:08 ahuo
阅读(398)
评论(0)
推荐(0)
2020年9月17日
gdb+gdbserver 嵌入式调试
摘要: 编译: 下载 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
阅读(256)
评论(1)
推荐(0)
2020年9月15日
嵌入式 coredump
摘要: 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
阅读(261)
评论(0)
推荐(0)
2020年9月14日
CentOS7 systemctrl管理的服务,open files的神坑
摘要: 修改/etc/security/limits.conf: * soft nofile 204800* hard nofile 204800 bugbugbugbugbugbug:虽说是全局修改,但是用systemctrl启动的进程,最大值还是1024 在搭建keepalived遇到此问题 cento
阅读全文
posted @ 2020-09-14 21:07 ahuo
阅读(784)
评论(0)
推荐(0)
Linux 服务器网络流量查看工具
摘要: iptraf-ng nethogs
阅读全文
posted @ 2020-09-14 10:56 ahuo
阅读(304)
评论(0)
推荐(0)
2020年6月19日
ESP8266
摘要: make COMPILE=gcc BOOT=none APP=0 SPI_SPEED=40 SPI_MODE=DIO SPI_SIZE_MAP=4
阅读全文
posted @ 2020-06-19 17:27 ahuo
阅读(209)
评论(0)
推荐(0)
ESP8266 自动配网
摘要: 恢复出厂 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
阅读(1406)
评论(0)
推荐(0)
2020年6月9日
rc.local开机不执行
摘要: 在Centos7下,rc.local文件,开机默认是不执行的 必须运行 chmod +x /etc/rc.d/rc.local 命令来确保启动过程中执行此脚本 .
阅读全文
posted @ 2020-06-09 11:54 ahuo
阅读(1123)
评论(0)
推荐(0)
2020年6月3日
Nginx配置参数中文详细说明
摘要: #定义Nginx运行的用户和用户组 user www www; # #nginx进程数,建议设置为等于CPU总核心数. worker_processes 8; # #全局错误日志定义类型,[ debug | info | notice | warn | error | crit ] error_lo
阅读全文
posted @ 2020-06-03 17:15 ahuo
阅读(848)
评论(0)
推荐(0)
2020年5月28日
vsftp 被动模式设置
摘要: pasv_enable=yes pasv_max_port=21080 pasv_min_port=21000
阅读全文
posted @ 2020-05-28 22:27 ahuo
阅读(1411)
评论(0)
推荐(0)
2020年5月3日
tcp连接状态
摘要: CLOSED:无连接是活动的或正在进行 LISTEN:服务器在等待进入呼叫 SYN_RECV:一个连接请求已经到达,等待确认 SYN_SENT:应用已经开始,打开一个连接 ESTABLISHED:正常数据传输状态 FIN_WAIT1:应用说它已经完成 FIN_WAIT2:另一边已同意释放 ITMED
阅读全文
posted @ 2020-05-03 12:53 ahuo
阅读(164)
评论(0)
推荐(0)
上一页
1
···
7
8
9
10
11
12
13
14
15
···
77
下一页
公告