02-07-2019
Quote:
Originally Posted by
Krish5v
Need disk utilisation script for particular indexes on few hosts
What do you mean by "indexes"?
What is your environment?
What have you tried on your own?
What was the result?
Honestly, i have already put more energy into answering your question than you did in raising it. It is the
Second Law of Thermodynamics in action: you won't get anything without working for it.
bakunin
These 4 Users Gave Thanks to bakunin For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
what are the ways to check the disc usage by users. I mean to say how to find the biggest space consumer. Regards. (4 Replies)
Discussion started by: asutoshch
4 Replies
2. UNIX for Advanced & Expert Users
displaying the disk usage using df
and displaying the disk usage using du -sk
gives me different results:
1st case: df -k |grep users
2nd case: cd /users; du -sk
sometimes this difference is 50 gigabyte!!!
do you have any idea about this situation? (8 Replies)
Discussion started by: gfhgfnhhn
8 Replies
3. Shell Programming and Scripting
Hi ,..
I am working on a script like....
it has to monitor the disk usage (df -H) and if usage is above 95% then it has to return the particular mount point details...
i am in confusion to use awk or sed.....
regards
rrs (1 Reply)
Discussion started by: rrs
1 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
Please help me out
1) Command to find the disk usage in GB. I know that du -k will give in kilobites.
2) How to find the Biggest file/folder in a given set of files/folders.
Thanks in advance
Regards,
Manas (8 Replies)
Discussion started by: manas6
8 Replies
5. Shell Programming and Scripting
fdisk -l
shows me the total disk size.
How can I see, how much disk space is free or available? (5 Replies)
Discussion started by: tjay83
5 Replies
6. HP-UX
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies
7. Solaris
Hi,
I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP.
I want the oids for above tasks.
can you please tell me that
Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies
8. HP-UX
Hello people.
I need to shared a disk between two virtuals hosts in the same Guest, and I don't see any help about this.
I'm working on HP-UX 11.31
Thanks to all.:b: (2 Replies)
Discussion started by: cegamboav
2 Replies
9. Shell Programming and Scripting
Hi All,
I have written a script to check the file system usage and to delete the files which is consuming more space.Please check whether the script is corrcet
#Script Starts here
#!/usr/local/bin/perl
#Program to find the disk space and to delete the older files
#Checks the type of OS... (8 Replies)
Discussion started by: arunkarthick
8 Replies
10. UNIX for Beginners Questions & Answers
HI I am Trying to edit the below code to send email every day with difference of disk utilized in for last 24 hours but instead getting same usage everyday. can you please help me to point out where my calculation is going wrong. Thank you.
=================
#!/bin/bash
TODAY="at $(date... (0 Replies)
Discussion started by: Mi4304
0 Replies
vrstat(1M) vrstat(1M)
NAME
vrstat - display statistical information for volumes in RVGs and RLINKs, and for all hosts in an RDS
SYNOPSIS
vrstat [-g diskgroup] [-V] [-S] [-R] [-M] [-n number] [rvg ...]
DESCRIPTION
The vrstat command prints statistical information for the volumes in Replicated Volume Groups (RVGs) and RLINKs, and for all hosts in a
Replicated Data Set (RDS). Information is displayed across the RDS setup on all the hosts, and not for a specific host.
By default, the command displays statistics at intervals of 10 seconds. This interval can be changed by setting the VRAS_STATS_FREQUENCY
environment variable to the required value in the /etc/vx/vras/vras_env file.
If no rvg argument is specified, the command displays information for the RLINKs, storage replicator logs (SRLs), data volumes or memory
tunables across all the RDSs on the local host, depending on the option that is specified.
If no option or argument is specified, the vrstat command displays the consolidated status for the RLINKs, SRLs, data volumes and memory
tunables of all RDSs on the local host.
For more information on the output formats, see the vxrlink(1M), vxstat(1M) and vxmemstat(1M) manual pages.
OPTIONS
-g diskgroup
Specifies the disk group for the operation. If the -g option is not specified, the rvg argument determines the default local
disk group, according to the standard disk group selection rules that are described on the vxdg(1M) manual page.
-M Displays detailed information for the memory tunables on every host in an RDS. The output from this option is similar to that
from the vxmemstat command.
-n number Displays the statistics number times, and then exits.
-R Displays RLINK-related statistical information for all hosts in an RDS. The output from this option combines the output from the
vxrlink stats and vxrlink status commands, and also displays bandwidth utilization by the RLINK. This output can be used to
diagnose connectivity and network problems.
-S Displays statistical information for SRL volumes on all hosts in an RDS.
-V Displays statistical information for data volumes on all hosts in an RDS.
EXIT CODES
The vrstat utility exits with a status of 0 if the attempted operation succeeds. It exits with a status of 1 if the attempted operation
fails. This exit code is the same for all errors.
EXAMPLES
Display statistical information for all RLINKs in an RDS across all hosts:
vrstat -R egrvg
Display consolidated statistical information for all RLINKs, SRLs, data volumes and memory tunables for all RDSs on a host:
vrstat
SEE ALSO
vxmemstat(1M), vxrlink(1M), vxstat(1M)
VxVM 5.0.31.1 24 Mar 2008 vrstat(1M)