LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-02-2010, 02:29 AM   #1
simransab
LQ Newbie
 
Registered: Sep 2009
Posts: 23

Rep: Reputation: 15
Linux redhat: basic info


Hi,

I need some help here, Im totally new to linux servers.
I need to know how to get basic info (Redhat Linux, IBM Server :

1) How to know how many hdd is inside the server:
I tried below, but didnt get the info:
[root@em1]# df -kl
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 302382416 3159664 283862604 2% /
/dev/sda1 178884 13318 156331 8% /boot
none 4117768 0 4117768 0% /dev/shm
/dev/mapper/VolGroup00-LogVol01
51606140 85952 48898748 1% /export/home1
/dev/mapper/VolGroup00-LogVol02
1562102048 108298312 1374453568 8% /export/home2
[root@em1]#

2) How to get info same as unix "format" command?
3) How to know what raid is the server?
4) How to know whether there are any cold or hot spare configured?
5) How to get the linux version? From uname -a i get kernel version.
6) how to know the application running inside?

more info on hardware or software will be use full.
 
Old 02-02-2010, 03:19 AM   #2
ddaemonunics
Member
 
Registered: May 2008
Location: Romania
Distribution: Debian
Posts: 242

Rep: Reputation: 41
There are so many books about red hat server administration...why don't you read one.

fdisk -l will show the harddrives/partitions
cat /proc/partitons will show partitions
cat /etc/mtab - mounted partitions
cat /proc/mdstat - if using software raid with mdadm
use lvm tools for volume groups
check bios/controller interface for hardware raid
yum or rpm will help regarding installed software
uname -a shows also the system version

Last edited by ddaemonunics; 02-02-2010 at 03:20 AM.
 
Old 02-02-2010, 03:19 AM   #3
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 780
Blog Entries: 6

Rep: Reputation: 75
for disk space use = df -h
for version use = uname -an
for application run use = ps x
 
Old 02-02-2010, 05:07 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,654

Rep: Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280
Getting the OS version : cat/etc/issue

and : cat /etc/redhat-release


.....

Linux version : Only the kernel is Linux
.....
 
Old 02-02-2010, 05:12 AM   #5
addynix
LQ Newbie
 
Registered: Feb 2010
Location: Pune, India
Posts: 10

Rep: Reputation: 1
Quote:
Originally Posted by simransab View Post
5) How to get the linux version? From uname -a i get kernel version.
Try this:

Code:
cat /etc/redhat-release
 
Old 02-02-2010, 06:20 AM   #6
larabond3
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Rep: Reputation: 0
Hi Mate,
I red your comment.Well nice information sharing,i must say I am really pleased to see such article sharing at the community.Many people are just start the activity as craze,but the information that you have shared is must known to them.Please try to share more articles like this one,that is really superb.
Thank you for sharing such nice post.
 
Old 02-02-2010, 05:24 PM   #7
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,362

Rep: Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377
You might find the following guides informative
http://www.linuxtopia.org/online_boo...ide/index.html
http://www.redhat.com/docs/en-US/Red...loyment_Guide/
 
  


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
need some basic info on drivers for a usb dvd in redhat 2 (or in general) kade304 Red Hat 1 09-30-2009 02:59 PM
basic info on distributions? kellogs908 Linux - Newbie 8 12-09-2007 10:19 PM
any books with basic info? sfzombie13 Linux - Newbie 5 08-06-2005 06:52 PM
Basic SuSE info KePSuX Linux - Distributions 8 03-23-2003 05:24 PM
I'm a BASIC chap, looking for some info on BASIC programming CragStar Programming 2 01-21-2001 09:19 AM


All times are GMT -5. The time now is 12:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration