Sponsored Content
Full Discussion: SCO Unix - Disk Space
Top Forums UNIX for Dummies Questions & Answers SCO Unix - Disk Space Post 302080192 by matrixmadhan on Monday 17th of July 2006 05:00:40 AM
Old 07-17-2006
that is the difference between disk usage (du) and free blocks displayer (df)

if a file makes use of 2KB of 1 MB block
du will display that the file had used only 2KB

but df would display that 1 MB had been used as its displaying only the free blocks available,
even if 1 byte is used in 1MB free block, the free block is no more a free block and its used.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

available disk space on disk device???

Hello, Can someone please tell me which command to use to determine the available disk space on a given disk device? I have to write a shell script that compresses files and stores them in a specific location but I am not sure how "conservative" I should be? Thanks in advance! Al. (4 Replies)
Discussion started by: alan
4 Replies

2. Shell Programming and Scripting

IInd Hard Disk Mounting Problem on 1st HDD On SCO UNIX Open Server

Hi Engg. ! :mad: I have a harddisk on which SCO UNIX Open Server was installed. There was some data (in .dbf format) on it. Present condition of HDD is that it is not booting. Now I want to mount this HDD through other HDD on which SCO UNIX Open Server is installed by attaching... (0 Replies)
Discussion started by: Niraj Gopal Sha
0 Replies

3. SCO

adding hard disk from SCO OpSer in SCO 5.06

Hi! Sorry, but I am'not spesialist in SCO OpenServer. I need to add hard disk from SCO Open Server ( "a") in my SCO OpenServer 5.6. I need data from "a". When I added, I see only swap disk, and didn't see root file system. I need to add IDE and SCSI Please, help me. How right to add disk?... (0 Replies)
Discussion started by: fedir
0 Replies

4. SCO

sco unix v/386 boot disk

anyone know where I can download or get a boot disk for sco unix v/386? I have an old PC running sco unix v/386 3.2. I dont have an install or boot disk. I need to reset the root password. I have looked all over the internet and cannot find it anywhere. any help would be greatly appreciated.... (5 Replies)
Discussion started by: format
5 Replies

5. Shell Programming and Scripting

Disk space details from Unix to Outlook

Hi Friends, I am using sun Solaris . I want to find the disk space (df -k) for the Unix box and the data has to be sent to an email id. Can u please find me a code that checks the disk space 6 times a day, loads the data into an excel sheet and sends to an email id. Can u also tell me how to... (2 Replies)
Discussion started by: sridharnr
2 Replies

6. SCO

Problem with sco unix 5.0.5 and copy disk

Hi, i'm from Argetina and my english is very poor. I'm trying to copy disk with sco unix 5.0.5 -60Gb IDE Disk- (7476, 255, 63) to other disk -IDE 80Gb- and g4u v2.3. After the copy, i'm trying the 80Gb disk and the roblem is the partition /u/disco is empty. Note: /u/disco is the... (0 Replies)
Discussion started by: sebpes
0 Replies

7. Filesystems, Disks and Memory

Disk space and RAM status in UNIX

I have an application which is running under AIX, HP UNIX, SCO, and LINUX(redhat and SuSE). and its dealing with some bulk amount of file handling, and some of my boxes are not very good in terms of resources like memory and disk space. so i wanted to know the statistics of each of my boxes. Like... (2 Replies)
Discussion started by: renjithram
2 Replies

8. SCO

Help with disk size in sco unix

when i try to find the disk size in a sco unix machine i am not quite sure about the commands df and df -k is there any other command to see what hardware raid it is built in and the total disk size any command similar to fdisk (4 Replies)
Discussion started by: robo
4 Replies

9. Shell Programming and Scripting

DISK SPACE in UNIX

Hi, I have to regularly monitor manually if my diskspace is close to 90% or not. I use to see this by firing df -k. I want to write a script which can run 24*7 hours and would me mail me whenever the disk space is 90% or more..It would be really great if someone can helo me on this. (1 Reply)
Discussion started by: sachin4shell
1 Replies
db_recover(8)						      System Manager's Manual						     db_recover(8)

NAME
db_recover - Restores the database to a consistent state (Enhanced Security) SYNOPSIS
/usr/tcb/bin/db_recover [-cv] [-h home] FLAGS
Failure was catastrophic. Specify a home directory for the database. The correct directory for enhanced security is /var/tcb/files. Write out the pathnames of all of the database log files, whether or not they are involved in active transactions. Run in verbose mode. DESCRIPTION
A customized version of the Berkeley Database (Berkeley DB) is embedded in the operating system to provide high-performance database sup- port for critical security files. The DB includes full transactional support and database recovery, using write-ahead logging and check- pointing to record changes. The db_recover utility runs after an unexpected system failure to restore the security database to a consistent state. All committed transactions are guaranteed to appear after db_recover has run, and all uncommitted transactions are completely undone. DB recovery is normally performed automatically for the security files as part of system startup. In the case of catastrophic failure, an archival copy, or snapshot of all database files must be restored along with all of the log files written since the database file snapshot was made. (If disk space is a problem, log files may be referenced by symbolic links). If the failure was not catastrophic, the files present on the system at the time of failure are sufficient to perform recovery. If log files are missing, db_recover identifies the missing log files and fails, in which case the missing log files need to be restored and recovery performed again. The db_recover utility attaches to one or more of the Berkeley DB shared memory regions. In order to avoid region corruption, it should always be given the chance to detach and exit gracefully. To cause db_recover to clean up after itself and exit, send it an interrupt sig- nal (SIGINT). RETURN VALUES
The db_recover utility exits 0 on success, and >0 if an error occurs. ENVIRONMENT VARIABLES
If the -h option is not specified and the environment variable DB_HOME is set, it is used as the path of the database home. The home directory for security is /var/tcb/files. FILES
/var/tcb/files/auth.db /var/tcb/files/dblogs/* RELATED INFORMATION
Commands: db_archive(8), db_checkpoint(8), db_printlog(8), db_dump(8), db_load(8), db_stat(8), secconfig(8) delim off db_recover(8)
All times are GMT -4. The time now is 07:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy