View all linux system number system

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.

Guess you like

Origin www.cnblogs.com/longchang/p/11528317.html