07-08-2009
You can find some CPU infos in "machinfo" command
10 More Discussions You Might Find Interesting
1. Programming
I am trying to find the number of caches on a machine programatically.
#include <stdio.h>
#include <malloc.h>
int main(void)
{
int *ptr,*ptr1,i,j;
j=0;
i=1;
printf("Changing allocation with brk()\n");
while(1)
{
for(j=0;j<i;j++)
{
ptr =... (1 Reply)
Discussion started by: jacques83
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Is there any command to know whether the machine 64 bit or 32 bit?
now I am using "uname -p" for this purpose but I want a straight command if it is there. (1 Reply)
Discussion started by: siba.s.nayak
1 Replies
3. Solaris
Hello,
Using a Solaris SunOS 5.10, is there anyway to limit the number of processors utilised by an external vendor application over the server, from the unix OS perspective? (1 Reply)
Discussion started by: pgop
1 Replies
4. AIX
Hello All,
Can anybody please tell me what is the maximum limit of Physical IBM Power Machine which can be handled by single HMC at a single point of time?
Thanks,
Jenish (1 Reply)
Discussion started by: jenish_shah
1 Replies
5. UNIX for Advanced & Expert Users
Hi all,
i have no of processors .in that some processors locked. how to find the particular locked processors into list of all the processors.
i hav no of processors like
ex:
processors
1021
1022
1023
1024
1025 ---it is locked
1026
--
-
-
-
-
--
2334334
so i don't know 1025 is... (1 Reply)
Discussion started by: venkatreddy
1 Replies
6. High Performance Computing
Hello everyone!
I am a bit inexperienced with administering queueing programs. I installed Torque (a PBS derivative) on a Linux cluster and it is running well. There is one annoying problem though: users can run massively parallel jobs and serial jobs too. Almost all users do a mix of the two. I... (0 Replies)
Discussion started by: gnuplot
0 Replies
7. Solaris
hi,
I am using command psrinfo -p to check the number of physical processors present on any soalris machine.I want to check the number of virtual processors assigned for particular solaris machine.
which command/set of command need to be used which can grep or show the total virtual processors... (8 Replies)
Discussion started by: omkar.jadhav
8 Replies
8. Red Hat
Hi,
i am trying to find out hpw many virtual and physical processors does any linux machine has:
output of /proc/cpuinfo is as below :
# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU... (8 Replies)
Discussion started by: omkar.jadhav
8 Replies
9. AIX
Hi Experts -
we have power710 (no VIOs) that is already connected to hmc and everything . I already have a Physical LPAR in there and network configured . Now I plan to delete that LPAR and then put Virtualization code (COD) to virtualize that machine by building VIO servers and stuff.Also ordered... (9 Replies)
Discussion started by: JME2015
9 Replies
10. UNIX for Beginners Questions & Answers
Hi All,
.
I am trying to find whether Solaris 11 installed on physical server or on VMware/KVM.
I tried uname -a but it's giving only whether i installed on X86 or sparc machine.
I tried prtdiag command but it's giving below information.
command : prtdiag -v |grep "System... (2 Replies)
Discussion started by: sravani25
2 Replies
LEARN ABOUT DEBIAN
pvm_addhosts
ADDHOSTS(3PVM) PVM Version 3.4 ADDHOSTS(3PVM)
NAME
pvm_addhosts - Add hosts to the virtual machine.
SYNOPSIS
C int info = pvm_addhosts( char **hosts, int nhost, int *infos )
Fortran call pvmfaddhost( host, info )
PARAMETERS
hosts An array of strings naming the hosts to be added. Pvmd must already be installed and the user must have an account on the speci-
fied hosts.
nhost Integer specifying the length of array hosts.
infos Integer array of length nhost which returns the status for each host. Values less than zero indicate an error, while positive val-
ues are TIDs of the new hosts.
host Character string naming the host to be added.
info Integer status code returned by the routine. Values less than nhost indicate partial failure, and values less than 1 indicate
total failure.
DESCRIPTION
The routine pvm_addhosts adds the computers named in hosts to the configuration of computers making up the virtual machine. The names
should have the same syntax as lines of a pvmd hostfile (see man page for pvmd3): A hostname followed by options of the form xx=y.
If pvm_addhosts is successful, info will be equal to nhost. Partial success is indicated by 0 < info < nhost, and total failure by info <
1. The array infos can be checked to determine which host caused the error.
The Fortran routine pvmfaddhost adds a single host to the configuration with each call. info will be 1 if successful or < 0 if error.
The status of hosts can be requested by the application using pvm_mstat and pvm_config. If a host fails it will be automatically deleted
from the configuration. Using pvm_addhosts a replacement host can be added by the application, however it is the responsibility of the
application developer to make his application tolerant of host failure. Another use of this feature would be to add more hosts as they
become available, for example on a weekend, or if the application dynamically determines it could use more computational power.
EXAMPLES
C:
static char *hosts[] = {
"sparky",
"thud.cs.utk.edu",
};
info = pvm_addhosts( hosts, 2, infos );
Fortran:
CALL PVMFADDHOST( 'azure', INFO )
ERRORS
The following error conditions can be returned by pvm_addhosts:
PvmBadParam
giving an invalid argument value.
PvmAlready
another task is currently adding hosts.
PvmSysErr
local pvmd is not responding.
and in the infos vector:
PvmBadParam
bad hostname syntax.
PvmNoHost
no such host.
PvmCantStart
failed to start pvmd on host.
PvmDupHost
host already configured.
PvmBadVersion
pvmd protocol versions don't match.
PvmOutOfRes
PVM has run out of system resources.
SEE ALSO
pvm_pvmd3(1PVM), pvm_delhosts(3PVM), pvm_start_pvmd(3PVM), pvm_config(3PVM), pvm_mstat(3PVM)
22 February, 1994 ADDHOSTS(3PVM)