第一步:通过PS命令查看进度 ID号。
第二步:在proc下查看该进程号起了几个进程。
第三步:通过 ls |wc -l查看显示的进程数。
# ps
PID USER COMMAND
1 root init
2 root [kthreadd]
3 root [ksoftirqd/0]
4 root [kworker/0:0]
5 root [kworker/0:0H]
7 root [khelper]
8 root [kdevtmpfs]
9 root [writeback]
10 root [kworker/u2:1]
11 root [bioset]
12 root [crypto]
13 root [kblockd]
15 root [khubd]
16 root [cfg80211]
17 root [kworker/0:1]
19 root [rpciod]
20 root [kswapd0]
21 root [fsnotify_mark]
22 root [nfsiod]
397 root [target_completi]
398 root [tmr-rd_mcp]
400 root [xcopy_wq]
402 root [spi32766]
424 root [spi32765]
488 root [ipv6_addrconf]
489 root [deferwq]
490 root [kworker/u2:2]
541 root [mmcqd/0]
547 root [ext4-rsv-conver]
559 root /sbin/syslogd -n
561 root /sbin/klogd -n
580 root telnetd
612 root ./daemon
616 root /root/billcapture
645 root udhcpc -i eth0
651 root -sh
656 root ps
# cd /proc/616/fd
# ls
0 1 2 3 4 5 6 7 8
# ls |wc -l
9
# ls
0 1 2 3 4 5 6 7 8
Linux用户打开进程数的调整:http://www.linuxdiyf.com/linux/11281.html
如何限制Linux用户的进程数呢?:http://www.linuxdiyf.com/linux/422.html