摘要: 下载地址: perf:https://mirrors.aliyun.com/centos/7/centosplus/x86_64/Packages/ 火焰图:git clone https://github.com/brendangregg/FlameGraph.git perf report : 阅读全文
posted @ 2023-02-23 19:51 Anita光子 阅读(79) 评论(0) 推荐(0) 编辑
摘要: git commit —amend 阅读全文
posted @ 2023-01-16 16:18 Anita光子 阅读(11) 评论(0) 推荐(0) 编辑
摘要: https://z.itpub.net/article/detail/0516F81DDE9040049590924EF437988E 阅读全文
posted @ 2023-01-13 11:32 Anita光子 阅读(15) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/vmsysjack/p/16213076.html 阅读全文
posted @ 2023-01-11 15:15 Anita光子 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 问题现象: 文件打开失败,返回error :too many open file 解决步骤: 修改系统、进程打开文件限制 参考博客: https://blog.csdn.net/weixin_45027467/article/details/125158985 https://blog.csdn.n 阅读全文
posted @ 2023-01-06 14:31 Anita光子 阅读(15) 评论(0) 推荐(0) 编辑
摘要: strcpy会自动添加\0 strncpy不会自动添加\0 阅读全文
posted @ 2023-01-05 16:50 Anita光子 阅读(25) 评论(0) 推荐(0) 编辑
摘要: ip route add 9.9.9.9/32 nexthop via 192.168.5.2 nexthop via 192.168.5.36 ip route add 2020::1/64 nexthop via 2002::2 nexthop via 2002::3 nexthop via 2 阅读全文
posted @ 2023-01-04 15:14 Anita光子 阅读(140) 评论(0) 推荐(0) 编辑
摘要: https://www.computerhope.com/unix.htm 阅读全文
posted @ 2023-01-04 15:07 Anita光子 阅读(8) 评论(0) 推荐(0) 编辑
摘要: /** * Note: The returned array must be malloced, assume caller calls free(). */ int* twoSum(int* nums, int numsSize, int target, int* returnSize){ int 阅读全文
posted @ 2022-11-19 14:19 Anita光子 阅读(18) 评论(0) 推荐(0) 编辑
摘要: demo1: /*判断下一跳地址是否是接口ip*/ func GetInterfaceIPString() (ipStrings string) { ifaces, err := net.Interfaces() if err != nil { logging.Errorf("Failed to g 阅读全文
posted @ 2022-04-07 16:02 Anita光子 阅读(41) 评论(0) 推荐(0) 编辑