摘要: #!/usr/bin/python #coding=utf-8 #好好学习,天天向上 class Car: """一次模拟汽车的简单尝试""" def __init__(self,make,model,year): """初始化汽车的属性""" self.make = make self.model 阅读全文
posted @ 2021-01-11 22:07 tigergaonotes 阅读(57) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-01-11 21:55 tigergaonotes 阅读(63) 评论(0) 推荐(0) 编辑
摘要: ① 物理CPU 实际Server中插槽上的CPU个数 物理cpu数量,可以数不重复的 physical id 有几个 ② 逻辑CPU Linux用户对 /proc/cpuinfo 这个文件肯定不陌生. 它是用来存储cpu硬件信息的 信息内容分别列出了processor 0 – n 的规格。这里需要注 阅读全文
posted @ 2021-01-11 21:45 tigergaonotes 阅读(102) 评论(0) 推荐(0) 编辑