Last active
August 29, 2015 14:03
-
-
Save yingca1/b54a707db18baba8cc61 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#查看系统信息 | |
cat /etc/issue cat /proc/verison | |
top – 进程活动 | |
vmstat -系统活动、硬件及系统信息 | |
w – 显示谁已登录,他们正在做什么? | |
uptime – 告诉系统已经运行了多久? | |
ps – 显示进程 | |
free – 内存使用情况 | |
iostat – CPU平均负载,硬盘活动 | |
sar – 搜集和报告系统活动 | |
mpstat – 多处理器使用率 | |
pmap – 进程的内存使用 | |
netstat和ss – 网络相关信息 | |
iptraf – 网络实时信息 | |
tcpdump:详细的网络流量分析 | |
strace – 系统调用 | |
/proc文件系统 – 各种内核信息 | |
cat /proc/cpuinfo | |
cat /proc/meminfo | |
cat /proc/zoneinfo | |
cat /proc/mounts | |
sudo -u jenkins bash 管理员一某个user身份在bash中执行命令 | |
scp filename username@hostname:~/pathname |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment