Re: command to see if a process is being spread among multiple cpus

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



----- "Erick Perez" <eaperezh@xxxxxxxxx> wrote:
>
> What command can I use to check if a specific process is 
>being spreaded among multiple cpus?
>

  You can use "top" (among others) to see "where" your process are running,
run top, and type "f" and then "J", it'll add a "P"rocessor column on top.

  But, _a_ process can't spread on multiple CPUs... to do this the application
need to be specificaly designed to do so. A way to do this is using multi-threads, 
another one is forking multi-instances. But, with only one instance running an 
application will use only one CPU.

    Antonio.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analist | "Only The Shadow Knows     |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |       Heart of Men!"       |
| E-Mail: asmartins@xxxxxx / shadow@xxxxxx | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


-- 
Esta mensagem foi verificada pelo sistema de antiv�s e
 acredita-se estar livre de perigo.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux