随笔分类 -  Linux

摘要:查看进程的线程数 1.查找到进程的pid 2.top -H -p pid 服务端 客户端 阅读全文
posted @ 2019-12-17 11:05 N_zero 阅读(463) 评论(0) 推荐(0)
摘要:epoll接口 int epoll_create(int size) 创建一个epoll的句柄,size用来告诉内核这个监听的数目一共有多大。 int epoll_ctl(int epfd, int op, int fd, struct epoll_event *event) epoll的事件注册函 阅读全文
posted @ 2019-12-13 10:17 N_zero 阅读(229) 评论(0) 推荐(0)
摘要:server #include<stdio.h> #include<stdlib.h> #include<string.h> #include<errno.h> #include<sys/types.h> #include<sys/socket.h> #include<netinet/in.h> # 阅读全文
posted @ 2019-12-12 16:44 N_zero 阅读(241) 评论(0) 推荐(0)
摘要:1.VMware安装 2.Linux系统安装 3.安装lnmp 3.1 screen -S lnmp 3.2 安装screen yum install screen 3.3 查看screen安装包路径 3.4 安装lnmp(使用wget) 4. 在VMware中给linux添加共享文件夹 5. 在l 阅读全文
posted @ 2019-12-11 10:56 N_zero 阅读(149) 评论(0) 推荐(0)
摘要:升级低版本的g++ 1.查看系统版本 或 2.查看系统位数 3.查看g++版本 4.桥接方式联网 #vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 HWADDR=00:0C:29:8F:B6:F4 TYPE=Ethernet UUID 阅读全文
posted @ 2019-12-09 15:01 N_zero 阅读(2292) 评论(0) 推荐(0)
摘要:借鉴了别人的。https://blog.csdn.net/zhouyongku/article/details/44857821 头文件 实现文件 测试 为保持和GetStr格式一致,可添加如下接口 接口实现 调用 阅读全文
posted @ 2019-09-23 16:32 N_zero 阅读(4218) 评论(0) 推荐(0)
摘要:https://github.com/premake/premake-core/wiki 阅读全文
posted @ 2019-06-08 11:09 N_zero 阅读(123) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/csfreebird/article/details/10987295 https://github.com/premake/premake-4.x/wiki/A-Sample-Script 阅读全文
posted @ 2019-06-08 10:59 N_zero 阅读(377) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/holens/p/5472239.html 阅读全文
posted @ 2019-06-08 10:47 N_zero 阅读(150) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/AloneSword/p/3512797.html 阅读全文
posted @ 2019-06-08 10:46 N_zero 阅读(196) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/oxspirt/p/6847438.html 阅读全文
posted @ 2019-06-08 10:45 N_zero 阅读(138) 评论(0) 推荐(0)