深入理解stressapptest,阿里P7大牛整理


团队博客: 汽车电子社区


一、概述

stressapptest是一款免费的开源软件,支持用于测试Linux系统的稳定性和可靠性。它可以利用多个CPU/Core,甚至可以访问主内存的所有部分来测试系统的稳定性,以此推断系统是否存在内存泄漏或其他性能方面的问题。

stressapptest的主要目标是发现难以重现的系统稳定性问题和其他体现在Java虚拟机、KVM Hypervisor和Hadoop集群等普通用例中的Linux系统中的性能问题。它还包括多个测试模式和选项以支持不同测试场景,比如随机测试、循环测试、全内存测试、持续测试等。

二、安装

2.1、源码编译安装

// 1.下载源码
git clone https://github.com/stressapptest/stressapptest.git

cd stressapptest
./configure
make
sudo make install

2.2、命令行安装

Ubuntu下执行如下命令进行安装:

sudo apt-get install stressapptest

在这里插入图片描述

2.3、安装确认

执行如下命令来确认stressapptest 是否安装成功:

stressapptest -h

lyb@ubuntu:~/learn$ stressapptest -h
Stats: SAT revision 1.0.6_autoconf, 64 bit binary
Log: buildd @ lgw01-amd64-022 on Thu Apr 5 10:28:35 UTC 2018 from open source release
Usage: ./sat(32|64) [options]
-M mbytes megabytes of ram to test
-H mbytes minimum megabytes of hugepages to require
-s seconds number of seconds to run
-m threads number of memory copy threads to run
-i threads number of memory invert threads to run
-C threads number of memory CPU stress threads to run
–findfiles find locations to do disk IO automatically
-d device add a direct write disk thread with block device (or file) ‘device’
-f filename add a disk thread with tempfile ‘filename’
-l logfile log output to file ‘logfile’
–max_errors n exit early after finding ‘n’ errors
-v level verbosity (0-20), default is 8
-W Use more CPU-stressful memory copy
-A run in degraded mode on incompatible systems
-p pagesize size in bytes of memory chunks
–filesize size size of disk IO tempfiles
-n ipaddr add a network thread connecting to system at ‘ipaddr’
–listen run a thread to listen for and respond to network threads.
–no_errors run without checking for ECC or other errors
–force_errors inject false errors to test error handling
–force_errors_like_crazy inject a lot of false errors to test error handling
-F don’t result check each transaction
–stop_on_errors Stop after finding the first error.
–read-block-size size of block for reading (-d)
–write-block-size size of block for writing (-d). If not defined, the size of block for writing will be defined as the size of block for reading
–segment-size size of segments to split disk into (-d)
–cache-size size of disk cache (-d)
–blocks-per-segment number of blocks to read/write per segment per iteration (-d)
–read-threshold maximum time (in us) a block read should take (-d)
–write-threshold maximum time (in us) a block write should take (-d)
–random-threads number of random threads for each disk write thread (-d)

自我介绍一下,小编13年上海交大毕业,曾经在小公司待过,也去过华为、OPPO等大厂,18年进入阿里一直到现在。

深知大多数网络安全工程师,想要提升技能,往往是自己摸索成长,但自己不成体系的自学效果低效又漫长,而且极易碰到天花板技术停滞不前!

因此收集整理了一份《2024年网络安全全套学习资料》,初衷也很简单,就是希望能够帮助到想自学提升又不知道该从何学起的朋友。
img
img
img
img
img
img

既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,基本涵盖了95%以上网络安全知识点,真正体系化!

由于文件比较大,这里只是将部分目录大纲截图出来,每个节点里面都包含大厂面经、学习笔记、源码讲义、实战项目、讲解视频,并且后续会持续更新

如果你觉得这些内容对你有帮助,可以添加VX:vip204888 (备注网络安全获取)
img

给大家的福利

零基础入门

对于从来没有接触过网络安全的同学,我们帮你准备了详细的学习成长路线图。可以说是最科学最系统的学习路线,大家跟着这个大的方向学习准没问题。

同时每个成长路线对应的板块都有配套的视频提供:

在这里插入图片描述

因篇幅有限,仅展示部分资料

网络安全面试题

绿盟护网行动

还有大家最喜欢的黑客技术

网络安全源码合集+工具包

所有资料共282G,朋友们如果有需要全套《网络安全入门+黑客进阶学习资源包》,可以扫描下方二维码领取(如遇扫码问题,可以在评论区留言领取哦)~

一个人可以走的很快,但一群人才能走的更远。不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎扫码加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!
img

包》,可以扫描下方二维码领取(如遇扫码问题,可以在评论区留言领取哦)~

一个人可以走的很快,但一群人才能走的更远。不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎扫码加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!
[外链图片转存中…(img-ktScacmd-1712636803773)]

  • 7
    点赞
  • 16
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值