Sponsored Content
Top Forums UNIX for Dummies Questions & Answers RedHat display cpu configuration Post 24877 by witt on Friday 19th of July 2002 03:28:31 AM
Old 07-19-2002
Thank you ...

[root@main /proc]# egrep "processor|MHz" /proc/cpuinfo
processor : 0
cpu MHz : 848.568
processor : 1
cpu MHz : 848.568


In this case I have 2 CPUs with 850 MHz each.

Witt
witt
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

x window configuration for redhat 6.0

I recently tried to install redhat 6.0 on my IBM desk top. Everything was fine except the x window. After the installation, I logged in, the icons and graphics were so big that I even could not read a complete message in one screen. I did not find any helpful tool in the control panel to help me... (4 Replies)
Discussion started by: yinuod
4 Replies

2. Red Hat

qmail configuration in redhat linux - doubts

hi, How to Install & configure the qmail in redhat linux? and also how to get the free qmail package? I know the sendmail configuration in redhat linux. What is the features of qmail compared with sendmail? Regards, Jones (3 Replies)
Discussion started by: jones_linux
3 Replies

3. Solaris

Containers : cpu configuration resource

Hi. I get the follow output when use the poolcfg -c info , associated to one zone-server defined : pset revenuedb02-pset int pset.sys_id 6 boolean pset.default false uint pset.min 4 uint pset.max 12 ... (0 Replies)
Discussion started by: aggadtech08
0 Replies

4. Red Hat

Dns configuration error in Redhat

Dear All I want to configure DNS in redhat linux. i am following these steps but when i restart the services it is showing status failed. Please any body can help me on urgent basis. #service named restart Stopping named: Starting named: ---------Edited in named.conf... (2 Replies)
Discussion started by: sahu.tapan
2 Replies

5. Solaris

how to get cpu and memory configuration on sun

Hi folks, can you please help to print cpu and memory configuration on sun host. (4 Replies)
Discussion started by: ggolub
4 Replies

6. UNIX for Advanced & Expert Users

UNIX / LINUX OS CPU configuration details

Hi, How to find the cpu configuration details of Cores, Speed MHz, virtual processors for the following servers: LINUX OS Servers: Linux 2.6.9-89.0.3.ELsmp #1 SMP Sat Jun 13 07:05:54 EDT 2009 i686 i686 i386 GNU/Linux. (Cores, Speed, Processor) Linux 2.6.18-164.el5 #1 SMP Tue Aug 18... (5 Replies)
Discussion started by: jagtheesh
5 Replies

7. Cybersecurity

Limit CPU and RAM utilization for new user in RedHat

We have a system with 4 Xeon Processors each with 10 cores, total 512 GB RAM and 10 TB Hard Drive. we want to create multiple user accounts with different resource limitations as : User 1: RAM : 50GB, PROCESSOR: 10 Cores , User folder in home directory of 10GB space. User 2: RAM :... (5 Replies)
Discussion started by: vaibhavvsk
5 Replies

8. Red Hat

Monotring cpu and VMstat in Redhat Linux

Hi , Please some one help me out . How to write a shell cript to monitor cpu usage vmstat and in Redhat linux . vmstat out put should be in percentage. Thanks in advance !!!! (1 Reply)
Discussion started by: saanvi
1 Replies

9. Shell Programming and Scripting

Please help me to monitor cpu usage vmstat in Redhat Linux .

Hi , Please some one help me How to write a shell script to monitor cpu usage vmstat in Redhat linux . Thanks, (4 Replies)
Discussion started by: saanvi
4 Replies

10. Red Hat

[nmcli] Where is the configuration file of device (redhat 7)

OS is redhat 7. # nmcli dev DEVICE TYPE STATE CONNECTION virbr0 bridge disconnected -- eno16777736 ethernet disconnected -- eno33554960 ethernet disconnected -- virbr0-nic ethernet disconnected -- lo ... (1 Reply)
Discussion started by: tien86
1 Replies
assign_cpu_to_pset(3)					     Library Functions Manual					     assign_cpu_to_pset(3)

NAME
assign_cpu_to_pset - Assigns a processor to a processor set LIBRARY
Pset Library (libpset.a) Mach Library (libmach.a) SYNOPSIS
#include <sys/types.h> #include <sys/processor.h> int assign_cpu_to_pset( unsigned long cpu, long pset_id , long option ); PARAMETERS
Processor or processors to assign to the specified processor set. Processor set identifier, which is returned by the create_pset function. Specifies a bit mask. Currently, only the ANY_CPU bit is supported. If this bit is set, the value specified by the cpu variable is the number of processors to be assigned to the specified processor set from the default processor set. If the ANY_CPU bit is not set, the value specified by the cpu variable is the mask of processors to be assigned to the processor set. DESCRIPTION
The assign_cpu_to_pset function removes processors from their current processor set and assigns them to the processor set specified by the pset_id variable. This function requires root privileges. If the ANY_CPU option is specified, the number of processors specified by the cpu variable are assigned from the default processor set to the processor set that is specified with the pset_id variable. If the specified number of processors are not available in the default pro- cessor set, an error is returned and no processors are assigned. If the ANY_CPU option is not set, the value specified by the cpu variable is a mask of processors to be assigned to the specified processor set. For example, if you specify a cpu value of 6, then processors 2 and 3 are assigned to the processor set. Note that processors are not required to start in slot 0 on some platforms. For example, you may see a three-processor system with proces- sors in slots 6, 7, and 8. The console assigns the master processor at power up, which is usually the processor in slot 0 if it is occu- pied. However, there is no requirement that slot 0 must be populated or that the master is the first processor on the bus. In the example of the three-processor (slots 6, 7, and 8) system, the master processor will be the one in slot 6. Processor assignments are logged in the /var/adm/wtmp file. RETURN VALUES
If the processor assignment is successful, the assign_cpu_to_pset function returns zero (0). If the assignment is unsuccessful, the func- tion returns a negative number. Use the print_pset_error function to print a message that describes the error. FILES
/var/adm/wtmp RELATED INFORMATION
bind_to_cpu(3), create_pset(3), destroy_pset(3), assign_pid_to_pset(3), print_pset_error(3), processor_sets(4), pset_create(1) delim off assign_cpu_to_pset(3)
All times are GMT -4. The time now is 01:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy