差異處
這裏顯示兩個版本的差異處。
| Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
|
linux [2016/08/31 00:10] jz [Hardware information] |
linux [2018/03/26 09:36] (目前版本) jz |
||
|---|---|---|---|
| 行 25: | 行 25: | ||
| ====== Hardware information ====== | ====== Hardware information ====== | ||
| + | * inxi -Fx | ||
| * lscpu | * lscpu | ||
| * lshw -short | * lshw -short | ||
| 行 31: | 行 32: | ||
| * lsscsi | * lsscsi | ||
| * lsusb | * lsusb | ||
| - | * inxi -Fx | + | * lsblk |
| + | * df -h | ||
| + | * fdisk -l | ||
| + | * mount | column -t | ||
| + | * free -m | ||
| + | * dmidecode | ||
| + | * cat /proc/cpuinfo | ||
| + | * cat /proc/version | ||
| + | * cat /proc/scsi/scsi | ||
| + | * cat /proc/partitions | ||
| + | * hdparm -i /dev/sda | ||
| + | * lstopo | ||
| http://www.binarytides.com/linux-commands-hardware-info/ | http://www.binarytides.com/linux-commands-hardware-info/ | ||
| + | |||
| + | ====== ldap ====== | ||
| + | |||
| + | [[ldap|ldap]] | ||
| + | |||
| + | ===== Coredump ===== | ||
| + | |||
| + | Disable coredump | ||
| + | |||
| + | <code> | ||
| + | sysctl -w kernel.core_pattern=|/bin/false | ||
| + | ulimit -c 0 | ||
| + | </code> | ||
| + | |||
| + | **Ref** | ||
| + | https://www.kernel.org/doc/Documentation/sysctl/kernel.txt | ||
