hello, we have a aix 5.2 server with 8GB of ram. is it possible, without actually removing the hardware, to have the O/S think it has only 4GB of ram? We would like to see how the handles and responds if it only had 4Gb instead of the 8GB. Any ideas or suggestions? Thanks
Looks like i found... (6 Replies)
When i execute bdf, /home direcory seems 100% full. But when i check /home with 'du', total used memory is 30 MB in 1,4 Gb. how can I reduce this 100% to its real state? (11 Replies)
why do inode indices starts from 1 unlike array indexes which starts from 0
its a question from "the design of unix operating system" of maurice j bach
id be glad if i get to know the answer quickly
:) (0 Replies)
printf "\nClosing stats:\n" >> data.txt
echo >> data.txt
sed 's/^ \t*//;/^#/d;/^$/d' $stats | while read line
do
close=$(grep -w "^$line" $datafile | sed -e 's/\(.*\),\(.*\),\(.*\)/\2/')
if ; then
printf "%5d. %-s was not found in file\n"... (3 Replies)
Hi,
I have a script that checks the length of each record/line in file - This seems to be working when there are no special systems character that are invisible or hidden.
awk -v file=$file '{
if (filename==file)
{ k+=$5
if (length() <= 10 ){print size length(), "bytes " k}
}... (2 Replies)
Currently my data is organised in a volume which has a cache directory (where all the files are first created or transferred). After that there are suitable directories on the volume which in their subdirs, contain files hardlinked to files in the cache. This is done so that the same inode... (1 Reply)
recod,amount,noofaccount,count
98,+00000187865779787,00319,000000640/
99,+00000187865779787,00001,000000642/
thsi is my input file my question is
1) Reduce the count on the 98 record by 2 (6 Replies)
hello,
i need a command like "bdf" of HP-UX. ( report number of free disk blocks (Berkeley version) ). it should report inode and file system usage in one line like bdf -i
manpage :
Man Page for bdf (all Section 1m) - The UNIX and Linux Forums
HP-UX command "" report inode and file... (2 Replies)
Hi,
inode size reached its 100% in /var
Due to this i'am getting the error No space left on device
my crond process is stopped and when i want to restart it
it is showing the below error
Starting crond: crond: can't open or create /var/run/crond.pid: No space left on device
df -i o/p
... (3 Replies)
Discussion started by: Mohamed Thamim
3 Replies
LEARN ABOUT OPENDARWIN
clri
CLRI(8) BSD System Manager's Manual CLRI(8)NAME
clri -- clear an inode
SYNOPSIS
clri special_device inode_number ...
DESCRIPTION
Clri is obsoleted for normal file system repair work by fsck(8).
Clri zeros out the inodes with the specified inode number(s) on the filesystem residing on the given special_device. The fsck(8) utility is
usually run after clri to reclaim the zero'ed inode(s) and the blocks previously claimed by those inode(s). Both read and write permission
are required on the specified special_device.
The primary purpose of this routine is to remove a file which for some reason is not being properly handled by fsck(8). Once removed, it is
anticipated that fsck(8) will be able to clean up the resulting mess.
SEE ALSO fsck(8), fsdb(8), icheck(8), ncheck(8)BUGS
If the file is open, the work of clri will be lost when the inode is written back to disk from the inode cache.
4th Berkeley Distribution April 19, 1994 4th Berkeley Distribution