linux 查看系统所有系统数量

ps -eLf |wc -l

-f     Do full-format listing. This option can be combined with many other UNIX-style options to add additional columns.  It also causes the command arguments to be printed.
              When used with -L, the NLWP (number of threads) and LWP (thread ID) columns will be added.  See the c option, the format keyword args, and the format keyword comm.
-L     Show threads, possibly with LWP and NLWP columns.

猜你喜欢

转载自www.cnblogs.com/longchang/p/11528317.html