摘要: 摘自:https://zhuanlan.zhihu.com/p/585534080 我们前面介绍过(我今天学习了一下3个perf:iperf、netperf和qperf),iperf3是用于执行网络吞吐量测量的工具,可以测试TCP、UDP或SCTP的吞吐量。本文以iperf 3.12为例,介绍一下i 阅读全文
posted @ 2024-03-27 10:11 LiuYanYGZ 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 摘自:https://www.jb51.net/article/249001.htm func System_CmdCombinedOutput(cmd_line string) ([]byte, error) { mutex_exec.Lock() defer mutex_exec.Unlock( 阅读全文
posted @ 2024-03-13 11:42 LiuYanYGZ 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 摘自:https://www.jb51.net/article/249001.htm 这篇文章主要介绍了go程序添加远程调用tcpdump功能,本文给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下 最近开发的telemetry采集系统上线了。听起来高大上,简单来说 阅读全文
posted @ 2024-03-13 11:33 LiuYanYGZ 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 摘自:https://www.jb51.net/article/261677.htm 一.json.hpp库下载及安装 1.1 开源地址及引入方法 nlohmann json的开源项目地址,其中有对json使用方法的详细说明: https://github.com/nlohmann/json#ser 阅读全文
posted @ 2024-03-06 10:12 LiuYanYGZ 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 右键下载到电脑或手机上,清晰! 阅读全文
posted @ 2024-02-26 11:54 LiuYanYGZ 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 摘自:https://blog.csdn.net/qq_27281753/article/details/127202676 问题背景在做项目的时候,遇到一个so调用问题,既别人提供了一些so库,其中一个so库包含了给我调用的函数,而这个库里面的函数又调用了其他库的函数,这些所有的库都是linux下 阅读全文
posted @ 2024-02-23 18:48 LiuYanYGZ 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 摘自:文心一言 在C语言中,可以使用stat()函数来判断一个路径对应的是文件、文件夹或者其他类型。 #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> int main() { char path[] = "/path/t 阅读全文
posted @ 2024-02-05 10:39 LiuYanYGZ 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 摘自:https://forum.ubuntu.org.cn/viewtopic.php?t=380854 我在学习linux C系统编程,书上有个源代码可以实现自己的ls命令,不过在查错的过程中这个问题卡了我很久 #include <stdio.h> #include <stdlib.h> #in 阅读全文
posted @ 2024-02-05 10:24 LiuYanYGZ 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 摘自:https://blog.csdn.net/m0_38062470/article/details/113574697 #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> int stat(const char *p 阅读全文
posted @ 2024-02-05 10:23 LiuYanYGZ 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 摘自:https://openjfx.cn 阅读全文
posted @ 2024-02-02 11:10 LiuYanYGZ 阅读(3) 评论(0) 推荐(0) 编辑