上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 20 下一页
摘要: 问题原因: perf: interrupt took too long_雪虎-JL的博客-CSDN博客 解决方法: perf: interrupt took too long (3136 > 3126), lowering kernel.perf_event_max_sample_rate to 6 阅读全文
posted @ 2022-11-07 13:46 咸鱼书生 阅读(5081) 评论(0) 推荐(0)
摘要: C系统提供了丰富的系统文件,称为库文件,整理一下以后好实用: <stdio.h> 定义了三个变量类型、一些宏和各种函数来执行输入和输出 https://www.runoob.com/cprogramming/c-standard-library-stdio-h.html<ctype.h> 提供了一些 阅读全文
posted @ 2022-11-06 11:04 咸鱼书生 阅读(386) 评论(0) 推荐(0)
摘要: Linux系统VS Code配置C/C++环境_瓶邪写一个夏天的博客-CSDN博客_linux vscode配置c/c++环境 阅读全文
posted @ 2022-11-06 10:59 咸鱼书生 阅读(56) 评论(0) 推荐(0)
摘要: C语言的运算符包括单目运算符、双目运算符、三目运算符,优先级如下:第1优先级:各种括号,如()、[]等、成员运算符 . ;第2优先级:所有单目运算符,如++、–、!、~等;第3优先级:乘法运算符*、除法运算符/、求余运算符%;第4优先级:加法运算符+、减法运算符-;第5优先级:移位运算符<<、>>; 阅读全文
posted @ 2022-11-06 10:14 咸鱼书生 阅读(3141) 评论(0) 推荐(0)
摘要: Linux系统中‘dmesg’命令处理故障和收集系统信息的7种用法 编译自:http://www.tecmint.com/dmesg-commands/原创:LCTT https://linux.cn/article-3587-1.html ‘dmesg’命令显示linux内核的环形缓冲区信息,我们 阅读全文
posted @ 2022-11-02 10:41 咸鱼书生 阅读(1745) 评论(0) 推荐(0)
摘要: 一、hdparm: hdparm可以检测,显示与设定IDE,SCSI,SATA,SAS硬盘的硬件参数, 如: hdparm -I /dev/sdc 可以获取sdc的硬件信息 hdparm -W 0 /dev/sda 关闭磁盘写缓存, (这个缓存是在磁盘内部的, 一般不关闭, 只能整个盘有效) 二、i 阅读全文
posted @ 2022-10-31 15:27 咸鱼书生 阅读(1524) 评论(0) 推荐(0)
摘要: 功能描述:根据文件描述词来操作文件的特性。 #include <unistd.h>#include <fcntl.h> int fcntl(int fd, int cmd); int fcntl(int fd, int cmd, long arg); int fcntl(int fd, int cm 阅读全文
posted @ 2022-10-31 15:12 咸鱼书生 阅读(583) 评论(0) 推荐(0)
摘要: python – 定义函数 def 后面的 ->,:表示的含义-> 常常出现在python函数定义的函数名后面,为函数添加元数据,描述函数返回的类型。 : 表示参数的类型建议符示例: def add(x:int, y:int) ->bool: if(x>y): return True else: r 阅读全文
posted @ 2022-10-31 14:43 咸鱼书生 阅读(1897) 评论(0) 推荐(0)
摘要: Libata error messages Contents [hide] 1 Overview 2 Prefix 3 Exception line 4 Input taskfile 5 Output taskfile, error summary 6 Error classes 7 ATA sta 阅读全文
posted @ 2022-10-22 15:28 咸鱼书生 阅读(831) 评论(0) 推荐(0)
摘要: 在python列表中删除元素主要分为以下3种场景: 根据目标元素所在的索引位置进行删除,可以使用del关键字或pop()方法;根据元素本身的值进行删除,可使用列表(list类型)提供的remove()方法;将列表中所有元素全部删除,可使用列表(list类型)提供的clear()方法;del:根据索引 阅读全文
posted @ 2022-10-19 10:17 咸鱼书生 阅读(549) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 20 下一页