差異處
這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
linux [2016/08/31 00:09] jz |
linux [2018/03/26 09:36] (目前版本) jz |
||
---|---|---|---|
行 25: | 行 25: | ||
====== Hardware information ====== | ====== Hardware information ====== | ||
- | lscpu | + | * inxi -Fx |
- | lshw -short | + | * lscpu |
- | hwinfo --short | + | * lshw -short |
- | lspci | + | * hwinfo --short |
- | lsscsi | + | * lspci |
- | lsusb | + | * lsscsi |
- | inxi -Fx | + | * lsusb |
+ | * 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/ | ||
+ | |||
+ | ====== 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 |