sar(System Activity Reporter系统活动情况报告)是目前 Linux 上最为全面的系统性能分析工具之一,可以从多方面对系统的活动进行报告,包括:文件的读写情况、系统调用的使用情况、磁盘I/O、CPU效率、内存使用状况、进程活动及IPC有关的活动等。本文主要以CentOS 6. ...
分类:
系统相关 时间:
2021-04-19 15:09:15
阅读次数:
0
xargs 作用 xargs作用是将标准输入转为命令行参数。 args单独使用默认后面是echo xargs # 等同于 xargs echo 输入xargs按下回车以后,命令行就会等待用户输入,作为标准输入。可以输入任意内容,直到按下Ctrl + d,表示输入结束,这时echo命令就会把前面的输入 ...
分类:
其他好文 时间:
2021-04-19 15:02:22
阅读次数:
0
mac 上build go 如果想要在centos上面执行 必须使用下面的方式 CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o hello hello.go 不然会报错 :cannot execute binary file ...
分类:
其他好文 时间:
2021-04-19 14:58:20
阅读次数:
0
opt_map函数中对于指定了select program的分析 从过滤器中进行map static int open_output_file(OptionsContext *o, const char *filename) open_output_file函数中根据stream_map进行创建输出 ...
分类:
其他好文 时间:
2021-04-19 14:39:12
阅读次数:
0
public class MyInfo { public string Name { get; set; } public double Diff { get; set; } public string File { get; set; } } static void Main(string[] a ...
Redis系列(一):Redis 主从同步集群模式:https://phachon.com/redis/redis-1.html Redis系列(二):Redis 哨兵集群模式:https://phachon.com/redis/redis-2.html 以下仅为参考! https://www.cn ...
分类:
系统相关 时间:
2021-04-19 14:33:11
阅读次数:
0
c#字符显示转换{0:d} C#:String.Format数字格式化输出 : int a = 12345678; //格式为sring输出 // Label1.Text = string.Format("asdfadsf{0}adsfasdf",a); // Label2.Text = "asdf ...
分类:
其他好文 时间:
2021-04-19 14:32:39
阅读次数:
0
IO是计算机上最慢的部分,先不看磁盘IO,针对网络编程,自然是针对网络IO。网络协议对网络IO影响很大,当下,TCP/IP协议是毫无疑问的主流协议。 文件IO中使用了文件描述符的概念。但是并不是所有操作系统都提供文件描述符这样抽象的机制。因此 文件IO 的那一套函数,可以在类unix系统下使用。但是 ...
分类:
系统相关 时间:
2021-04-16 12:18:46
阅读次数:
0
#_*_ encoding: utf-8 _*_ @author: ty heris #项目名称: pycharm_file 会自动替换为当前项目名称 #创建时间: 2018/5/6 会自动替换为当前日期 lst1 = [[0]*5]*5 print(lst1) # [[0, 0, 0, 0, 0] ...
分类:
其他好文 时间:
2021-04-16 12:15:15
阅读次数:
0
/* * Copyright (c) 2015 Paul B Mahol * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under th ...
分类:
其他好文 时间:
2021-04-16 12:07:43
阅读次数:
0