Sponsored Content
Operating Systems AIX How to trace cpu/memory usage for a process Post 302415074 by rainbow_bean on Wednesday 21st of April 2010 04:41:50 PM
Old 04-21-2010
how to write a script to trace cup/memory usage for a process?
 

10 More Discussions You Might Find Interesting

1. Programming

Monitor CPU usage and Memory Usage

how can i monitor usages of CPU, Memory, Hard disk etc. under SUN Solaries through a c program or java program i want to store that data into database so i can show it graphically thanks in advance (2 Replies)
Discussion started by: Gajanad Bihani
2 Replies

2. Programming

CPU usage and memory usage

Please tell me solaris functions/api for getting following information 1- Function that tells how much memory used by current process 2- Function that tells how much memory used by all running processes 3- Function that tells how much CPU is used by current process 4- Function that tells how... (1 Reply)
Discussion started by: mansoorulhaq
1 Replies

3. UNIX for Dummies Questions & Answers

cpu, memory and virtual memory usage

Hi All, Does anyone know what the best commands in the UNIX command line are for obtaining this info: current CPU usage memory usage virtual memory usage preferably with date and time parameters too? thanks ocelot (4 Replies)
Discussion started by: ocelot
4 Replies

4. HP-UX

how can I find cpu usage memory usage swap usage and logical volume usage

how can I find cpu usage memory usage swap usage and I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times my final destination is monitor process logical volume usage above X % and number of Logical voluage above can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies

5. Solaris

current CPU usage, memory usage, disk I/O oid(snmp)

Hi, I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP. I want the oids for above tasks. can you please tell me that Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies

6. AIX

How to monitor the IBM AIX server for I/O usage,memory usage,CPU usage,network..?

How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies

7. UNIX for Advanced & Expert Users

How to find out memory & cpu usage of a process

Hi, By using time command we can determine the execution time of a process or command. bash-2.04$ time ls -l total 0 -rw-r--r-- 1 admin tac 0 Oct 6 04:46 file1 -rw-r--r-- 1 admin tac 0 Oct 6 04:46 file2 real 0m0.002s user 0m0.000s sys 0m0.001s... (5 Replies)
Discussion started by: learn more
5 Replies

8. Shell Programming and Scripting

Get the memory and cpu usage

what is the best way to get the memory and cpu usage of a process on any system? this is relatively simple. however, i'm looking for a unified method that would work on linux, sunos, hpux, aix. ps -ef | egrep myprocess | awk '{print $4}' ---> there could be several instances of 'myprocess'... (3 Replies)
Discussion started by: SkySmart
3 Replies

9. Shell Programming and Scripting

Shell script for logging cpu and memory usage of a Linux process

I am looking for a way to log and graphically display cpu and RAM usage of linux processes over time. Since I couldn't find a simple tool to so (I tried zabbix and munin but installation failed) I started writing a shell script to do so The script file parses the output of top command through... (2 Replies)
Discussion started by: andy_dufresne
2 Replies

10. Shell Programming and Scripting

Cpu and memory usage scripts

All I am writing a script to generate an email when cpu and memory usage is high for 5 min continuously help me urgent I wrote below scritpt LOAD=75.00 CPU_LOAD= 'sar -P all 300 5 |grep 'Average.all* '| awk -F " " '(print 100.0 -$NF)'' IF }; ECHO "pLEASE CHECK YOUR PROCESS ON YOUR... (1 Reply)
Discussion started by: anil529
1 Replies
LTTCTL(1)																 LTTCTL(1)

NAME
lttctl -- linux trace toolkit control SYNOPSIS
lttctl [options]... [tracename] DESCRIPTION
lttctl is a small program that controls LTTng through liblttctl. OPTIONS
o -h, --help: Show summary of options. o -c, --create: Create a trace. o -d, --destroy: Destroy a trace. o -s, --start: Start a trace. o -p, --pause: Pause a trace. o --transport TRANSPORT: Set trace's transport. (ex. relay-locked or relay) o -o, --option OPTION Set options, following operations are supported: channel.<channelname>.enable= channel.<channelname>.overwrite= channel.<channelname>.bufnum= channel.<channelname>.bufsize= (in bytes, rounded to next power of 2) <channelname> can be set to all for all channels channel.<channelname>.switch_timer= (timer interval in ms) o -C, --create_start: Create and start a trace. o -D, --pause_destroy: Pause and destroy a trace. o -w, --write PATH: Path for write trace datas. For -c, -C, -d, -D options. o -a, --append: Append to trace, For -w option. o -n, --dump_threads NUMBER: Number of lttd threads, For -w option. o --channel_root PATH: Set channels root path, For -w option. (ex. /mnt/debugfs/ltt) AUTHOR
lttctl was written by Zhao Lei <zhaolei@cn.fujitsu.com>, Gui Jianfeng <guijianfeng@cn.fujitsu.com>, and Mathieu Desnoyers <mathieu.desnoy- ers@efficios.com>. This manual page was written by Jon Bernard <jbernard@debian.org>, for the Debian project (and may be used by others). May 2010 LTTCTL(1)
All times are GMT -4. The time now is 07:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy