Android client performance parameter monitoring, android Performance Parameters

Source: Internet
Author: User

Android client performance parameter monitoring, android Performance Parameters


 

Background:

When testing the android client, you sometimes need to monitor cpu, mem, power consumption, interface loading time, traffic, and other indicators. As a result, the netizens asked me about the two solutions: AnotherMonitor and Emmagee. Before that, I wrote a tool. Below I will compare and explain these solutions.

 

 

AnotherMonitor and Emmagee both exist in the form of apk. The following is the official website:

Https://code.google.com/p/anothermonitor/

Https://github.com/NetEase/Emmagee

 

Let's take a look at the introduction:

AnotherMonitorIs an application for Android which monitors and records thememory and CPU usage values of the mobile phone. Thus, the program is intendedfor anyone whom wocould be interested in knowing the mobile resources state.

001. png

 

EmmageeFunction introduction:

1. Check the CPU usage and total CPU usage of the tested application at the current time.

2. Check the amount of memory occupied by the tested application at the current time, the total memory usage, and the remaining memory usage.

3. Check the number of traffic consumed by the application from start to current time

4. Test Data is written into the CSV file and stored on the mobile phone.

5. You can enable the floating window function to display the performance data of the tested application in real time.

6. You can quickly start or close the Wi-Fi network of your mobile phone in the floating window.

002. png

 

 

The functions of the two tools are similar. The latter provides more traffic monitoring. The advantage is that it can be used only after being installed on an Android mobile phone. The disadvantage is that the program itself also has an impact on mobile phone resources, the monitoring content is not rich enough.

 

 

I wrote a tool to collect resource parameters, mainly relying on the command line provided by the mobile phone.

The following commands are used: getprop and dumpsys.

 

File List:

L getdatav1.bat

L getdatav2.bat

L androidlog analysis .xls

L wireless adbconnection androidmobile phone and computer .docx

 

Note:

The first version is USB cable connected to PCs and mobile phones. At that time, busybox was installed after the mobile phone root, so all the commands are complete, so you will find that all commands are linux commands in getdatav1.sh;

 

Version 2: because most mobile phones do not install busybox, and there are no awk or sed commands, the getdatav1.sh command is changed to getdatav2.sh, and the previous commands such as awk and sed are no longer used, use the dos batch for text processing.

 

The process of running the program is to run getdata first. sh, the file has detailed instructions, generate a lot of collected data files, then open the excel file, click Generate, load the data files collected in the previous batch into an excel file, and generate charts.

During the test, we found that the USB cable is connected to the pc, which will keep the mobile phone charging. Therefore, we have another wireless solution to ensure accurate power consumption.

 

It may be possible for the monkeyrunner to run for several hours and generate the crash count and log together into the report. This is more practical. Do it later.

 

Download link:

Http://download.csdn.net/detail/testingba/7716309

 

 

 

 


How does the android System View DVR monitoring?

Software downloading should be available on the home page of the DVR manufacturer. Generally, Android and Apple mobile client software are available.
In addition, DVRs may also have attached discs.
Of course, if your DVR is an early product, you may not have this function.

Answers to questions about Android remote video surveillance client and PC

Why don't you make a cell phone for yourself if you are a young man or support yourself.
This kind of software is on the Internet
 

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.