[CentOS] command to see if a process is being spread among multiple cpus
Antonio da Silva Martins Junior
asmartins at uem.brWed Apr 4 11:06:13 UTC 2007
- Previous message: [CentOS] command to see if a process is being spread among multiple cpus
- Next message: [CentOS] command to see if a process is being spread among multiple cpus
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
----- "Erick Perez" <eaperezh at gmail.com> 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 at uem.br / shadow at uem.br | !!! Linux User: 52392 !!! | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -- Esta mensagem foi verificada pelo sistema de antivírus e acredita-se estar livre de perigo.
- Previous message: [CentOS] command to see if a process is being spread among multiple cpus
- Next message: [CentOS] command to see if a process is being spread among multiple cpus
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list