Skip to content

Commit

Permalink
add: read system info cmds
Browse files Browse the repository at this point in the history
  • Loading branch information
hthuz committed Jul 8, 2024
1 parent d0faf0a commit fecbda8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ python/django/mysite/polls/__pycache__
python/django/mysite/polls/migrations/__pycache__
python/*.png
python/*.jpg
.vscode
13 changes: 13 additions & 0 deletions doc/cmd
Original file line number Diff line number Diff line change
Expand Up @@ -666,5 +666,18 @@ A common usage:



## Read system info

architecture: `uname -a`
cpu: `lscpu`
disk: `df -h` or `lsblk` or `fdisk -l`
PCI peripheries: `lspci`
memory: `free -h`

Or `dmidecode`






0 comments on commit fecbda8

Please sign in to comment.