Re: "Killed" reply from rm command



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/>



Relevant Pages

  • Re: "Killed" reply from rm command
    ... (or add an echo $i before the rm if you want it to print the file going ... I was cleaning out a temp directory today that had acquired thousands of ... I then started deleting them using masks. ... Express yourself instantly with MSN Messenger! ...
    (AIX-L)
  • "Killed" reply from rm command
    ... I was cleaning out a temp directory today that had acquired thousands of ... tmp files. ... I then started deleting them using masks. ... the system manager. ...
    (AIX-L)
  • Re: What is this file??
    ... >> Trying to delete all files in my temp directory. ... >> is a system file and warns about deleting it. ... it should not survive a reboot. ... creation time will differ on reboot. ...
    (alt.comp.anti-virus)
  • Changing location
    ... My friend was all up and running with MSN Messenger 6.2, ... for deleting his old passport and obtaining a new one? ... William B. Lurie ...
    (microsoft.public.windowsxp.messenger)
  • Re: Messenger has encountered an error
    ... turn off Contacts pane. ... MSN Messenger when you open OE. ... HTH - Please Reply to *This* Thread ... > Also keeps popping up whenver I attempt to go to OE6 even after deleting ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)