The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
find with file size and show the size rpraharaj84 Shell Programming and Scripting 3 10-06-2009 02:42 PM
how to know the processor bit capacity mobydick SUN Solaris 3 07-23-2008 10:08 AM
capacity planning on aix itik AIX 1 05-12-2008 03:27 PM
command to find out total size of a specific file size (spread over the server) abhinov SUN Solaris 3 08-08-2007 07:48 AM
Max Tape capacity reddyb UNIX for Advanced & Expert Users 2 01-15-2002 10:43 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 4 Weeks Ago
tanjonathan tanjonathan is offline
Registered User
  
 

Join Date: Nov 2009
Posts: 2
File Size Capacity

How to view file size limit in unix..

From my case is when the file size over 80% full is has to be an alert.


Thank you
  #2 (permalink)  
Old 4 Weeks Ago
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2007
Location: Germany
Posts: 2,311
Depending on your OS this is usually set by 2 things. The first is the filesystem type that has a limit of a maximum file size. The second is your ulimits.

On Debian Linux for example you can edit it at:
/etc/security/limits.conf

On AIX for example it is:
/etc/security/limits

Using the command ulimit -a should show on most/any OS'es which limit is currently set. Look for "file size" or "fsize" or something similar.

Check what size a file has might not make much sense on a file that can be filled up rapidly, maybe more rapid than you script checks. Just as a thought without knowing your environment.

Usually people check space in filesystems with df and send a mail or trigger something else when a threshold has been reached.
  #3 (permalink)  
Old 4 Weeks Ago
ButchDeal ButchDeal is offline
Registered User
  
 

Join Date: Nov 2009
Posts: 1
file size monitorying

it sounds like you are interested in an alert/monitoring system. There are several out there for servers. I use XYMON which is based loosely on the old BB system which has gone commercial.
XYMON has the capability of easily monitoring the size of any file and sending alerts when the file size changes or hits your defined limits.
  #4 (permalink)  
Old 4 Weeks Ago
tanjonathan tanjonathan is offline
Registered User
  
 

Join Date: Nov 2009
Posts: 2
file size capacity

i'm using hp sitescope to monitor everything...but dunno how to set the limit of file size capacity bcos it doesnt support ulimit command
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:11 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0