dual cpu questions

From: Russ Russell <russ_at_news.em.doe.gov>
Date: Tue, 23 May 1995 11:59:46 -0400 (EDT)

Hi, I am new to this list, and just subscribed today. My name is Russ Russell,
and I am a UNIX administrator for the US Department of Energy.

I have been given the task of upgrading our Sybase servers from a version
of Sybase that runs on OSF/1 2.0b to a new verion that runs on version 3.0.

The test machine, is an alpha 2100 server, with dual CPU's. When I compile
and execute the following test program I wrote :

#include <sys/sysinfo.h>
#include <machine/hal_sysinfo.h>

main()
{
  int i;

  getsysinfo(GSI_CPUS_IN_BOX, &i, sizeof(i), NULL, NULL);
  printf("%d\n", i);
  return 0;
}

I get only 1 cpu. What am I doing wrong? What configuration needs to be
done to get both cpus working?

Thanks in advance,
Russ

Russ Russell, Network Engineer "A tout le monde, a tout les amis"
Coleman Research Corporation "Je vous aime, je dois partir"
russ_at_news.em.doe.gov
Brutius_at_SneezyMUD (Telnet to azora.med.jhu.edu 7900 to join in the fun!)
Received on Tue May 23 1995 - 12:06:49 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT