diff options
-rw-r--r-- | README.md | 75 | ||||
-rwxr-xr-x | pnd.sh | 10 |
2 files changed, 75 insertions, 10 deletions
@@ -2,25 +2,82 @@ ## Usage ``` chmod +x pnd.sh -./pnd.sh +sudo ./pnd.sh ## CPU情報 model name : Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz ## メモリ情報 -合計メモリ: 7.47 GB +合計メモリ: 7.46 GB ## ディスク使用量 ファイルシス サイズ 使用 残り 使用% マウント位置 -dev 10M 8.0K 10M 1% /dev -run 3.8G 2.4M 3.8G 1% /run -/dev/sda1 234G 159G 64G 72% / -shm 3.8G 139M 3.6G 4% /dev/shm -tmpfs 3.8G 77M 3.7G 3% /tmp +dev 10M 0 10M 0% /dev +run 3.8G 2.3M 3.8G 1% /run +/dev/sda1 234G 161G 61G 73% / +shm 3.8G 37M 3.7G 1% /dev/shm +tmpfs 3.8G 19M 3.8G 1% /tmp tmpfs 765M 16K 765M 1% /run/user/1000 ## リッスンポート -pulseaudi 1000 *:42613/TCP -pulseaudi 1000 *:42733/TCP +container 0 127.0.0.1:38659/TCP +cupsd 0 127.0.0.1:631/TCP +cupsd 0 [::1]:631/TCP +pulseaudi 1000 *:37403/TCP +pulseaudi 1000 *:40673/TCP pulseaudi 1000 *:4713/TCP + +## ハードウェア情報 +System Information + Manufacturer: LENOVO + Product Name: 3443CTO + Version: ThinkPad X1 Carbon + Serial Number: PK016RT + UUID: 70761e01-520e-11cb-84ec-b483d156c25d + Wake-up Type: Power Switch + SKU Number: LENOVO_MT_3443 + Family: ThinkPad X1 Carbon + + Type: DDR3 + Type Detail: Synchronous + Speed: 1333 MT/s + Manufacturer: Samsung + Serial Number: None +-- + Type: DDR3 + Type Detail: Synchronous + Speed: 1333 MT/s + Manufacturer: Samsung + Serial Number: None + +## BIOS情報 +BIOS Information + Vendor: LENOVO + Version: G6ETB9WW (2.79 ) + Release Date: 03/13/2018 + Address: 0xE0000 + Runtime Size: 128 kB + ROM Size: 12 MB + Characteristics: + PCI is supported + PNP is supported + BIOS is upgradeable + BIOS shadowing is allowed + Boot from CD is supported + Selectable boot is supported + EDD is supported + 3.5"/720 kB floppy services are supported (int 13h) + Print screen service is supported (int 5h) + 8042 keyboard services are supported (int 9h) + Serial services are supported (int 14h) + Printer services are supported (int 17h) + CGA/mono video services are supported (int 10h) + ACPI is supported + USB legacy is supported + BIOS boot specification is supported + Targeted content distribution is supported + UEFI is supported + BIOS Revision: 2.79 + Firmware Revision: 1.6 + ``` @@ -1,7 +1,7 @@ #!/bin/bash # 必要なコマンドのリスト -commands=("grep" "awk" "df" "lsof" "sort" "uniq" "column") +commands=("grep" "awk" "df" "lsof" "sort" "uniq" "column" "dmidecode") # コマンドの存在確認 for cmd in "${commands[@]}"; do @@ -23,3 +23,11 @@ df -h echo -e "\n## リッスンポート" lsof -i -P -n -l | grep "LISTEN" | awk '{print $1 "," $3 "," $9 "/" $8}' | sort | uniq | column -t -s "," + +echo -e "\n## ハードウェア情報" +dmidecode | grep -A 8 "System Information" +echo +dmidecode | grep -A 4 "DDR" + +echo -e "\n## BIOS情報" +dmidecode | grep -A 27 "BIOS Information" |