Re: disks info

From: Dances With Crows (danSPANceswitTRAPhcrows_at_gmail.com)
Date: 06/10/05

  • Next message: dave stanton: "Re: Broadcom modem in Slackware 10.0"
    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
    

  • Next message: dave stanton: "Re: Broadcom modem in Slackware 10.0"

    Relevant Pages

    • Re: how to reconstruct c drive after replacement
      ... drive with free space on it. ... Both disks are NTFS. ... Most hard drive manufacturers have software that will copy the old drive ...
      (microsoft.public.windowsxp.general)
    • Re: newbie, display problesms
      ... > Mandrake Linux 7.0 on a Dell Lattitude CPx laptop. ... > rebuilding of disks etc ... ... > anything or a stream of numbers where the display should be. ... Hardware problem I would say. ...
      (alt.linux)
    • newbie, display problesms
      ... Mandrake Linux 7.0 on a Dell Lattitude CPx laptop. ... rebuilding of disks etc ... ... anything or a stream of numbers where the display should be. ...
      (alt.linux)
    • Re: Sun Storage Array help needed...
      ... > booted the system up, 2 of them were mentioned on the display, so I guess ... > What I wanted to ask is: Does anybody who has a storage array running, ... disks are 2,1 Gb disks, 114 if 4,2 Gb disks). ... SSA are old arrays, but you can still find docs on: ...
      (comp.sys.sun.hardware)
    • Re: how to reconstruct c drive after replacement
      ... Both disks are NTFS. ... >Is there some way I can back up the current C: drive, install the new drive, ... Highlight your C:,Copy, then ... on left select the new drive, highlight the Free Space in it, ...
      (microsoft.public.windowsxp.general)