Sponsored Content
Top Forums UNIX for Beginners Questions & Answers UNIX cluster disk usage report generation for yesterday & today and email Post 303033863 by Mi4304 on Friday 12th of April 2019 04:47:42 PM
Old 04-12-2019
UNIX cluster disk usage report generation for yesterday & today and email

Thanks for your reply, i am trying to change the above script to create yesterday report and today today report in two table format for comparison of my cluster utilization in daily basis. just wanted to see in a day how much data is getting increased everyday.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How do l test for carriage return & Disk space usage

Hi, I have just written a script in /bin/bash, however, l want to test if character is a carriage return or space. Also l want my script to be able to detect my disk space and send a mail if usage is more than 90% or send an alert. Thanks Kayode (6 Replies)
Discussion started by: kayode
6 Replies

2. Shell Programming and Scripting

Need to send email on HIGH Disk usage

Hi Guys I am looking for a python / PERL script which will send me email when ever my disk becomes more than 90% full. By the way my OS is Win XP. If anybody have already has written same type of script or something very similar kind of script, that will also be very helpful. Thanks... (1 Reply)
Discussion started by: csaha
1 Replies

3. Shell Programming and Scripting

Disk Usage in Unix

Hi, Please let me know how do we write a piece of code to find the disk usage in UNIX (3 Replies)
Discussion started by: Shilpi
3 Replies

4. UNIX for Dummies Questions & Answers

Uncertainty on disk usage report

Hi all, My system is running on RHEL4. I've just deleted 2 huge tablespaces from Oracle. Then I saw the disk usage. The report by df differs from the du. Do you know why they shows different results? Which one is correct? # df -h Filesystem Size Used Avail Use% Mounted... (1 Reply)
Discussion started by: mr_bold
1 Replies

5. AIX

errpt with param for yesterday and today

Hi All, I would like to create a script with "errpt" that will read the date yesterday and today and execute this: "errpt -a -s yesterdaydatetime -e todaydatetime". For example: >errpt -a -s 0604000008 -s 0605235908 Note: Time is fixed with start "0000" and end "2359". So... (0 Replies)
Discussion started by: itik
0 Replies

6. UNIX for Dummies Questions & Answers

email warning script for disk usage

I'm trying to monitor disk usage, using cron to run a script to email me when disk capacity exceeds 66%. When I use df (actually, "df -k" because I find the format useful), disk capacity shows as field 5. However, that field includes a % which is confusing my ">" comparison to include a warning. ... (3 Replies)
Discussion started by: InvisibleMan
3 Replies

7. Shell Programming and Scripting

Unix - Disk usage command

Hi, I need a command that gives me the user who is using more space in the unix box (1 Reply)
Discussion started by: abinaya
1 Replies

8. Shell Programming and Scripting

Disk report generation problem

Hello everyone, I have a list of inputs as below. My logic is to get the particular powerdisk which matches for ASM disk which means take the major & minor number of each asm disk and matches with powerdisk info then get the particular powerdisk $ ls -l /dev/asm_* ---> ASM disk info... (11 Replies)
Discussion started by: kannan84
11 Replies

9. Shell Programming and Scripting

Send Disk Space Usage Status via email

Hi Guys, Is there any way I can write a script that sends DISK SPACE USAGE STATUS via email once a week? Thanks, (5 Replies)
Discussion started by: g4v1n
5 Replies

10. Shell Programming and Scripting

Generate disk space usage email alert

hi all members I have a shell script to generate disk space usage email alert if threshold is more than 80 %, now the requirement changed to keep sending alert emails for every 5% incremental usage ........ Any help would be greatly appreciated. ex - 80% , 85% ,90%,95%,100% we should get an... (6 Replies)
Discussion started by: anil529
6 Replies
SA2(8)								Linux User's Manual							    SA2(8)

NAME
sa2 - Write a daily report in the /var/log/sa directory. SYNOPSIS
/usr/lib/sa/sa2 DESCRIPTION
The sa2 command is a shell procedure variant of the sar command which writes a daily report in the /var/log/sa/sardd file, where the dd parameter indicates the current day. The sa2 command handles all of the flags and parameters of the sar command. The sa2 command is designed to be started automatically by the cron command. EXAMPLES
To run the sa2 command daily, place the following entry in your root or adm crontab file: 5 19 * * 1-5 /usr/lib/sa/sa2 -A & This will generate a daily report called /var/log/sa/sardd It will also remove reports more than one week old. FILES
/var/log/sa/sardd Indicate the daily report file, where the dd parameter is a number representing the day of the month. AUTHOR
Sebastien Godard <sebastien.godard@wanadoo.fr> SEE ALSO
sar(1), sadc(8), sa1(8), mpstat(1), iostat(1), vmstat(8) http://perso.wanadoo.fr/sebastien.godard/ Linux DECEMBER 1999 SA2(8)
All times are GMT -4. The time now is 12:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy