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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-02-2010, 03:29 AM
|
#1
|
LQ Newbie
Registered: Sep 2009
Posts: 23
Rep:
|
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.
|
|
|
02-02-2010, 04:19 AM
|
#2
|
Member
Registered: May 2008
Location: Romania
Distribution: Debian
Posts: 242
Rep:
|
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 04:20 AM.
|
|
|
02-02-2010, 04:19 AM
|
#3
|
Member
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Rep:
|
for disk space use = df -h
for version use = uname -an
for application run use = ps x
|
|
|
02-02-2010, 06:07 AM
|
#4
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
Getting the OS version : cat/etc/issue
and : cat /etc/redhat-release
.....
Linux version : Only the kernel is Linux
.....
|
|
|
02-02-2010, 06:12 AM
|
#5
|
LQ Newbie
Registered: Feb 2010
Location: Pune, India
Posts: 10
Rep:
|
Quote:
Originally Posted by simransab
5) How to get the linux version? From uname -a i get kernel version.
|
Try this:
Code:
cat /etc/redhat-release
|
|
|
02-02-2010, 07:20 AM
|
#6
|
LQ Newbie
Registered: Jan 2010
Posts: 3
Rep:
|
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.
|
|
|
02-02-2010, 06:24 PM
|
#7
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,419
|
|
|
|
All times are GMT -5. The time now is 07:44 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|