[K12OSN] cpu hog woes maybe figured..

Calvin Dodge caldodge at fpcc.net
Fri Nov 5 02:21:13 UTC 2004


Terrell Prudé, Jr. wrote:
> Huck wrote:
> 
>> I have a gazillion(really can't count) files in /tmp
>>
>> where I notice xses-<user>  and orbit-<user>
>> puts/gets info from...
>>
>> so I figure it's the cpu max'n out trying to access that info...
>>
>> all filenames start with a like 6 digit name followed by 9 characters 
>> incremented
>>
>> ie..  ...
>> dummie1a01bOJkw
>> dummie1a01bOJkx
>> dummie1a01bOJky
>> ...
>> and so on and so forth...
>>
>> when I attempt to 'rm dummie*' I get a bash error about the argument 
>> list being too long...
>>
>> HELP?!?!
>> some script guru out there?
>>
>> --Huck
>>
> 
> Try it this way and let us know:
> 
> When you cd to your /tmp directory, then, as root, issue the "rm -rf *" 
> command.


I think that will cause the same problem as "rm dummie*".

try "cd /tmp;find ./ -name 'dummie*' -exec rm -f \{\} ';'"

Calvin

-- 
Calvin Dodge
Certified Linux Bigot (tm)
http://www.caldodge.fpcc.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: caldodge.vcf
Type: text/x-vcard
Size: 249 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/k12osn/attachments/20041104/2afff806/attachment.vcf>


More information about the K12OSN mailing list