[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to `echo' the core # a bash script is running on?



Marco,

* Marco Ippolito wrote on 2014-02-09 at 13:24 (+0100):

> How can I `echo', in `bash', the core # the current script is
> running on?

you can try

  $ grep ^processor /proc/cpuinfo | wc -l

Short question - short answer,
Mathias


Reply to: