Sponsored Content
Full Discussion: performance script
Top Forums Shell Programming and Scripting performance script Post 302312612 by MarkSeger on Saturday 2nd of May 2009 08:20:38 AM
Old 05-02-2009
And then there's collectl - see: collectl

It can do most anything from simple interactive monitoring of a few 'subsystems' like cpu, disk, etc and/or writing the data to disk and letting you play it back later. For more advanced topics you can have it send its data to higher level monitoring tools like ganglia.

It even has a --vmstat switch which means you can play back old data in vmstat format with timestamps, just one of many options.

The key is collectl is very lightweight, using less than 0.5% CPU when sampling everything every 10 seconds. Most users simply enable it as a daemon and keep it running forever. Then if you have a problem, the data you need has probably already been collected for you.

-mark
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script for system performance

I need to prepare script which will run as background process ever 30 mins to collect the following information 1. Memory usage. 2. CPU usage. 3. Number processors running. 4. System resource (CPU and Memory) used by each process. 5. Number of sessions logged PLEASE HELP ME OUT FROM THIS ... (2 Replies)
Discussion started by: vastare
2 Replies

2. UNIX for Advanced & Expert Users

Performance of a shell script

Hiii, I wrote a shell script for testing purpose. I have to test around 200thousand entries with the script.When i am doing only for 6000 entries its taking almost 1hour.If i test the whole testingdata it will take huge amount of time. I just want to know is it something dependent on the... (2 Replies)
Discussion started by: namishtiwari
2 Replies

3. 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

4. Shell Programming and Scripting

Performance issue with awk script.

Hi, The below awk script is taking about 1 hour to fetch just 11 records(columns). There are about 48000 records. The script file name is take_first_uniq.sh #!/bin/ksh if then while read line do first=`echo $line | awk -F"|" '{print $1$2$3}'` while read line2 do... (4 Replies)
Discussion started by: RRVARMA
4 Replies

5. Shell Programming and Scripting

Any way to improve performance of this script

I have a data file of 2 gig I need to do all these, but its taking hours, any where i can improve performance, thanks a lot #!/usr/bin/ksh echo TIMESTAMP="$(date +'_%y-%m-%d.%H-%M-%S')" function showHelp { cat << EOF >&2 syntax extreme.sh FILENAME Specify filename to parse EOF... (3 Replies)
Discussion started by: sirababu
3 Replies

6. Shell Programming and Scripting

Script performance issue

hi i have written a shell script which comapare a text file data with files within number of different directories. example. Text File: i have a file /u02/abc.txt which have almost 20000 file names Directories: i have a path /u03 which have some subdirectories like a,b,c which have almost... (2 Replies)
Discussion started by: malikshahid85
2 Replies

7. Shell Programming and Scripting

Want to improve the performance of script

Hi All, I have written a script as follows which is taking lot of time in executing/searching only 3500 records taken as input from one file in log file of 12 GB Approximately. Working of script is read the csv file as an input having 2 arguments which are transaction_id,mobile_number and search... (6 Replies)
Discussion started by: poweroflinux
6 Replies

8. Shell Programming and Scripting

AIX CPU performance script ?

I want to write a shell script which will print AIX CPU utilization memory utilization every 5 mins redirect to file. How do i do it? Please advise. Which commands I should use? (3 Replies)
Discussion started by: vegasluxor
3 Replies

9. UNIX for Dummies Questions & Answers

How to improve the performance of this script?

Hi , i wrote a script to convert dates to the formate i want .it works fine but the conversion is tkaing lot of time . Can some one help me tweek this script #!/bin/bash file=$1 ofile=$2 cp $file $ofile mydates=$(grep -Po '+/+/+' $ofile) # gets 8/1/13 mydates=$(echo "$mydates" | sort |... (5 Replies)
Discussion started by: vikatakavi
5 Replies

10. Shell Programming and Scripting

Performance issue in shell script

Hi All, I am facing performance issue while rinning the LINUX shell script. I have file1 and file 2. File one is the source file and file 2 is lookup file. Need to replace if the pattern is matching in file1 with file2. The order of lookup file is important as if any match then exit... (8 Replies)
Discussion started by: ureddy
8 Replies
utild(1M)																 utild(1M)

NAME
utild - System-utilization collection daemon SYNOPSIS
DESCRIPTION
is a lightweight daemon that records system-utilization data on a 5-minute interval. System-utilization data includes CPU, memory, disk, and network data. is installed as part of the software, which also contains a WBEM provider that is the interface to the data collected by stores up to 30 days worth of utilization data and consumes minimal system resources. The total disk space consumed by these data files should not exceed 20 megabytes in the default installation. is respawned if it is killed, due to the following entry in /etc/inittab: WARNINGS
Removing the removes any historical data that has been collected by as well as prevents and from functioning properly. To disable the software can be removed with the following command (see swremove(1M)): FILES
WBEM mof files documenting the class schema for retrieving utilization data collected by Data and configuration files. These files contain the definitions of all workloads created on the system, and up to 30 days of collected utilization data. To ensure continuity of data collection and prevent loss of workload definitions, HP recommends including this directory in daily backups. AUTHORS
was developed by the Hewlett-Packard Company. SEE ALSO
cimserver(1M) utild(1M)
All times are GMT -4. The time now is 12:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy