Friends,
.
On linux i have to run iostat command and in each iteration have to print the greatest value in each column.
e.g
iostat -dt -kx 2 2 | awk ' !/sd/ &&!/%util/ && !/Time/ && !/Linux/ {print $12}'
4.38
0.00
0.00
0.00
What i would like to print is only the... (3 Replies)
Friends,
Need some help.
On linux i have to run iostat command and in each iteration have to print the greatest value in each column.
e.g
iostat -dt -kx 2 2 | awk ' !/sd/ &&!/%util/ && !/Time/ && !/Linux/ {print $12}'
4.38
0.00
0.00
0.00
WHhat i would like to... (15 Replies)
Find in first column and replace the line with Awk, and output new file
File1.txt"2011-11-02","Georgia","Atlanta","x","",""
"2011-11-03","California","Los Angeles","x","",""
"2011-11-04","Georgia","Atlanta","x","x","x"
"2011-11-05","Georgia","Atlanta","x","x","" ... (4 Replies)
Below script perfectly works, giving below mail output. BUT, I want to make the script mail only if there are any D-Defined/T-Transition/B-Broken State WPARs and also to copy the output generated during monitoring to a temporary log file, which gets cleaned up every week. Need suggestions.
... (4 Replies)
Hi All, Need Suggestion, Want to sort a file using awk & sed to get required, output as below, such that each LUN shows correct WWPN and FA port Numbers correctly:
Required output:
01FB 10000000c97843a2 8C 0
01FB 10000000c96fb279 9C 0
22AF 10000000c97843a2 8C 0
22AF 10000000c975adbd ... (10 Replies)
Hello,
it would be great if someone can help me with the following:
I want to search for the rows from fileA in column 1 of fileB and output column 2 of fileB if found in fileC. In the moment I search within the complete file. How can I change the code so only column 1 is searched?
cat fileA... (7 Replies)
Hello,
I am trying to write a script to parse the output of data and then alert based on certain conditions
This is the output of my script
(STRING) Name = Joe
(FLOAT64) BMI = 34
(FLOAT64) Weight = 156
(STRING) Name = Sam
(FLOAT64) BMI = 32
(FLOAT64) Weight = 180
and so on it repeats... (4 Replies)
Hi All,
i am trying to print the solaris 11 packages in below required format, But i am unable to do that.
Current ouput :
root@abc# pkginfo -l | egrep '(BASEDIR|NAME|VERSION)' | awk '{print}'
NAME: QLogic 570x/571x Gigabit Ethernet Driver
VERSION: 11.11,REV=2009.11.11
... (7 Replies)
Discussion started by: balu1234
7 Replies
LEARN ABOUT REDHAT
inndf
INNDF(8) System Manager's Manual INNDF(8)NAME
inndf - Replacement for 'df | awk' in innwatch.ctl
SYNOPSIS
inndf [ -i ] filesystem(s) | [ -n ] [ -o ]
DESCRIPTION
Inndf is a replacement for 'df | awk' in innwatch.ctl(5) or used in innstat(8). Inndf reports free Kilobytes (not disk blocks) or free
inodes. Kilobytes in this case means 1024 bytes.
If arguments are multiply specified, the output includes multiple lines which shows each specified argument and the value. This is used by
innstat(8).
Inndf doesn't sync, forks less, is less complicated, etc.
If <enableoverview in inn.conf> is set to ``true'' and other overview settings are already done, inndf can also show the usage of overview
space or the number of stored data.
OPTIONS -i If the ``-i'' flag is used, then the number of free inodes are reported instead of the number of free Kilobytes.
-n If the ``-n'' flag is used, then total number of stored overview data is reported. The number counts different data even if article
is crossposted.
-o If the ``-o'' flag is used, then overview space usage are reported as percentage. ``-o'' cannot be always available. This can be
available for ``buffindexed'' ovmethod currently.
HISTORY
Inndf was written by Ian Dickinson <idickins@fore.com>. The initial manual page was written by Swa Frantzen <Swa.Frantzen@Belgium.EU.net>.
Thanks also to the following folks for ports, patches and comments: Mahesh Ramachandran <rr@eel.ufl.edu>, Chuck Swiger <chuck@its.com>,
Sang-yong Suh <sysuh@kigam.re.kr>, Brad Dickey <bdickey@haverford.edu>, Taso N. Devetzis <devetzis@snet.net>, Wei-Yeh Lee <weiyeh@colum-
bia.edu>, Jeff Garzik <jeff.garzik@spinne.com>, and to all the other folks I met and worked with during my 10 years as a newsadmin.
SEE ALSO innwatch.ctl(5).
INNDF(8)