Re: "Killed" reply from rm command
- From: "F. Even" <aixlists@xxxxxxxxxxxx>
- Date: Tue, 4 Dec 2007 00:46:25 -0600
Here's another method of ridding the files:
for i in $(ls)
do
rm $i
done
(or add an echo $i before the rm if you want it to print the file going
away).
That's how I usually end up working that limit.
On Nov 27, 2007 4:43 PM, oscar torres carranza <oshuto90@xxxxxxxxxxx> wrote:
Hi
Try this
1. smitty system
2. Change / Show Characteristics of Operating System.
3. To increase the value of "ARG/ENV list size in 4K byte
blocks []"
I had the same problem because of the amount of files.
I hope you will serve
Regards
Oscar H. Torres Carranza
------------------------------
Date: Tue, 27 Nov 2007 12:17:29 -0600
From: DTaylor@xxxxxxxx
Subject: "Killed" reply from rm command
To: aix-l@xxxxxxxxxxxxx
Hi *,
Oslevel –r = 5100-05 (yeah, I know)
I was cleaning out a temp directory today that had acquired thousands of
tmp files. Initial a simple "rm *" failed because there were too many
files. I then started deleting them using masks. After deleting several
hundreds of files, I again attempted a "rm *", however this time the word
"Killed" was returned. Has anyone seen this and/or can explain it?? The
system is still working fine the load at the time was very minimal (no where
near running out of memory or any other kind of performance limitation).
Below is the output:
tower2-local /home/drtsmusr/tapehistory/tmp # rm *
ksh: /usr/bin/rm: 0403-027 The parameter list is too long.
tower2-local /home/drtsmusr/tapehistory/tmp # rm checkinhist.TMP1.4*
tower2-local /home/drtsmusr/tapehistory/tmp # rm checkinhist.TMP1.5*
rm: checkinhist.TMP1.5*: A file or directory in the path name does not
exist.
tower2-local /home/drtsmusr/tapehistory/tmp # rm checkinhist.TMP1.6*
tower2-local /home/drtsmusr/tapehistory/tmp # rm checkinhist.TMP1.7*
tower2-local /home/drtsmusr/tapehistory/tmp # rm *
Killed
tower2-local /home/drtsmusr/tapehistory/tmp # ls
TIA
*David *
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.clearswift.com
**********************************************************************
------------------------------
Express yourself instantly with MSN Messenger! MSN Messenger<http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/>
- Follow-Ups:
- Re: "Killed" reply from rm command
- From: Juan Camilo Yanquen
- Re: "Killed" reply from rm command
- Prev by Date: Re: Moving partitions from one disk to another
- Next by Date: Re: trouble configuring two ethernet adapters AIX 5.2
- Previous by thread: Re: Moving partitions from one disk to another
- Next by thread: Re: "Killed" reply from rm command
- Index(es):
Relevant Pages
|
|