In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
1. Install stress
Parameter description:
-- help displays help information
-- version displays software version information
-t secs:
-- timeout secs specifies how many seconds to run
-- backoff usecs waits for usecs microseconds to start running
-c forks:
-- cpu forks generates multiple CPU processes that handle the sqrt () function
-m forks
-- vm forks: generates multiple processes that handle the malloc () memory allocation function, followed by the number of processes
-I forks
-- io forks: generates multiple disk Icano processes that handle the sync () function
-- vm-bytes bytes: specifies the number of byte in memory. The default value is 1.
-- vm-hang: indicates how long the memory allocated by malloc will be released after free ()
-d:
-- hdd: write process, write to a fixed size, and write to the current directory through the mkstemp () function
-- hdd-bytes bytes: specifies the number of byte to write. Default is 1G.
-- hdd-noclean: do not unlink files written to random ascii data, the files written will not be deleted and will remain in the hard disk space.
Installation process:
Download:
Link: https://pan.baidu.com/s/1AB_TcDnBlz3U4-TH0TsJaQ
Extraction code: nd34
1. Extract the file tar-zxvf stress_1.0.1.orig.tar
two。 Enter the folder: cd stress_1.0.1.orig
3../configure
4.make
5.make check
6.make install
7.make clean
How to use it:
If there is a problem with the installation, it may be that the gcc,gcc package is not installed, including (binutils,cpp,gcc,gcc-c++,glibc,glibc-devel,glibc-headers,kernel-headers,libgcc,libgomp,libmpc,libstdc,mpfr)
Download address:
Link: https://pan.baidu.com/s/1BHcZFQqAn7-exLlUMcf6mQ
Extraction code: hdml
Installation method: rpm-ivh * .rpm-- force
1. Test CPU load
Enter the command: stress-c 4
Add 4 cpu processes to deal with the sqrt () function to increase the CPU load of the system
2. Memory test
Enter the command: stress-m 50-- vm 500
3. Disk IBO test
Press memory and IO simultaneously
Enter the command: stress-d 1-hdd-bytes 3G
Add 1 new write process to write 3G file blocks each time
View the results:
Top command:
Vmstate command:
Other tools:
Press the memory:
Tool: memtester
Official: http://pyropus.ca/software/memtester/
Wget http://pyropus.ca/software/memtester/old-versions/memtester-4.3.0.tar.gz
Tar-xzvf memtester-4.0.8.tar.gz
Cd memtester-4.0.8.
Make & & make install
Memtester 2G
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.