Linux command – cpupower
![]()
CPU 依據省電模式有區分為 Processor Operating States (C-states) 與 Processor Performance States (P-states),兩者的差別是? ACPI 支援可以參考 https://benjr.tw/257 測試環境為 CentOS 7 […]
![]()
CPU 依據省電模式有區分為 Processor Operating States (C-states) 與 Processor Performance States (P-states),兩者的差別是? ACPI 支援可以參考 https://benjr.tw/257 測試環境為 CentOS 7 […]
![]()
msr-tools 提供了三隻工具,都是與 CPU 相關的. rdmsr – read MSR from any CPU or all CPUs wrmsr – write values to MSR on any CPU or all CPUs msr-cpuid – show identific […]
![]()
測試環境為 CentOS 7 x86_64 (IP:172.16.15.129) 虛擬機 http (Apache) , CGI (Common Gateway Interface)-perl 所需套件. 可以利用 curl 來檢視 Http 是否正常運作,或是直接透過 網頁瀏覽器 來查看. Apa […]
![]()
測試環境為 CentOS 7 x86_64 在 smartctl 官網有提到 https://www.smartmontools.org/wiki/NVMe_Support 可以透過它來看 nvme 的資訊. SATA Express / NVMe 使用的是 PCI Express SSD 的硬碟裝 […]
![]()
關於 smartctl 使用,請參考 https://benjr.tw/95984 測試環境為 CentOS 7 x86_64 這邊討論如何透過 smartctl 去檢視硬碟的 S.M.A.R.T. attributes,可以透過下面兩個參數來檢視. -a, –all -a 對於 ATA […]
![]()
以前會用 netstat – https://benjr.tw/22383 來監控網路連線狀態,這邊介紹另外一隻功能相似,功能更強的 新工具 ss (Socket Statistics). 測試環境為 CentOS 7 x86_64. 直接來看一下 man ss 提供的範例. Displ […]
![]()
在沒有 BMC 時 Linux 底下還是可以透過另外一種方式 LM_Sensor 來針對 I²C / smbus 上的 溫度,電壓,濕度和風扇 裝置感應器 (sensors) 來做較簡易的監控. 測試環境為 CentOS 7 x86_64 主要透過兩支程式 sensors-detect (senso […]
![]()
指令 lspci 可以看到很多關於 PCI-E 裝置的訊息,但這些訊息個代表什麼意思!! 測試環境為 CentOS7 x86_64 我的系統裡面有一張 Intel Corporation 82545EM Gigabit 網卡. PCI 的裝置使用三個編號用來當作識別值,個別為 1.匯流排(bus n […]
![]()
通常在多網路埠的系統啟動 DHCP 會去設定 /etc/sysconfig/dhcpd 來限制 DHCP 傾聽的網路裝置埠 (預設 DHCP 使用第一個埠). 但在 CentOS / RHEL (RedHat) 7 設定不一樣了. 測試環境為 CentOS7 x86_64 步驟就寫在 /etc/sy […]
![]()
測試環境為 CentOS 7 x86_64 使用者的權限可以區分為 登入權限,請參考 https://benjr.tw/97973 使用者存取 資料庫(DateBase)/資料表(Table) 權限,下面來討論. 使用者自訂,使用 SQL 函數的權限,請參考 https://benjr.tw/990 […]