Results 1 to 6 of 6

Thread: Problem using cat to list files.

  1. #1
    Junior Member registered user
    Join Date
    Apr 2006
    Location
    Colorado
    Posts
    24

    Problem using cat to list files.

    On my resent reload of knoppix it's taking quite some time to do simple cat commands. Like when I do this: cat /var/log/syslog |tail -60
    it takes a while to actually list. I ran an updatedb. I never had this problem before even when I had 128Megs on my laptop. I'm now at 256MEGS.

    So, I'm wondering what might be causing the delay and what the linux equivalent of a scandisk/defrag is. Thanks

  2. #2
    Junior Member registered user
    Join Date
    Apr 2006
    Location
    Colorado
    Posts
    24
    Well, I noticed I only get the delay when issuing the tail command. Doesn't seem to happen when doing a regular cat. Anyways, you guys are going to make me search for how to do defrags/scandisk in linux huh.. Ok, it's either that our go to the responsive linux forums. I kid , I kid.. Or do I?

  3. #3
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    Which do you wish to defrag - the Knoppix Live CD or the Knoppix Live DVD?
    ---
    Verifying of md5 checksum and burning a CD at slow speed are important.

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    Assuming you have enough free HD space, the linux filesystems will usually "defrag" in the background during non I/O times and will reallocate blocks of data to make the files in the filesystem contiguous. It is only when it is running out of space that it will fragment a file into non-contiguous pieces. Thus a defrag for linux filesystems is practically unnecessary and for most linux filesystems can not actually be done.
    Some starting points in investigating linux performance ... dmesg, iostat, vmstat, hdparm, bonnie, sar.

  5. #5
    Junior Member registered user
    Join Date
    Apr 2006
    Location
    Colorado
    Posts
    24
    Harry, sorry I didn't make it clear that I had an HDD install. And thanks for the explaination of how the file system works for linux UnderScore. Have a good one guys.

  6. #6
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    That was kind of my point. You have been here since at least April so you should know your way around the forums. You are complaining about a lack of response, but you didn't even post a question about a hard disk install in the hard disk install forum.
    ---
    Verifying of md5 checksum and burning a CD at slow speed are important.

Similar Threads

  1. Replies: 1
    Last Post: 09-11-2009, 05:13 AM
  2. Small Problem: List Directory in DOS-type
    By floschi in forum General Support
    Replies: 2
    Last Post: 09-21-2005, 06:45 AM
  3. knoppix sources.list repository incomplete list.
    By vdesibabu in forum Customising & Remastering
    Replies: 0
    Last Post: 01-05-2005, 05:47 PM
  4. apt problem: files list file missing
    By krix in forum Customising & Remastering
    Replies: 0
    Last Post: 06-29-2004, 09:39 AM
  5. problem with copying files
    By jc01 in forum General Support
    Replies: 3
    Last Post: 04-04-2004, 08:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Lenovo ThinkStation P520c Intel Xeon W-2133 6-Core 3.60GHz -NO RAM/ HDD/ GPU/ OS picture

Lenovo ThinkStation P520c Intel Xeon W-2133 6-Core 3.60GHz -NO RAM/ HDD/ GPU/ OS

$127.54



Intel Xeon Phi 5110P 60-Core 1.053GHz Coprocessor   picture

Intel Xeon Phi 5110P 60-Core 1.053GHz Coprocessor

$50.00



Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS picture

Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS

$239.99



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS

$179.98



Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS picture

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS

$84.49



Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU picture

Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU

$7.95



Intel Xeon E5-2690 v4 SR2N2 14 Core 2.6GHz 35MB LGA2011-3 CPU *km picture

Intel Xeon E5-2690 v4 SR2N2 14 Core 2.6GHz 35MB LGA2011-3 CPU *km

$15.99



For Parts - Lenovo ThinkServer TS460 Part Number: 70TT-0020UX picture

For Parts - Lenovo ThinkServer TS460 Part Number: 70TT-0020UX

$149.99



Dell Precision T1700 Workstation Intel Xeon 16G Ram 256GG SSD Nvidia 600  Win 10 picture

Dell Precision T1700 Workstation Intel Xeon 16G Ram 256GG SSD Nvidia 600 Win 10

$109.99