LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Closed Thread
  Search this Thread
Old 11-01-2011, 02:08 PM   #1
Sha_unix
Member
 
Registered: Sep 2011
Posts: 46

Rep: Reputation: Disabled
Question To get mail after 85% fill .


I have one file shown below (got from some other script). i want to get mail if 4th column has reached 85% of 3rd column. example for FH_LRGE_DATA_07 if 18983815 is 85% of 19849209. then it should trigger a mail. and it has check for all rows.Please help.

[code]
FH_LRGE_DATA_07 17 19849209 18983815
FH_LRGE_IDX_07 18 13582331 12158916
Gltbls_Data_02 19 2621441 2114093
AMOS_LRGE_DATA_02 20 5242880 4790946
LOG_LRGE_DATA_03 21 3121743 2234231
AMOS_SMLL_DATA_02 22 1572865 1203026
MAST_SMLL_DATA_01 24 512002 156226
REQUEST_DATA_01 25 524290 103057
LOG_SMLL_DATA_03 26 2122704 1588086
ACCT_LRGE_DATA_02 27 3145729 2361845
ET_LRGE_DATA_02 28 2097153 1664055
LB_LRGE_DATA_03 30 3108865 2363229
CRE_LRGE_DATA_03 33 2072577 1427658
Newcomm_data 40 16777218 15580218
Newcomm_index 41 4194303 4073860
comm_data 42 8388607 5077447
comm_index 43 4194305 1409307
Alternate_BP 44 262158 1393
[code]
 
Old 11-01-2011, 03:46 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Closed as a duplicate of http://www.linuxquestions.org/questi...5-fill-911310/
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fill a file with n bytes of a given value kalimat Programming 3 12-17-2008 04:48 AM
zero-fill HD lethys999 General 15 06-14-2008 08:09 PM
Zero Fill for Dummies? UltramaticOrange Linux - General 8 01-11-2008 12:44 PM
Why i must fill DNS ? b:z Linux - Networking 2 03-22-2005 02:07 AM
Anyone wanna fill me in!? whaase Slackware 4 11-04-2003 08:17 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 11:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration