LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 07-20-2005, 12:12 PM   #1
gerargon
LQ Newbie
 
Registered: Dec 2004
Posts: 3

Rep: Reputation: 0
Commands to get some specific configuration


Hi all,

I need to know following informacion by using commands via command line (text mode not graphical interface):

1. I need to know which linux flavor is running, I suppouse that it is red hat?
2. Which linux version?
3. How many cpu the server have?
4. Disk configuration, i.e. raid X?
5. Disk partitions and disk?

I don't want to use dmseg; and only a specifics command line..!!

Thanks a lot..
 
Old 07-20-2005, 02:58 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
2. 'uname -r'.
3. 'cat /proc/cpuinfo'.
4. Depends: with hardware raid, this is impossible to determine. With software raid, mdstat
5. fdisk -l /dev/DISKNAME
 
Old 07-20-2005, 03:55 PM   #3
gerargon
LQ Newbie
 
Registered: Dec 2004
Posts: 3

Original Poster
Rep: Reputation: 0
fdisk -l /dev/cciss does not show any info..
 
Old 07-20-2005, 10:45 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
You need to supply it with the name of each disk you want information on.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
XandrOS - BSNL BroadBand Configuration - India-specific M.Srivathsan Linux - Networking 2 06-17-2006 01:33 AM
How to make a specific command(s) work for specific users or group only naren_0101bits Linux - General 3 08-28-2005 05:22 PM
kernel configuration and tc commands for traffic shaping ncrfgs Linux - Networking 0 11-25-2004 11:46 AM
Fire wall configuration...disable firewall or open a specific port naveenViador Linux - Security 2 04-13-2004 03:36 PM
Can't find Postfix documentation for a specific configuration. DesertWolf0132 Linux - Software 0 11-04-2003 12:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 09:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration