Computing.Net > Forums > Linux > How to find disk info in Linux ?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

How to find disk info in Linux ?

Reply to Message Icon

Name: Anand
Date: February 20, 2003 at 03:17:14 Pacific
OS: RH 7.3
CPU/Ram: 512
Comment:

I want to find out how many hard disks my machine has and how to find out information about each of them and the partitions they have. I am not able to locate /dev/rdsk directory as in Solaris or HP.
What is the equivalent of diskinfo command (of HP-ux) in Linux ?

Thanks

Anand



Sponsored Link
Ads by Google

Response Number 1
Name: Ron
Date: February 20, 2003 at 03:44:36 Pacific
Reply:

I am not sur what the command is but if you have gnome installed programs>system>systeminfo>Detailed info will do what you want.
Or you could try cfdisk this is a graphical display of fdisk


0

Response Number 2
Name: rhursto
Date: February 20, 2003 at 03:58:46 Pacific
Reply:

I'm sure the command is
df
Not sure what all the options are but you can look at the man pages for it.


0

Response Number 3
Name: Ronald
Date: February 20, 2003 at 04:14:02 Pacific
Reply:

Also dmesg will give you the addresses of all your disks and the brand and someother useful info but not partition info
cat /proc/cpuinfo will give you your cpu info


0

Response Number 4
Name: egkenny
Date: February 20, 2003 at 07:56:33 Pacific
Reply:

From KDE menu: KDiskFree
From KDE or GNOME menu: Hardware Browser

From command line:
$ fdisk -l /dev/hda
$ fdisk -l /dev/hdb
etc


0

Response Number 5
Name: Penguinboy
Date: February 20, 2003 at 09:17:18 Pacific
Reply:

Why not try 'df' on the command line this shows some usefull info...


0

Related Posts

See More



Response Number 6
Name: 3Dave
Date: February 21, 2003 at 07:23:15 Pacific
Reply:

# cat /proc/partitions
can be useful too


0

Response Number 7
Name: Ronald
Date: February 23, 2003 at 11:07:34 Pacific
Reply:

df will do it there are no options it will show all the disks that are mounted and thier partitions.
free will show your memory usage
top will show every proccess and its cpu and mem usage


0

Sponsored Link
Ads by Google
Reply to Message Icon

Unable to get my keyboard... GeForce4Ti4600 on Linux H...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: How to find disk info in Linux ?

how to play mp 3 in linux www.computing.net/answers/linux/how-to-play-mp-3-in-linux/29083.html

How to play video cd in Linux www.computing.net/answers/linux/how-to-play-video-cd-in-linux/20460.html

In linux how to find IP conflict www.computing.net/answers/linux/in-linux-how-to-find-ip-conflict/20748.html