01-26-2005
What command to check system hardware
What command can I run on a Solaris 8 server to check the hardware (ie number of processors, speed of processors, installed memory etc).
10 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Hello,
I have Win NT server running and I want to know how can I get Hardware RAID settings without rebooting the server?
Thanks in advance. (2 Replies)
Discussion started by: sureshcisco
2 Replies
2. UNIX for Advanced & Expert Users
hello,
I'm planning to do inventory of all our servers but this time it's more on physical. Meaning I would like to check all hardware connected to it (external only like storage, power support) including the count Would like to get perhaps its serial nr..(linux and solaris different servers... (2 Replies)
Discussion started by: lhareigh890
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I'm looking to check the compression ratio applied by hardware to work out how much free space we have on tapes.
mt -f /dev/rmt0 status shows:
If I add up the output of the du command and what we backup from the script, it gives me the total space we tape up. So the plan was to find the... (4 Replies)
Discussion started by: rab
4 Replies
4. AIX
hello everybody,
Is there any training to get deep knowledge an hands on lab with system p hardware firmware microcode upgrading etc... thanks in advance (2 Replies)
Discussion started by: Vit0_Corleone
2 Replies
5. Solaris
hi all, will command metastats tell whether there is hardware layered raid ?
i intend to do patching and plug out one of the disks in case the one inside encountered issues. (1 Reply)
Discussion started by: Exposure
1 Replies
6. Solaris
Hi
Can i use Solaris LIVE CD to verify that ubuntu has all drivers present for a certain desktop PC?
which Live CD should i use ? there any many varities out there
Before i purchase this expensive PC i want to ensure Solairs has all drivers for it.
Specs are :
Processor Intel Core i7... (1 Reply)
Discussion started by: kashif_islam
1 Replies
7. Solaris
Hi All,
Can someone let me know the method or set of commands by which i can retrive manufacturer name of computer system (hardware of machine ) and manufacturer of processor. i get below information when fired psrinfo command :
psrinfo -vp
The physical processor has 1 virtual processor... (6 Replies)
Discussion started by: omkar.jadhav
6 Replies
8. Red Hat
-> We have 2 servers server1 and server2 server.
->server1 is master application and server2 is slave application server. ->output of server1 hardware and slave timing:
# hwclock --show Thu 05 Jun 2014 05:34:08 PM SGT -0.465666 seconds # date Thu Jun 5 17:34:16 SGT 2014
# cd... (6 Replies)
Discussion started by: manjusharma128
6 Replies
9. HP-UX
Hi,
I have HP-UX version 11.23. Yesterday i saw error on syslog show Ultra SCSI 320 have issue.
This rx3600 connect to EVA. How to check how many LUN connected and the connectivity to EVA?
I suspect on board controller at rx3600 have a problem. The disk on local not show amber light.... (0 Replies)
Discussion started by: mzainal
0 Replies
10. UNIX for Advanced & Expert Users
Hello guys.
I wanted to find the System Configuration and Hardware Information on one of my servers. Here is part of the cpu info:
CPU core info:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Intel(R) Xeon(R) CPU... (2 Replies)
Discussion started by: Ymir
2 Replies
LEARN ABOUT XFREE86
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)