Sponsored Content
Operating Systems AIX How to trace cpu/memory usage for a process Post 302415015 by thegeek on Wednesday 21st of April 2010 01:59:31 PM
Old 04-21-2010
then you have to do sampling ...


execute your script now and then, and log the output.
 

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
obdgpslogger(1) 					      General Commands Manual						   obdgpslogger(1)

NAME
obdgpslogger - Log OBD and GPS data to sqlite SYNOPSIS
obdgpslogger [ options ] DESCRIPTION
This is a tool to log OBDII and GPS data to an sqlite database OPTIONS
-s|--serial <serialport> Open this serial port device to connect to the elm327 device. -c|--count <count> Take this many samples at most. Leaving this option out defaults to incessant sampling. -u|--output-log <filename> Redirect stdout and stderr to this file -l|--serial-log <filename> Log all serial comms into this file. -a|--samplerate <samples-per-second> Sample at most this many times a second. The software will sleep temporarily at the end of each loop if appropriate. Keep in mind there is an upper limit to samplerate, typically capped by I/O on your serial port. Set this to zero to sample as fast as possible. BE WARNED. Values greater than ten here are forbidden for cars predating April 2002. If you think your car postdates early 2002, and you'd like to sample as fast as possible, the -o option may help -o|--enable-optimisations Enable certain elm327 optimisations. This will [usually] make sampling faster [not a noticeable amount if you're only sampling once a second], but makes it much easier to accidentally disobey the standard if you're sampling as fast as possible. -p|--capabilities Dump the commands your OBD device claims to support to stdout, then exit. -m|--daemonise Convert the program to a background daemon after successfully initialising. -B|--modifybaud [rate] Attempt to upgrade baudrate to rate. If rate isn't specified, we'll just take a few guesses and go with what works. -b|--baud <rate> Attempt to set serial port baudrate to this after launching. Passing zero tells it to try and guess, or -1 to not try changing at all. -d|--db <database> Open this database to log data to. The software will create the database if it does not exist, and create the tables it needs. -i|--log-columns <column names> Comma-separated list of column names. These are the short names listed when you use "-p" to get your car's capabilities -v|--version Print out version number and exit. -h|--help Print out help and exit. NOT OPTIONS
These options are not intended to be used by end users using the command line, they are support options for the GUI component. Use or rely on them at your own peril. -t|--spam-stdout Write all readings to stdout. The format is unlikely to change in practice, but if you choose to try to parse this yourself, I don't want to hear about it when it does change. SEE ALSO
obd2kml(1), obd2csv(1), obd2gpx(1), obdsim(1), obdgui(1), obdlogrepair(1), obdftdipty(1), dot-obdgpslogger(5) AUTHORS
Gary "Chunky Ks" Briggs <chunky@icculus.org> obdgpslogger(1)
All times are GMT -4. The time now is 04:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy