05-19-2011
the 490 is the same as the 480 just with (faster) dual-core processors...
ultrasparc III <-> ultrasparc IV+
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
? (1 Reply)
Discussion started by: 98_1LE
1 Replies
2. Solaris
When I try to connect to a RSC console using the serial port by modem, I can connect but I can't type username neither password because the screen scrolls up. At the loghistory shows the message: RSC Login failure.
Using serial without modem, it works well. (2 Replies)
Discussion started by: Livio
2 Replies
3. UNIX for Advanced & Expert Users
Hi,
I'm curious about the advantage of forking and executing a program in a user shell as opposed to forking and executing the program directly without the user shell.
For example:
why is it often like:
SSHD->fork&exec(shell, sftp-server)->fork&exec(sftp-server)
And Not like:
... (2 Replies)
Discussion started by: seeker333
2 Replies
4. Solaris
Hi all,
I'm freshman in this forum. I'm here to ask for your help. A case about Sun Fire V490. But, before starting to ask, I want to tell you the story.
Last week, I was told about a failed V490 in Da Nang City (Vietnam). It could NOT boot. After diagnosing it remotely, I found that the... (6 Replies)
Discussion started by: nam.nguyen
6 Replies
5. Shell Programming and Scripting
Hi
I'm reading <learning the bash shell>. And in the section - 3.1. The .bash_profile, .bash_logout, and .bashrc Files
bash allows two synonyms for .bash_profile: .bash_login, derived from the C
shell's file named .login, and .profile, derived from the Bourne shell and Korn
shell files... (1 Reply)
Discussion started by: password636
1 Replies
6. Solaris
Hi,
I going to upgrade the firmware for sunfire v490 server, current fw level is 4.15.6 and to be upgraded to 4.30.
can anyone share the pre and post firmware upgrade activity procedure and backout plan
Thanks
rjs (2 Replies)
Discussion started by: rajasekg
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
i understood that there are several type of sockets: TCP, UDP & Unix.
i wondered, what is the performance advantages of unix socket of the other types?
isn't it equal to use UDP with localhost as destination over unix socket?
Thanks in advance,
Sariel (1 Reply)
Discussion started by: sarielz
1 Replies
8. Red Hat
Hi guys, new user here, so please be gentle.
I need to build a lot of servers at work on a weekly basis with various versions of RH and additional applications.
We use PXE/Kickstart to do this with selections made from a simple menu structure.
However, I keep hearing about Cobbler and... (0 Replies)
Discussion started by: hankpym
0 Replies
LEARN ABOUT DEBIAN
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.
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 file system 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 <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());
return 0;
}
COLOPHON
This page is part of release 3.44 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
GNU
2012-03-20 GET_NPROCS(3)