上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 36 下一页

2021年7月13日

摘要: openssl下载 ./config --prefix=/usr/local/openssl make make install mv /usr/bin/openssl /usr/bin/openssl.bak mv /usr/include/openssl /usr/include/openssl 阅读全文
posted @ 2021-07-13 09:37 lodger47 阅读(44) 评论(0) 推荐(0)
摘要: 安装 tar -xvf cmake-3.9.2.tar.gz cd cmake-3.9.2 ./configure --prefix=/usr/local/cmake gmake gmake install 安装完后,执行cmake --version会报如下错误 CMake Error: Coul 阅读全文
posted @ 2021-07-13 08:59 lodger47 阅读(495) 评论(0) 推荐(0)

2021年7月11日

摘要: nar流量测试命令 netperf带宽测试工具 redid-benchmark nmon CPU、带宽监控工具 google perftool 找到最耗cpu的函数。 https://github.com/gperftools/gperftools.git yum install autoconf 阅读全文
posted @ 2021-07-11 16:18 lodger47 阅读(28) 评论(0) 推荐(0)

2021年7月10日

摘要: 实现进程间的消息传递 "发布/订阅"(publish/subscribe)分别是发布者和订阅者。订阅者可以订阅一个或者多个频道(channel),而发布者可以向指定的频道(channel)发送消息,所有订阅此频道的订阅者都会收到此消息 发布者发布消息的命令是 publish,用法是 publish 阅读全文
posted @ 2021-07-10 14:37 lodger47 阅读(59) 评论(0) 推荐(0)
摘要: 函数原型 #include <stdio.h> FILE * popen(const char *command , const char *type ); int pclose(FILE *stream); popen 通过type是r还是w确定command的输入/输出方向,r和w是相对comm 阅读全文
posted @ 2021-07-10 10:54 lodger47 阅读(242) 评论(0) 推荐(0)
摘要: 列与行 1.打印文件的第一列(域) awk '{print $1}' filename 2、打印文件的前两列(域) awk '{print $1,$2}' filename 3、打印完第一列,然后打印第二列 awk '{print $1 $2}' filename 4、打印文本文件的总行数 awk 阅读全文
posted @ 2021-07-10 10:35 lodger47 阅读(242) 评论(0) 推荐(0)

2021年7月9日

摘要: #include<QProcess> QProcess 用于启动外部程序 startDetached 成员函数可以启动程序,并且跟被启动的程序脱离父子关系 QProcess pro; QStringList argv; argv.push_back("10.0.0.2"); argv.push_ba 阅读全文
posted @ 2021-07-09 09:05 lodger47 阅读(40) 评论(0) 推荐(0)
摘要: #include // 启动浏览器并访问注册界面 QDesktopServices::openUrl(QUrl("http://10.0.0.2")); 阅读全文
posted @ 2021-07-09 09:01 lodger47 阅读(39) 评论(0) 推荐(0)

2021年7月8日

摘要: fwrite的参数:(写什么内容,每次读取的字节数,读取的次数,流) fread的参数:(该往哪里读(内存),每次读取的字节数,读取的次数,流) #include<stdio.h> 功能:是用于读取二进制数据 size_t fread(void*buffer,size_t size,size_t c 阅读全文
posted @ 2021-07-08 18:12 lodger47 阅读(452) 评论(0) 推荐(0)
摘要: malloc函数。其原型void *malloc(unsigned int num_bytes); calloc函数其原型为 void* calloc (size_t num, size_t size); 函数用来动态地分配内存空间并初始化为 0, num 表示元素的个数 size 为单位元素的长度 阅读全文
posted @ 2021-07-08 18:01 lodger47 阅读(47) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 36 下一页

导航