-
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

NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (Gs305) - Desktop Quiet Fanless
$16.41

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch
$49.99

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch
$129.99

5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play
$31.99

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch
$19.99

5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S...
$9.64

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W
$39.99

TP-Link TL-SG105, 5 Port Gigabit Unmanaged Ethernet Switch, Network Hub, Ethern
$15.25

D-Link DGS-1210-28P 28-Port PoE Gigabit Web Smart Switch With Cord
$49.99

Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks
$219.95