Sponsored Content
Full Discussion: defrag
Top Forums UNIX for Dummies Questions & Answers defrag Post 13324 by JammerFSU on Tuesday 15th of January 2002 08:51:41 PM
Old 01-15-2002
Computer Defrag in Unix

There are several options to degrag a Unix box. Since you are running SCO Unix, there is a 3rd party product that you can purchase and install that will continually keep your files defragmened. Another quick solution is to simply backup your data to tape either using cpio or tar command and then restore from tape. I would caution you to be sure that your tape drive is in proper working order... OR... tar up your directories to disk (assuming you have enough free disk space) and then restore from that tar archive. fsck does not degrag a drive under SCO or any other Unix O/S that I am aware of.
 

We Also Found This Discussion For You

1. Filesystems, Disks and Memory

Why we don't need to defrag UNIX FS?

Hi I am wondering which is the reason why there is no need to defrag file system in UNIX and Linux, and in Windows I must defrag it ? (7 Replies)
Discussion started by: solaris_user
7 Replies
IOSTAT(1)						      General Commands Manual							 IOSTAT(1)

NAME
iostat - report I/O statistics SYNOPSIS
iostat [ drives ] [ interval [ count ] ] DESCRIPTION
Iostat iteratively reports the number of characters read and written to terminals per second, and, for each disk, the number of transfers per second, kilobytes transferred per second, and the milliseconds per average seek. It also gives the percentage of time the system has spent in user mode, in user mode running low priority (niced) processes, in system mode, and idling. To compute this information, for each disk, seeks and data transfer completions and number of words transferred are counted; for terminals collectively, the number of input and output characters are counted. Also, each sixtieth of a second, the state of each disk is examined and a tally is made if the disk is active. From these numbers and given the transfer rates of the devices it is possible to determine average seek times for each device. The optional interval argument causes iostat to report once each interval seconds. The first report is for all time since a reboot and each subsequent report is for the last interval only. The optional count argument restricts the number of reports. If more than 4 disk drives are configured in the system, iostat displays only the first 4 drives, with priority given to Massbus disk drives (i.e. if both Unibus and Massbus drives are present and the total number of drives exceeds 4, then some number of Unibus drives will not be displayed in favor of the Massbus drives). To force iostat to display specific drives, their names may be supplied on the command line. FILES
/dev/kmem /vmunix SEE ALSO
vmstat(1) 4th Berkeley Distribution April 29, 1985 IOSTAT(1)
All times are GMT -4. The time now is 06:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy