Tools to monitor system performance in Android or linux


 
Thread Tools Search this Thread
Top Forums Programming Tools to monitor system performance in Android or linux
# 1  
Old 12-14-2011
Tools to monitor system performance in Android or linux

Hi,

May i know the tools which will give the below details in a consolidated fashion for some 'X' duration in single and multicore processors,

1) How many times and how long scheduler code and kernel threads are executing ?
2) Details about each process, time spent in each state (run, wait etc), amount of memory consumed in each state ?
3) In processor perspective how long it is spending in each state ?

Regards,
Karthi
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Compiling Android system on Linux MInt

i have been trying to compile an android Marshmello system with no success. every time i try to compile i get this error javac: invalid source release: 1.7s Usage: javac <options> <source files> make: *** Error 41 #### make failed to build some targets (03:04 (mm:ss)) ####... (2 Replies)
Discussion started by: gearm
2 Replies

2. Solaris

How can i monitor solaris server by using any monitoring tools

Hi forum We have nearly 240 servers inclding zones . How can i monitor server and its performance by using any monitoring tools. My indentions is to plot graphs based on server utilization interms of cpu and memory Is there any opensource tools for this. I saw collectd and it has agent... (3 Replies)
Discussion started by: bentech4u
3 Replies

3. What is on Your Mind?

Heart beat monitor using android

I just had this idea of using Android (a linux derivative) to monitor heart rates of patients with a history of cardiac problems. There are plenty apps around that monitor heart rates, but none for people that require medical attention when their heart rate drops below a certain level for more... (0 Replies)
Discussion started by: figaro
0 Replies

4. Infrastructure Monitoring

Solaris Performance Monitoring Tools????

Hi, Are there any GUI (preferably web based) Solaris monitoring tools available for the SPARC platform. Just to clarify, when i say GUI, I don't mean buttons to configure the Software, of course that would be a plus, but rather GUI in terms of output, like Graphs. Thanks (6 Replies)
Discussion started by: Mack1982
6 Replies

5. AIX

Tool to monitor the performance of the system ..

Dear experts , Pls advice for any good Tool to monitor the CPU and performance of AIX the system .. to keep monitoring to show me the utilization of that system .. (12 Replies)
Discussion started by: Mr.AIX
12 Replies

6. UNIX for Advanced & Expert Users

How I can get System Performance Linux Red Hat

Hi All, Can someone help me out knowing all commands for getting system performance on Linux Red hat(I hope Red hat doesn't matter). I am aware of vmstat, sar and top. Thanks in advance, Yagami Light. (1 Reply)
Discussion started by: Yagami
1 Replies

7. HP-UX

API about system performance monitor

Hello, there. We want to write application on HP-UX to monitor system resource,such as CPU,Network Traffic Load,Disk Usage,etc. Anyone know these API functions except the system command ? thanks. (6 Replies)
Discussion started by: Frank2004
6 Replies

8. News, Links, Events and Announcements

Announcing collectl - new performance linux performance monitor

About 4 years ago I wrote this tool inspired by Rob Urban's collect tool for DEC's Tru64 Unix. What makes this tool as different as collect was in its day is its ability to run at a low overhead and collect tons of stuff. I've expanded the general concept and even include data not available in... (0 Replies)
Discussion started by: MarkSeger
0 Replies

9. AIX

I/O Performance Tools

In lieu of not having filemon (AIX 5100-09) does anyone have have any recomendations of freeware I can get to analyze an I/O issue on my AIX box? (1 Reply)
Discussion started by: capeme
1 Replies
Login or Register to Ask a Question
TASKSET(1)							   User Commands							TASKSET(1)

NAME
taskset - set or retrieve a process's CPU affinity SYNOPSIS
taskset [options] mask command [argument...] taskset [options] -p [mask] pid DESCRIPTION
taskset is used to set or retrieve the CPU affinity of a running process given its pid, or to launch a new command with a given CPU affin- ity. CPU affinity is a scheduler property that "bonds" a process to a given set of CPUs on the system. The Linux scheduler will honor the given CPU affinity and the process will not run on any other CPUs. Note that the Linux scheduler also supports natural CPU affinity: the scheduler attempts to keep processes on the same CPU as long as practical for performance reasons. Therefore, forcing a specific CPU affinity is useful only in certain applications. The CPU affinity is represented as a bitmask, with the lowest order bit corresponding to the first logical CPU and the highest order bit corresponding to the last logical CPU. Not all CPUs may exist on a given system but a mask may specify more CPUs than are present. A retrieved mask will reflect only the bits that correspond to CPUs physically on the system. If an invalid mask is given (i.e., one that corresponds to no valid CPUs on the current system) an error is returned. The masks may be specified in hexadecimal (with or without a leading "0x"), or as a CPU list with the --cpu-list option. For example, 0x00000001 is processor #0, 0x00000003 is processors #0 and #1, 0xFFFFFFFF is processors #0 through #31, 32 is processors #1, #4, and #5, --cpu-list 0-2,6 is processors #0, #1, #2, and #6. When taskset returns, it is guaranteed that the given program has been scheduled to a legal CPU. OPTIONS
-a, --all-tasks Set or retrieve the CPU affinity of all the tasks (threads) for a given PID. -c, --cpu-list Interpret mask as numerical list of processors instead of a bitmask. Numbers are separated by commas and may include ranges. For example: 0,5,8-11. -p, --pid Operate on an existing PID and do not launch a new task. -V, --version Display version information and exit. -h, --help Display help text and exit. USAGE
The default behavior is to run a new command with a given affinity mask: taskset mask command [arguments] You can also retrieve the CPU affinity of an existing task: taskset -p pid Or set it: taskset -p mask pid PERMISSIONS
A user can change the CPU affinity of a process belonging to the same user. A user must possess CAP_SYS_NICE to change the CPU affinity of a process belonging to another user. A user can retrieve the affinity mask of any process. SEE ALSO
chrt(1), nice(1), renice(1), sched_getaffinity(2), sched_setaffinity(2) See sched(7) for a description of the Linux scheduling scheme. AUTHOR
Written by Robert M. Love. COPYRIGHT
Copyright (C) 2004 Robert M. Love. This is free software; see the source for copying conditions. There is NO warranty; not even for MER- CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. AVAILABILITY
The taskset command is part of the util-linux package and is available from https://www.kernel.org/pub/linux/utils/util-linux/. util-linux August 2014 TASKSET(1)