10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am on SCO UNIX, I need to write a script to monitor root file system. For some reason it's not working for me.
#!/bin/sh
df -B / | awk '{ print $5 " " $1 }' | while read output;
do
echo $output
if ; then
echo "Running out of space \ HOSTNAME"
# mail -s "Alert: Almost out of... (8 Replies)
Discussion started by: samnyc
8 Replies
2. Shell Programming and Scripting
Hi all,
I got an error when running this script (from BigAdmin community)
the error is
test: argument expected
my server version is
SunOS XXX 5.8 Generic_117350-46 sun4u sparc SUNW,Sun-Fire-V890
any idea on it?
#! /usr/bin/ksh
###
### This script can be run from cron to... (9 Replies)
Discussion started by: SmartAntz
9 Replies
3. AIX
I'd like to create a cron script that checks filesystems. For example if it reaches 95% USED, I'd like it to send me an email. Can this be possible for up to say 4 filesystems using the df -k command? Any samples to get me started would be much appreciated. (7 Replies)
Discussion started by: NycUnxer
7 Replies
4. Solaris
Hi all,
I am planning to give a presentation on performance measure. I have decided to focus on the commands which are used to know the performance of the server. I have a idea of prstat,vmstat,netstat, and iostat. Could anybody suggest me any other commands which are used for perforamance... (7 Replies)
Discussion started by: priky
7 Replies
5. Shell Programming and Scripting
Hi there all,
#!/usr/bin/ksh
Set -x
MIN_MB_FREE="100MB" # Min. MB of Free FS Space
MAX_PERCENT="85%" # Max. FS percentage value
FSTRIGGER="1000MB" # Trigger to switch from % Used to MB Free
WORKFILE="/tmp/df.work" # Holds filesystem data
>$WORKFILE #... (0 Replies)
Discussion started by: draco
0 Replies
6. UNIX for Dummies Questions & Answers
In the vmstat , there are many columns you can see. Can someone tell me what is the most important column that i
need to be watched on, and what value or average value should i watch inorder to determine that im experiencing
a cpu bottle neck. What should be my basis.
or if you use glance
... (2 Replies)
Discussion started by: kaibiganmi
2 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I am trying to find a way to view current CPU and disk usage. I used to use nmon which worked fine but since an upgrade to our servers this is no longer available. I have tried to get it reinstalled to no avail!
Are there any other commands you can use within unix which will allow me... (4 Replies)
Discussion started by: johnwilliams
4 Replies
8. UNIX for Advanced & Expert Users
Hi all
The place I work for is about to to place there database server under heavy load for testing and would like the effect recorded as much as possible.
Can anyone point me in the right direction with respect to real time system monitoring. I am aware of of 'sar', vmstat etc and hope to... (2 Replies)
Discussion started by: silvaman
2 Replies
9. AIX
Hi All
I am looking for a script that would collect statistics in a summarised format.
CPU, Memory,Swap, Wait queue, Run queue and disk activity.
Something that would allow me to profile the environment based on a 1 line output that I could run every 15 min.
Thx
Junaid (1 Reply)
Discussion started by: jhansrod
1 Replies
10. UNIX for Advanced & Expert Users
hi,
can any one tell me, is there is any way i can check the performance of my solaris 8 os on an Ent 3500. Other than top to check for the top most processes, how to make the calculations with vmstat, iostat, mpstat and nfsstat. Or is there any other tools that i can use?
cheers. (3 Replies)
Discussion started by: i2admin
3 Replies