Skip to content

Benjr.tw

  • Linux
    • Stress & Performance
    • Hardware Info
    • System Monitor
    • Security
    • Desktop
    • PXE
    • Filesystem Hierarchy Standard
    • Linux 開機選項
    • Linux Package Manager
    • 備份 Backup
  • Virtualization
    • Docker & Podman
    • CoreOS
  • NAS/SAN
  • Programming Language
    • Python
    • Bash shell script
    • Perl
    • PHP
    • Node.JS
    • VBA
    • javascript
    • Power Query
    • PowerShell
  • WordPress
  • DataBase
    • 資料庫安裝
    • 資料庫語法
    • SQLite
    • MariaDB JSON

RedHat / CentOS

Linux command – cpupower

2018-02-132018-04-19 adminCPU, Linux, RedHat / CentOS

Loading

CPU 依據省電模式有區分為 Processor Operating States (C-states) 與 Processor Performance States (P-states),兩者的差別是? ACPI 支援可以參考 https://benjr.tw/257 測試環境為 CentOS 7 […]

Read more

Linux command – rdmsr , wrmsr , cpuid

2018-02-132018-02-13 adminCPU, Linux, RedHat / CentOS

Loading

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 […]

Read more

Apache – CGI

2018-01-252018-04-19 adminLinux, RedHat / CentOS

Loading

測試環境為 CentOS 7 x86_64 (IP:172.16.15.129) 虛擬機 http (Apache) , CGI (Common Gateway Interface)-perl 所需套件. 可以利用 curl 來檢視 Http 是否正常運作,或是直接透過 網頁瀏覽器 來查看. Apa […]

Read more

Linux command – nvme

2017-12-212018-03-02 adminLinux, RedHat / CentOS, Storage

Loading

測試環境為 CentOS 7 x86_64 在 smartctl 官網有提到 https://www.smartmontools.org/wiki/NVMe_Support 可以透過它來看 nvme 的資訊. SATA Express / NVMe 使用的是 PCI Express SSD 的硬碟裝 […]

Read more

Linux command – smartctl (S.M.A.R.T. attributes)

2017-12-212023-07-12 adminLinux, RedHat / CentOS, Storage

Loading

關於 smartctl 使用,請參考 https://benjr.tw/95984 測試環境為 CentOS 7 x86_64 這邊討論如何透過 smartctl 去檢視硬碟的 S.M.A.R.T. attributes,可以透過下面兩個參數來檢視. -a, –all -a 對於 ATA […]

Read more

Linux command – ss (Socket Statistics)

2017-12-182017-12-18 adminLinux, Network, RedHat / CentOS

Loading

以前會用 netstat – https://benjr.tw/22383 來監控網路連線狀態,這邊介紹另外一隻功能相似,功能更強的 新工具 ss (Socket Statistics). 測試環境為 CentOS 7 x86_64. 直接來看一下 man ss 提供的範例. Displ […]

Read more

linux command – sensors

2017-09-21 admini2c, Linux, RedHat / CentOS

Loading

在沒有 BMC 時 Linux 底下還是可以透過另外一種方式 LM_Sensor 來針對 I²C / smbus 上的 溫度,電壓,濕度和風扇 裝置感應器 (sensors) 來做較簡易的監控. 測試環境為 CentOS 7 x86_64 主要透過兩支程式 sensors-detect (senso […]

Read more

lspci 詳細資訊

2017-08-302018-11-29 adminLinux, RedHat / CentOS, System

Loading

指令 lspci 可以看到很多關於 PCI-E 裝置的訊息,但這些訊息個代表什麼意思!! 測試環境為 CentOS7 x86_64 我的系統裡面有一張 Intel Corporation 82545EM Gigabit 網卡. PCI 的裝置使用三個編號用來當作識別值,個別為 1.匯流排(bus n […]

Read more

Linux – 限制 DHCP 傾聽的網路埠

2017-08-222019-12-13 adminLinux, RedHat / CentOS

Loading

通常在多網路埠的系統啟動 DHCP 會去設定 /etc/sysconfig/dhcpd 來限制 DHCP 傾聽的網路裝置埠 (預設 DHCP 使用第一個埠). 但在 CentOS / RHEL (RedHat) 7 設定不一樣了. 測試環境為 CentOS7 x86_64 步驟就寫在 /etc/sy […]

Read more

MariaDB 使用者存取 DateBase (Table) 權限

2017-08-172020-05-10 adminLinux, MariaDB, RedHat / CentOS

Loading

測試環境為 CentOS 7 x86_64 使用者的權限可以區分為 登入權限,請參考 https://benjr.tw/97973 使用者存取 資料庫(DateBase)/資料表(Table) 權限,下面來討論. 使用者自訂,使用 SQL 函數的權限,請參考 https://benjr.tw/990 […]

Read more

文章導覽

較舊的文章
較新的文章

近期文章

  • Windows – Network Sharing + Port forwarding to VM
  • Ansible – gather facts
  • Ansible – host_vars 定義特定的變量
  • Ansible 範例 – Chrony daemon
  • Ubuntu NTP Client 校時設定

近期留言

  • 「Jackson2734」於〈Ubuntu NTP Client 校時設定〉發佈留言
  • 「admin」於〈TCP/IP 常見封包〉發佈留言
  • 「stu」於〈TCP/IP 常見封包〉發佈留言
  • 「[ubuntu]—擴充硬碟空間 – Randy的隨手筆記」於〈Linux command – parted / (resize , resizepart) + resize2fs〉發佈留言
  • 「darkknight」於〈Windows – Fio〉發佈留言

分類

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文
  • Privacy Policy
  • 隱私權政策
Powered by WordPress | Theme: Astrid by aThemes.