Thread Linux::Statistics (10 answers)
Opened by bloonix at 2006-05-06 02:10

betterworld
 2006-05-06 21:54
#38728 #38728
User since
2003-08-21
2613 Artikel
ModeratorIn

user image
[quote=opi,06.05.2006, 14:39]Ich werde mich dann auf die Anzahl CPUs beschränken, denn schon
diese Information zu erhalten ist nicht ganz einfach, denn in /proc/cpuinfo
auf x86 muss ich das Vorkommen von "processors" zählen, auf s390
muss ich die Zeile "# processors : 3" auslesen.[/quote]
Um mal Andrew Morton zu zitieren (das Original ist auf obigem Link zu finden):
Quote
Question is: do you need to know the number of CPUs (why?) or do you need
to know the number of CPUs which you're currently allowed to use or do you
need to know the maximum number of CPUs which you are allowed to bind
yourself to, or what?

Wobei ich natuerlich nicht behaupten moechte, dass ich mit der Chance rechne, in absehbarer Zeit auf einem System zu arbeiten, auf dem das einen Unterschied macht :)

View full thread Linux::Statistics