Sponsored Content
Full Discussion: performance script
Top Forums Shell Programming and Scripting performance script Post 302312416 by kodak on Friday 1st of May 2009 10:14:01 AM
Old 05-01-2009
I'd just like to mention that if you have more than one machine that you'd like to monitor, you'd be much better served by installing a monitoring package.

There are lots and lots of them out there, from the very simple munin types to Nagios, both free and commercial.

If it's a single machine then shell scripts are fine for this sort of thing, but even they can get unwieldy if you try to monitor too much. Most monitoring packages will have notification built in.
 

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
MUNIN-SCHED(1p) 					User Contributed Perl Documentation					   MUNIN-SCHED(1p)

NAME
munin-sched - A daemon to gather information in cooperation with the main Munin program SYNOPSIS
munin-sched [--options] DESCRIPTION
munin-sched is a daemon for reporting statistics on system performance. It doesn't produce these itself, but instead relies on a number of plugins which are responsible for gathering the data they require, and describing how this should be graphed. In fact, it does little more than fielding requests from the Munin master, running the appropriate plugins, and returning the output they produce. OPTIONS
--config <configfile> Use <file> as configuration file. [/etc/munin/munin-node.conf] --[no]paranoia Only run plugins owned by root. Check permissions as well. [--noparanoia] --help View this help message. --debug View debug messages. This can be very verbose. FILES
/etc/munin/munin-node.conf /etc/munin/plugins/* /etc/munin/plugin-conf.d/* /var/run/munin/munin-sched.pid /var/log/munin/munin-sched.log VERSION
This is munin-sched v2.0.6-4+deb7u2 $Id$ AUTHORS
Audun Ytterdal, Jimmy Olsen, and Tore Anderson. BUGS
Please see http://munin-monitoring.org/report/1 <http://munin-monitoring.org/report/1>. COPYRIGHT
Copyright (C) 2002-2006 Audun Ytterdal, Jimmy Olsen, and Tore Anderson / Linpro AS. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program is released under the GNU General Public License SEE ALSO
For information on configuration options, please refer to the man page for munin-node.conf. Many plugins can report whether or not they can reasonably be used on the node. "munin-node-configure" can use this information to help manage installed plugins. The network protocol is documented at http://munin-monitoring.org/wiki/network-protocol <http://munin-monitoring.org/wiki/network-protocol> perl v5.14.2 2013-11-12 MUNIN-SCHED(1p)
All times are GMT -4. The time now is 04:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy