06-12-2009
Quote:
Is OS dependent on hardware()? i guess yes. then how linux get install on intel as well as other processors?
Yes, you are correct. Linux has to be ported to each type of processor.
Quote:
Is there any unix os for intel processors?
SCO UNIX is one. Another is Solaris.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi all, i wanted to have a linux box. And then an oracle db running on it all on a intel 200mhz. the purpose is so that i can have real experience in administering the database and linux as well..
the main thought is that its fine if i crashed it as it will not hamper any business... (5 Replies)
Discussion started by: yls177
5 Replies
2. News, Links, Events and Announcements
For story:
http://story.news.yahoo.com/news?tmpl=story&cid=75&ncid=738&e=9&u=/nf/20030606/tc_nf/21680 (0 Replies)
Discussion started by: Neo
0 Replies
3. Linux Benchmarks
System:
CPU/Speed: Dual Intel Xeon 2.4Ghz
Ram: 2 GB DDR 266 SDRAM
Motherboard: SuperMicro X5DE8-GG
Bus: 533MHz/400MHz system bus -
Cache: 512KB
HD Controller: EIDE Serverworks™ GC-SL Chipset
Extra GCC compiler flags:
-s... (3 Replies)
Discussion started by: Neo
3 Replies
4. Solaris
just need help with loading solaris 10 from cds that i bought from sun. i have a dell box that had solaris 8 on it, wiped it and stuck in the cd1 for solaris 10. selected "solaris" for install. went through a few minutes then comes up with"sunOS Release 5.10 version generic_137138-09 32-bit,... (3 Replies)
Discussion started by: flir11
3 Replies
5. Red Hat
On Monday March 30, Intel announced the availability of their much anticipated new line of processors, the Intel® Xeon® Processor 5500 series–nicknamed Nehalem.
Red Hat, a long-time partner of the market-leading chip maker , collaborated on the chip’s debut, testing and optimizing the... (0 Replies)
Discussion started by: Linux Bot
0 Replies
6. SCO
hi
I have a fresh installation of SCO 5.0.6 and I have download a NIC driver for Intel Pro 1000:
ftp://ftp.sco.com/pub/openserver5/507/drivers/eeG_5.0.7g/VOL.000.000
Howto install it using floppy?
---------- Post updated at 04:02 PM ---------- Previous update was at 02:18 PM... (0 Replies)
Discussion started by: ccc
0 Replies
7. UNIX for Dummies Questions & Answers
Please inform me on how to install unix/Linus on hp(Intel inside) lap top computer, with windows xp inside.
Thank you. (2 Replies)
Discussion started by: princektwo
2 Replies
8. UNIX for Advanced & Expert Users
A while ago I heard that a group of people did this, but the internet changes, and I can no longer find the relevant sources or hearsay.
Is this even possible? (2 Replies)
Discussion started by: surrealdeal
2 Replies
LEARN ABOUT V7
get_nprocs_conf
GET_NPROCS(3) Linux Programmer's Manual GET_NPROCS(3)
NAME
get_nprocs, get_nprocs_conf - get number of processors
SYNOPSIS
#include <sys/sysinfo.h>
int get_nprocs(void);
int get_nprocs_conf(void);
DESCRIPTION
The function get_nprocs_conf() returns the number of processors configured by the operating system.
The function get_nprocs() returns the number of processors currently available in the system. This may be less than the number returned by
get_nprocs_conf() because processors may be offline (e.g., on hotpluggable systems).
RETURN VALUE
As given in DESCRIPTION.
ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7).
+------------------+---------------+---------+
|Interface | Attribute | Value |
+------------------+---------------+---------+
|get_nprocs(), | Thread safety | MT-Safe |
|get_nprocs_conf() | | |
+------------------+---------------+---------+
CONFORMING TO
These functions are GNU extensions.
NOTES
The current implementation of these functions is rather expensive, since they open and parse files in the /sys filesystem each time they
are called.
The following sysconf(3) calls make use of the functions documented on this page to return the same information.
np = sysconf(_SC_NPROCESSORS_CONF); /* processors configured */
np = sysconf(_SC_NPROCESSORS_ONLN); /* processors available */
EXAMPLE
The following example shows how get_nprocs() and get_nprocs_conf() can be used.
#include <stdlib.h>
#include <stdio.h>
#include <sys/sysinfo.h>
int
main(int argc, char *argv[])
{
printf("This system has %d processors configured and "
"%d processors available.
",
get_nprocs_conf(), get_nprocs());
exit(EXIT_SUCCESS);
}
SEE ALSO
nproc(1)
COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the
latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.
GNU
2017-09-15 GET_NPROCS(3)