ls -l : response time slow


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users ls -l : response time slow
# 1  
Old 11-27-2002
ls -l : response time slow

Hi all,

If I give ls , it lists files in 1 second.
It I give ls -l , it takes 8 seconds
There are only 55 files in the directory.
Any explanation?

Thanks
Wilson
# 2  
Old 11-27-2002
That's an odd one.

What OS are you running? What about your HD, is it fairly old?
When you say there's only 55 files, what are you looking at, what file types are they?
# 3  
Old 11-27-2002
Is "ls -ln" any faster?
# 4  
Old 11-28-2002
Hi,

OS - Digital Unix 4.0D
File System is advfs
Hard Disk 9GB x 3 RAID 5 for this file system

Binary Executables and Ascii files are present in this directory.

ls -ln also takes time

Regds
Wilson
# 5  
Old 11-29-2002
If "ls -ln" had been fast, we could point the finger at nis or whatever. But the difference between "ls" and "ls -ln" really is mostly just 55 stat() calls. Is "ls -s" also slow? It too, needs to stat() the files.

I don't understand what might make stat() slow for you though. A hardware problem maybe. Have you checked the logs for your raid?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Processes running response time

Hi All I have been asked to write scripts within our monitoring tool for a vast requirement set. One of the requirements is below: • Lowest, Highest & Average response times of the Documentum process threads serving client requests Essentially they want a view where we can see the... (4 Replies)
Discussion started by: simpsa27
4 Replies

2. Solaris

slow response on solaris terminal

Solaris terminal responding very slow .. we have recently put a T3 hardware in to production , the applications running are it are perfectly and no complaints from user ..but when i ssh to the server ... the terminal response is very very slow .. it takes 3 seconds to show the character i type ..... (3 Replies)
Discussion started by: skamal4u
3 Replies

3. Post Here to Contact Site Administrators and Moderators

Slow response from website

Hi, I am experiencing slow response of unix.com from past 3-4 days. like- - most of the time the page does not reload instantly (when I do a manual reload from browser) - not able to view graphics. ( displays only text). - when posting into forum, the page gets stuck for considerably long... (6 Replies)
Discussion started by: clx
6 Replies

4. AIX

Slow FTP response on WAN

Hi All. We are using AIX 5.3 ML9. There is 1 Gig NIC installed on two servers (Primary and Secondary) with Full Duplex Mode. We have scheduled a cronjob to copy the backup from primary to secondary thru FTP on WAN. The total data size is 15 GB and it took 9 Hours and 18 Mins with transfer rate... (6 Replies)
Discussion started by: lodhi1978
6 Replies

5. Emergency UNIX and Linux Support

Urgent help - intermittent slow response with client

Hi, My application runs on AIX, and clients complain of 3am slowdowns. This seems to have increased in the recent past. Can someone guide me what are the various things that I need to be looking at on he AIX box, that could be causing slowdowns. Thanks in Advance. (4 Replies)
Discussion started by: ggayathri
4 Replies

6. IP Networking

Apache mod_proxy +DNS slow response problem

My company has a private network, including a Apache web server (Linux) and some WinXP machines. The web server had been configured to use mod_proxy to connect to window update site via another company proxy server. It works for few years. Recently, some parties had setup a DNS server on the... (2 Replies)
Discussion started by: donaldfung
2 Replies

7. SCO

Slow cd response

Hi All We have one SCO Server here and it never gives us any trouble. Until Now!! Well its not earth shattering but we have one user who is complaining of a very slow response time when changing to his Home Directory. Other users who have similar profiles are OK. I have su'd to this user and I can... (0 Replies)
Discussion started by: JohnOB
0 Replies

8. UNIX for Advanced & Expert Users

Response time & IO max

in HP-UX how i can measure the response time and how can i find the maximum IO (1 Reply)
Discussion started by: salhoub
1 Replies

9. UNIX for Advanced & Expert Users

Response time under packet loss

I am experiencing a problem where under a dial condition I am experiencing packet loss, which is failrly normal, but the response to the packet loss is taking bewteen 6 and 10 seconds. Could someone please advise what the industry standard is on the response time under a packet loss senario. (1 Reply)
Discussion started by: shane
1 Replies
Login or Register to Ask a Question