-
Junior Member
registered user
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
-
Junior Member
registered user
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?
-
Administrator
Site Admin-
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.
-
Senior Member
registered user
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.
-
Junior Member
registered user
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.
-
Administrator
Site Admin-
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
-
By ESC in forum General Support
Replies: 1
Last Post: 09-11-2009, 05:13 AM
-
By floschi in forum General Support
Replies: 2
Last Post: 09-21-2005, 06:45 AM
-
By vdesibabu in forum Customising & Remastering
Replies: 0
Last Post: 01-05-2005, 05:47 PM
-
By krix in forum Customising & Remastering
Replies: 0
Last Post: 06-29-2004, 09:39 AM
-
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
-
Forum Rules

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1
$102.99

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$90.00

Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive
$39.99

Samsung New SSD 970 EVO Plus 2TB 1TB 500GB 250GB NVMe M2 Internal Hard Drive Lot
$79.99

Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot
$549.00

2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON
$28.80

Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD
$129.99

Samsung 256 GB Internal SATA SSD Fully Tested 50%-79% Health
$24.00

Micron MTFDDAK256TBN 256 GB, Internal ,2.5" SSD
$23.00

SSD 2.5" SATA Hard Drive for Laptop Desktop Windows 10 pro 64 Pro Pre-installed
$42.00