From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,97e01b635fb2200d X-Google-Attributes: gidfee84,public From: iglesias@draco.acs.uci.edu (Mike Iglesias) Subject: Re: ls -l VERY SLOW Date: 1996/12/06 Message-ID: <589ov4$m8c@news.service.uci.edu>#1/1 X-Deja-AN: 202719393 references: <01bbe2f7$3519bfa0$2b0172cf@gboye.abs.net> organization: University of California, Irvine newsgroups: comp.unix.osf.osf1 In article <01bbe2f7$3519bfa0$2b0172cf@gboye.abs.net>, ade faleti wrote: >My system runs very slow when do ls -l , or ps -au , but it runs ok if i do >a ordinary >ls or ps , I am trying to find out what could be chewing up my processor. > >What i can figure out is if you try to do anything to access the disk for >detailed >information , it just hangs up. Slow ls -l is usually caused by many files in the directory and/or having a lot of entries in /etc/passwd that have to be searched thru to find the account that owns the file. Since you're seeing this problem with ps, it's probably a large /etc/passwd file. You might consider using NIS to speed things up. -- Mike Iglesias Internet: iglesias@draco.acs.uci.edu University of California, Irvine phone: (714) 824-6926 Office of Academic Computing FAX: (714) 824-2069