Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 412 Bytes

linux.md

File metadata and controls

36 lines (30 loc) · 412 Bytes

system release info

cat /etc/issue

kernel info

uname -a

cpu info

cat /proc/cpuinfo

mem info

cat /proc/meminfo

curl

curl -kL source -o dest
curl -kOL source

查看 core pattern

cat /proc/sys/kernel/core_pattern

设置 core 在当前目录

ulimit -c unlimited
sudo bash -c 'echo core.%e.%p > /proc/sys/kernel/core_pattern'