如题,就是已知进程PID为1,现在要看他的子进程的数目是多少个!
你是要通过编程实现还是希望用shell命令来实现?
http://www.cnblogs.com/algorithmer/archive/2012/01/13/2462261.html