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
strange ftp problem ajnabi UNIX for Dummies Questions & Answers 3 09-15-2006 05:54 PM
Strange FTP problem widder HP-UX 4 06-08-2006 06:17 AM
very strange problem kemobyte Linux 5 03-31-2004 08:47 PM
Strange Problem forjohnny UNIX for Dummies Questions & Answers 2 09-28-2001 08:24 AM
Strange problem.Please Help ! lyhsm UNIX for Dummies Questions & Answers 1 11-30-2000 09:00 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 10-29-2001
Registered User
 

Join Date: Jul 2001
Location: India
Posts: 57
Arrow strange...problem

Hi..

Some of my application were not running properly due to lack of virtual memory.....so wht i did add one free harddisk as swap file system...and increased the swap memory..

But since than my root file system is showing 100% full thr is no space left...is thr any link between these two..
Because there is nothing unwanted in root file system...and it is 1Gb....

please help i am using SUN SOLARIS sparc ultra 10


regards
praful
Forum Sponsor
  #2  
Old 10-29-2001
Kelam_Magnus's Avatar
Registered User
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
no space

Can you do a "df" to find out what your actual space is on the root filesystem?

Also, try this script. Not mine but it is very good!

At the prompt type:

command SIZE filesystem
bigfiles 10000 / #for root filesystem


$ cat bigfiles

# To find any file over a certain size in a given directory
# Primarily used to locate files which might be running a filesystem out of
# space.
#
# First parameter is the filesystem or directory to begin the search from
# Second parameter is the size of the file, in characters, to find

if [ $# -eq 2 ]
then
if [ -d $1 ]
then
#ls -l `find "${1}" -xdev -size +"${2}"c -print`
find "${1}" -xdev -size +"${2}"c -print > /tmp/crslist$$
if [ -s /tmp/crslist$$ ]
then
ls -l `cat /tmp/crslist$$`
else
echo "apparently no files that large in "${1}
exit
fi
else
echo "$1 is not a directory...try again"
exit
fi
else
echo "\n\nbigfiles requires 2 parameters..."
echo "\tthe first is the beginning directory"
echo "\tthe second is the size of the file to search for\n\n"
fi





Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:37 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0