A lot of information was looked up from the Internet. Finally, the number of memory and CPU under Linux is clear. Individuals who feel that using Linux systems should understand. First publish the following, if there are errors, please feedback to me. Thank you!! The maximum number of memory and CPUs the Linux system/
View CPU information (model) # Cat/proc/cpuinfo | grep name | Cut-f2-d: | uniq-c 8 intel (R) Xeon (r) CPU e5410 @ 2.3 3ghz (see there are 8 logical CPUs, also know the CPU model) # Cat/proc/cpuinfo | grep Physical | uniq-c 4 physical ID NBSP;: 0 4 physical ID NB Sp : 1 (Description is actually two 4-core CPUs) # getconf long_bit 32 (indicates that
Linux euis1 2.6.9-55.elsmp #1 SMP Fri Apr 17:03:35 EDT 2007 i686 i686 i386
(view current operating system kernel information)
# Cat/etc/issue | grep Linux
Red Hat Enterprise Linux as Release 4 (Nahant Update 5)
(View current operating system release information)
# Cat/proc/cpuinfo | grep name | Cut-f2-d: | Uniq-c
8 Intel (R) Xeon (r)
The recent TOP command of SuSE Linux 10 (SP3) always shows that the zmd process consumes 100% of the CPU resources, while the system-level CPU usage in the system is more than 40% and never released. After the server is restarted, the fault persists. The following describes and processes the problem.
1. The top command shows that zmd
Article Title: CPU frequency adjustment in linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
There are third-party CPU frequency a
Hardware information of the test machine: View CPU information (model) # cat/proc/cpuinfo | grep name | cut-f2-d: | uniq-c 8 Intel (R) xeon (R) CPU E5410 @ 2.33 GHz (we can see eight logic CPUs and the CPU model is available) www.2cto.com # cat/proc/cpuinfo | grep physical | uniq-c 4 physical id: 0 4 physical id: 1 (actually two 4-core CPUs) # getconf LONG_BIT 32
Under Linux, you can use the following tools to query the CPU cache:Mode 1:$ lscpuL1D cache: 32K Mode 2:$ cat /sys/devices/system/cpu/cpu0/cache/index0/size32K$ cat /sys/devices/system/cpu/cpu0/cache/index0/level1$ cat /sys/devices/system/cpu/cpu0/cache/index1/si
'{print $3}' | grep-o [0-9] [0-9]'
SUM = $ ($ TEMP1 + $ TEMP2 ))
TEMP = $ ($ SUM/2 ))
If [-z "$ TEMP"]; then
$ Echo "No Data been get here. Please confirm your ARGS and re-check it with Verbose mode, then to check the log ."
Exit 3
Fi
To_debug temperature data is $ TEMP
Else
$ Echo "Error. Must to sepcify the method to use sensors"
Print_full_help_msg
Exit 3
Fi
In the Linux operating system, the CPU information is loaded into the Cpuinfo file under the virtual directory/proc in the boot process, and we can view it through Cat/proc/cpuinfo:Is my computer CPU information, below we analyze some of the more important indicators:
processor The ID of the logical processor.
ID of the processor that physical
#Cat/proc/cpuinfo
Linux under
/proc/cpuinfo
The file will display information about the CPU
Processor will start counting from 0 and continue with multiple CPUs
Flags if HT description supports Hyper-Threading technology
To determine the number of physical CPUs, you can view the value of the physical ID, same as the same physical CPU
Processor:4
Vendor_id
on)Note: Linux top view CPU is also the number of logical CPUs③CPU Number of coresThe number of chipsets that can process data on a CPU, such as the current i5 760, is a dual-core four-thread CPU, while i5 2250 is a quad-core four-thread CPUIn general, the number of physica
Linux scientific computing, CPU usage is very low, solving, urgent! -- Linux general technology-Linux technology and application information. For details, refer to the following section. This is the case.
1. Linux host configuration:
Memory: 4 GB * 2
After a long time of study, the official version of Linux has been released. The following describes how to use the Linux Sysstat system. To improve the practical operation level of Linux.
About the Linux Sysstat System
The Linux Sysstat system is a software package that inc
In Linux, obtain the 10 processes that occupy the most CPU memory resources. in linux, obtain the 10 processes that occupy the most CPU resources. you can use the following command combination: psaux | head-1; psaux | grep-vPID | sort-rn-k + 3 | obtain the most memory-consuming resources in headlinux...
In
:08.66 test2004 Root 0 358m 71m 3208 S 0.3 7.2 0:19.61 test1997 Root 0 358m 71m 3208 S 0.0 7.2 0:26.24 Test1999 Root 0 358m 71m 3208 S 0.0 7.2 0:00.06 TestRoot 0 358m 71m 3208 S 0.0 7.2 0:00.00 Test2002 Root 0 358m 71m 3208 S 0.0 7.2 0:05.86 Server Listen (22003 Root 0 358m 71m 3208 S 0.0 7.2 0:00.00 Server Accept (2The PID of the thread that can get the highest CPU share in the thread is 2005Using the GDB ICDN 2005 command[Email protected]:~# gdb ICD
When I first started doing performance tests, I didn't know anything, just the pressure test. When will the system be paralyzed when it ends. But the system because of what paralysis is not very clear, and then began to study server performance monitoring, applied to the work, improve a lot of productivity, the following will be my usual commands or tools to share to everyone.monitoring Linux Server CPUsTopParameter introduction
top-10:38:29[
1. View CPU and other information#cpu configuration Information cat/proc/cpuinfo# View CPU information (model) Cat/proc/cpuinfo | grep name | Cut-f2-d: | Uniq-c# View the number of physical CPUs Cat/proc/cpuinfo |grep "Physical id" |sort |uniq|wc-l# view using CPU up to 10PS aux | Sort-k3nr | Head-n 10# See the number
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.