verifying SMP
Many of your questions may have already been answered in earlier discussions or in the FAQ. The search results page will indicate current discussions as well as past list serves, articles, and papers.
Thomas Guignon guignon at artabel.netFri Jul 26 08:01:00 PDT 2002
- Previous message: verifying SMP
- Next message: Gaussian (was: SOFTWARE PRICING FOR CLUSTERS)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Le Vendredi 26 Juillet 2002 10:21, vous avez écrit : > Gabriel J. Weinstock: > > Hi, > > Does anyone know a good way to test if a certain process is running on > > different CPUs on an SMP cluster node? For example, if one were to mpirun > > -np 4 prog where the machines file looked like > > node1:2 > > node2:2 > > how could you verify that one process is being started on each CPU? > > Using top is one option, but then you're still inferring where the > > process is running. We're seeing funny numbers in our code and would like > > to verify where Linux is scheduling processes. Hello, Take a look al /proc/#pid/cpu. There is 2 lines that indicates how many jiffies the process #pid spent in user and système mode. ex: >cat /proc/24996/cpu cpu 25197 346 cpu0 10836 144 cpu1 14361 202 and some time later >cat /proc/24996/cpu cpu 29928 419 cpu0 13319 183 cpu1 16609 236 A+ -- Guignon Thomas, thomas.guignon at artabel.net Tel: 33 1 69 18 95 93 Fax: 33 1 69 18 95 96 ARTABEL S.A. 69, rue de Paris 91400 Orsay FRANCE
- Previous message: verifying SMP
- Next message: Gaussian (was: SOFTWARE PRICING FOR CLUSTERS)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Beowulf mailing list
