1. tty 命令: 查看当前命令所处的终端——tty: 2. ulimit -a 命令: 查看内核规定的可以使用的各个资源上限—— ulimit -a 图中显示:open file 数最多为1024, 可通过提示修改:ulimit -n 1100