05-12-2009
Quote:
Originally Posted by
jlliagre
Why C++ to do something that a shell script seems better suited to ?
No reason really, i'm just not familiar with shell script. Shell script is also find if you already have one that i can use?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I looking for a very basic, script that monitors the load on the cpu and writes it to a text file.
Can anyone help please? (4 Replies)
Discussion started by: alpha_manic
4 Replies
2. UNIX for Advanced & Expert Users
Hi ,
How do i check that the CPU is online/offline in a multi CPU machine in Linux ?
i tired /proc/cpuinfo
dmesg
nothing gave me the currect CPU status.
Pls help !! (5 Replies)
Discussion started by: sars
5 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
Unix has the TOP and SAR command to monitor machine's performance. Can it be used in a script to alert if the cpu utilization is more than 80 or memory used is more than 90.
Is SAR preferable than TOP?
Please advise. (3 Replies)
Discussion started by: er_ashu
3 Replies
4. HP-UX
Hi Guys,
Hopefully someone would be able to help me out. Basically I have an HPUX 11.11i system which is backed up by Data Protector 4.5. Every so often the vdba process hangs and chews up 100% of one of the systems CPU resources. As our monitoring tool can only monitor on a per system basis... (3 Replies)
Discussion started by: fulhamfcboy
3 Replies
5. Solaris
Dear All master
We have Sunfire memory 16G memory and 8 Processor.
I install with Solaris 10,
but i think resource that use all proccess is very much,
I installed this machine 3 times, twice install Oracle the load process make machine is very slow.
in new install process like this,... (1 Reply)
Discussion started by: moslemovic
1 Replies
6. Linux
i m workiing on a shell script which may monitors network memory and send alert to user if it increase a threshold (1 Reply)
Discussion started by: navdeep5673
1 Replies
7. Shell Programming and Scripting
Hi all
can any one help me to script monitoring
CPU load avg when reaches threshold value
and disk usage if it exceeds some %
tried using awk but when df -h out put is in two different lines awk doesnt work for the particular output in two different line ( output for df -h is in two... (7 Replies)
Discussion started by: robo
7 Replies
8. Shell Programming and Scripting
Hi All,
There is a shell script that captures Memory status in AIX 6.1 64 bits!
I need it to be validated by shell script experts for the following:
Shell Script:
cat memusageAIX.sh
#!/usr/bin/ksh
#
# Memory usage under AIX
#
USED=`svmon -G | head -2 | tail -1 | awk '{ print $3... (1 Reply)
Discussion started by: a1_win
1 Replies
9. Shell Programming and Scripting
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. Linux
Viewers Please help me to get out of the below issue.. Thanks in advance
Required shell script for Monitoring status of the objects and it should update the child objects status as well.
Requirements:-
1. We are working on IIB (IBM Integration Bus v10) and trying to implement the broker ('... (0 Replies)
Discussion started by: dsreddy447
0 Replies
LEARN ABOUT DEBIAN
lr_environment
LR_ENVIRONMENT.IN(1) LogReport's Lire Documentation LR_ENVIRONMENT.IN(1)
NAME
lr_environment - Export Lire configuration in shell script form
SYNOPSIS
eval `lr_environment`
DESCRIPTION
The lr_environment command is used to import the Lire configuration in Lire shell scripts.
All of Lire configuration variables will be written in a format that can be evaled by the shell.
Shell scripts don't usually have to use that command, since it is done by the defaults file sourced by each command.
The old names used by when the configuration was done in shell script are also exported by this script for backward compatibility.
AUTHOR
Francis J. Lacoste <flacoste@logreport.org>
VERSION
$Id: lr_environment.in,v 1.12 2006/07/23 13:16:33 vanbaal Exp $
COPYRIGHT
Copyright (C) 2003 Stichting LogReport Foundation LogReport@LogReport.org
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with
http://www.gnu.org/copyleft/gpl.html.
Lire 2.1.1 2006-07-23 LR_ENVIRONMENT.IN(1)