GithubHelp home page GithubHelp logo

tokenchen / stress-android Goto Github PK

View Code? Open in Web Editor NEW

This project forked from m-ric/stress-android

0.0 1.0 0.0 357 KB

Very small hack to have the great yet simple stress binary build in android environment. Stress is very handy to generate cpu loads on multiple cores, io, malloc with a lot of options.Ref: http://weather.ou.edu/~apw/projects/stress/

License: GNU General Public License v3.0

Perl 1.65% Shell 5.01% TeX 86.98% JavaScript 0.13% C 6.24%

stress-android's Introduction

stress-android README

stress is a simple package to put pressure on CPU and IO in various and multi-threaded ways. Originally developed by Amos Waterland, the added value here is the Android.mk file that lets you add it to Android AOSP to build. This is not an Android Java program, but a bare command line tool. To execute it, you need access to a shell terminal. You may need to have root access to push it in /system/bin directory.

INSTALL

ndk-build

adb shell mkdir /data/tmp

adb shell chmod 755 /data/tmp

adb push obj/local/armeabi/stress

USAGE

You can see the program's usage statement by invoking it with --help. A typical invocation is:

stress --cpu 8 --io 4 --vm 2 --vm-bytes 128M --timeout 10s

A user manual is available:

info stress

The project home page is:

http://weather.ou.edu/~apw/projects/stress/

PATCHES

This program works really well for me, but it might not have some of the features that you want. If you would like, please extend the code and send me the patch. Please use the context diff format. That is: save the original program as stress.c.orig, then make and test your desired changes to stress.c, then run `diff -u stress.c.orig stress.c' to produce a context diff. Enjoy the program :-)

Amos Waterland [email protected] Norman, Oklahoma 27 Nov 2001

stress-android's People

Contributors

parmegv avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.