Sponsored Content
Full Discussion: Disk space threshold report
Top Forums Shell Programming and Scripting Disk space threshold report Post 302842155 by Kalaihari on Thursday 8th of August 2013 01:36:49 PM
Old 08-08-2013
Dude,

The thing is there is no threshold limit crossed , so the output for that should be "NO issues to report" . Am i right? but i got the line "Filesystem GB blocks Free %Used Iused %Iused Mounted on" instead of "No issues to report".

Advice me to get the clear output
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Out of disk space?

Hi I'm trying to install gcc and the installation program tells me that I'm out of disk space! I have just installed the os (using the default settings for partitions and sizes) and have only installed apache on the machine. Can it really be out of disk space already? How do I check how much... (4 Replies)
Discussion started by: alfabetman
4 Replies

2. Filesystems, Disks and Memory

Disk Space -

I know I have posted this question before, but I still just don't understand how to determine disk space. This server is an IBM RS6000 running on AIX version 4.2.1. I in essence need to know the following if anyone can assist me. 1) I need to know how many drives are configured in the... (2 Replies)
Discussion started by: Docboyeee
2 Replies

3. UNIX for Dummies Questions & Answers

available disk space on disk device???

Hello, Can someone please tell me which command to use to determine the available disk space on a given disk device? I have to write a shell script that compresses files and stores them in a specific location but I am not sure how "conservative" I should be? Thanks in advance! Al. (4 Replies)
Discussion started by: alan
4 Replies

4. HP-UX

Disk Space

Hi Experts. I had 100% disk full , even though i have removed 2 GB space still dbf command shows 100%. How to rectify that. Appreciate your prompt help. Thanks (1 Reply)
Discussion started by: test10002
1 Replies

5. Shell Programming and Scripting

Disk Space

HI ... I am New to the Unix...I am trying to write a script to check the disk space. But i am not able to write it. I know the command to check the disk space df -k,but unable to write the script..Can any body help me... Thanks in advance... (3 Replies)
Discussion started by: Kingkon
3 Replies

6. Shell Programming and Scripting

Disk Space

Hi This is my script for disk space monitoring clear if then echo "You must be root user to execute the script" fi ALERT_LEVEL=10 CONSUMPTION_LEVEL= `df -k | awk {'print $5'} | cut -d '%' -f1 | sed "1 d"` for i in $CONSUMPTION_LEVEL do FILE_SYSTEM=`df -k | awk {'print $1'} |... (3 Replies)
Discussion started by: chrs0302
3 Replies

7. Red Hat

disk space

when i check /export directory of my machine gets filled up (85%) i removed some old logs. but after cleaning df -k command still shows that /export is still 85% full. Is there a way to force df to reflect actual free space without rebooting? My machine is a production one and can't... (8 Replies)
Discussion started by: aboorkuma
8 Replies

8. Shell Programming and Scripting

Check space of directories and send email if it has reached threshold limit

Hi, I need help in writing unix script for checking space of some directories on the system and also send an email when it reaches the threshold limit. I have written the followng code; #!/bin/ksh ADMIN="me@somewhere.com" # set alert level 80% is default THRESHOLD=80 df | grep -E... (5 Replies)
Discussion started by: jmathew99
5 Replies

9. Shell Programming and Scripting

disk space

Hi, I am new to shell scripting, and want to monitor disk space using shell script continously on server, which will shoot mail after crossing threshold limit Please suggest. Regards Manoj (1 Reply)
Discussion started by: manoj.solaris
1 Replies
NFSIOSTAT(1)							Linux User's Manual						      NFSIOSTAT(1)

NAME
nfsiostat - Report input/output statistics for network filesystems (NFS). SYNOPSIS
nfsiostat [ -h ] [ -k | -m ] [ -t ] [ -V ] [ interval [ count ] ] DESCRIPTION
The nfsiostat command displays statistics about read and write operations on NFS filesystems. The interval parameter specifies the amount of time in seconds between each report. The first report contains statistics for the time since system startup (boot). Each subsequent report contains statistics collected during the interval since the previous report. A report con- sists of an NFS header row followed by a line of statistics for each network filesystem that is mounted. The count parameter can be speci- fied in conjunction with the interval parameter. If the count parameter is specified, the value of count determines the number of reports generated at interval seconds apart. If the interval parameter is specified without the count parameter, the nfsiostat command generates reports continuously. REPORT
The Network Filesystem (NFS) report provides statistics for each mounted network filesystem. Transfer rates are shown in 1K blocks by default, unless the environment variable POSIXLY_CORRECT is set, in which case 512-byte blocks are used. The report shows the following fields: Filesystem: This columns shows the hostname of the NFS server followed by a colon and by the directory name where the network filesystem is mounted. rBlk_nor/s (rkB_nor/s, rMB_nor) Indicate the number of blocks (kilobytes, megabytes) read by applications via the read(2) system call interface. A block has a size of 512 bytes. wBlk_nor/s (wkB_nor/s, wMB_nor/s) Indicate the number of blocks (kilobytes, megabytes) written by applications via the write(2) system call interface. rBlk_dir/s (rkB_dir/s, rMB_dir/s) Indicate the number of blocks (kilobytes, megabytes) read from files opened with the O_DIRECT flag. wBlk_dir/s (wkB_dir/s, wMB_dir/s) Indicate the number of blocks (kilobytes, megabytes) written to files opened with the O_DIRECT flag. rBlk_svr/s (rkB_svr/s, rMB_svr/s) Indicate the number of blocks (kilobytes, megabytes) read from the server by the NFS client via an NFS READ request. wBlk_svr/s (wkB_svr/s, wMB_svr/s) Indicate the number of blocks (kilobytes, megabytes) written to the server by the NFS client via an NFS WRITE request. ops/s Indicate the number of operations that were issued to the filesystem per second. rops/s Indicate the number of 'read' operations that were issued to the filesystem per second. wops/s Indicate the number of 'write' operations that were issued to the filesystem per second. OPTIONS
-h Make the NFS report easier to read by a human. -k Display statistics in kilobytes per second. -m Display statistics in megabytes per second. -t Print the time for each report displayed. The timestamp format may depend on the value of the S_TIME_FORMAT environment variable (see below). -V Print version number then exit. ENVIRONMENT
The nfsiostat command takes into account the following environment variables: S_TIME_FORMAT If this variable exists and its value is ISO then the current locale will be ignored when printing the date in the report header. The nfsiostat command will use the ISO 8601 format (YYYY-MM-DD) instead. The timestamp displayed with option -t will also be com- pliant with ISO 8601 format. POSIXLY_CORRECT When this variable is set, transfer rates are shown in 512-byte blocks instead of the default 1K blocks. BUG
/proc filesystem must be mounted for nfsiostat to work. FILE
/proc/self/mountstats contains statistics for network filesystems. AUTHORS
Written by Ivana Varekova (varekova <at> redhat.com) Maintained by Sebastien Godard (sysstat <at> orange.fr) SEE ALSO
sar(1), pidstat(1), mpstat(1), vmstat(8), iostat(1), cifsiostat(1) http://pagesperso-orange.fr/sebastien.godard/ Linux JANUARY 2011 NFSIOSTAT(1)
All times are GMT -4. The time now is 03:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy