Re: disks info
From: Dances With Crows (danSPANceswitTRAPhcrows_at_gmail.com)
Date: 06/10/05
- Previous message: Måns Rullgård: "Re: disks info"
- In reply to: spiv007_at_gmail.com: "disks info"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 10 Jun 2005 12:12:04 -0500
On 10 Jun 2005 10:00:44 -0700, spiv007@gmail.com staggered into the
Black Sun and said:
> how can i display my disk usage?
"df -h" will show the free space on all mounted filesystems in a
human-readable format. If you're interested in how much space a
directory and all its subdirectories uses, "du -sh /path/to/dir" will
show a -summary for /path/to/dir in -human-readable format.
> and if a disk about to fail or any warning messages?
Use smartctl -a (or ide-smart) to display the Self-Monitoring, Analysis,
and Reporting Technology report(s) for IDE disks. There's no real
analogue for SCSI disks, though looking at dmesg's output is useful
since SCSI peripherals typically report problems to the kernel log.
dmesg is also useful for displaying general "warning messages", though
you should be more specific about what it is you want to be warned of.
HTH,
-- Matt G|There is no Darkness in Eternity/But only Light too dim for us to see Brainbench MVP for Linux Admin / mail: TRAP + SPAN don't belong http://www.brainbench.com / Hire me! -----------------------------/ http://crow202.dyndns.org/~mhgraham/resume
- Previous message: Måns Rullgård: "Re: disks info"
- In reply to: spiv007_at_gmail.com: "disks info"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|