- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Linux configuration specific commands
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2005 03:41 AM
07-20-2005 03:41 AM
I need to know following information by using commands via command line (text mode not graphical interface):
From question number 2 and up, assume red hat linux, please...
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? (hp user it could by like bdf or vgdisplay)
6. How manu memory the server have?
I don't want to use dmseg; and only a specifics command line.., please!!
Thanks a lot..
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2005 04:32 AM
07-20-2005 04:32 AM
Re: Linux configuration specific commands
RAID
/bin/cat /proc/mdstat
mdadm -D /dev/md0
mdadm -D /dev/md1
mdadm -D /dev/md2
mdadm -D /dev/md3
mdadm -D /dev/md4
df -h
Are you using LVM, I know lots of LVM questions.
Varitions on the uname command such as uname -a will answer other questions
[root@shalom bin]# uname --help
Usage: uname [OPTION]...
Print certain system information. With no OPTION, same as -s.
-a, --all print all information, in the following order:
-s, --kernel-name print the kernel name
-n, --nodename print the network node hostname
-r, --kernel-release print the kernel release
-v, --kernel-version print the kernel version
-m, --machine print the machine hardware name
-p, --processor print the processor type
-i, --hardware-platform print the hardware platform
-o, --operating-system print the operating system
--help display this help and exit
--version output version information and exit
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2005 05:04 AM
07-20-2005 05:04 AM
Re: Linux configuration specific commands
cat /etc/issue or /etc/issue.net
2. Which linux version?
cat /proc/version
3. How many cpu the server have?
cat /proc/cpuinfo
4. Disk configuration, i.e. raid X?
cat /proc/mdstat
mdadm â detail â scan
5. Disk partitions and disk? (hp user it could by like bdf or vgdisplay)
fdisk -l
parted
vgdisplay also exists
df
6. How manu memory the server have?
cat /proc/meminfo
free
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2005 06:45 AM
07-20-2005 06:45 AM
Re: Linux configuration specific commands
From the next information by executing your commands, I ssume that: the server have 8 cpu's; obviously Red Hat AS 3.
But How many memory, real RAM without swap? It appear have not array disk set???
cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 14538031104 928833536 13609197568 0 156495872 219987968
Swap: 8381517824 0 8381517824
MemTotal: 14197296 kB
MemFree: 13290232 kB
MemShared: 0 kB
Buffers: 152828 kB
Cached: 214832 kB
SwapCached: 0 kB
Active: 302760 kB
ActiveAnon: 33164 kB
ActiveCache: 269596 kB
Inact_dirty: 18112 kB
Inact_laundry: 66532 kB
Inact_clean: 13032 kB
Inact_target: 80084 kB
HighTotal: 13500380 kB
HighFree: 13273372 kB
LowTotal: 696916 kB
LowFree: 16860 kB
SwapTotal: 8185076 kB
SwapFree: 8185076 kB
HugePages_Total: 0
HugePages_Free: 0
Hugepagesize: 2048 kB
--------------+++++++++++++++++
cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) MP CPU 2.80GHz
stepping : 5
cpu MHz : 2794.665
cache size : 512 KB
physical id : 0
siblings : 2
runqueue : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips : 5570.56
processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) MP CPU 2.80GHz
stepping : 5
cpu MHz : 2794.665
cache size : 512 KB
physical id : 1
siblings : 2
runqueue : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips : 5583.66
processor : 2
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) MP CPU 2.80GHz
stepping : 5
cpu MHz : 2794.665
cache size : 512 KB
physical id : 2
siblings : 2
runqueue : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips : 5583.66
processor : 3
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) MP CPU 2.80GHz
stepping : 5
cpu MHz : 2794.665
cache size : 512 KB
physical id : 3
siblings : 2
runqueue : 3
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips : 5583.66
processor : 4
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) MP CPU 2.80GHz
stepping : 5
cpu MHz : 2794.665
cache size : 512 KB
physical id : 0
siblings : 2
runqueue : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips : 5583.66
processor : 5
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) MP CPU 2.80GHz
stepping : 5
cpu MHz : 2794.665
cache size : 512 KB
physical id : 1
siblings : 2
runqueue : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips : 5583.66
processor : 6
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) MP CPU 2.80GHz
stepping : 5
cpu MHz : 2794.665
cache size : 512 KB
physical id : 2
siblings : 2
runqueue : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips : 5583.66
processor : 7
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) MP CPU 2.80GHz
stepping : 5
cpu MHz : 2794.665
cache size : 512 KB
physical id : 3
siblings : 2
runqueue : 3
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips : 5583.66
-----------+++++++++++++++++++
mdadm --detail /dev/cciss
mdadm: /dev/cciss does not appear to be an md device
[root@dmodp /]# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/cciss/c0d0p7 40313964 4381116 33884964 12% /
/dev/cciss/c0d0p6 50394964 38184760 9650248 80% /APP
/dev/cciss/c0d0p2 125988632 114292388 5296352 96% /APPDATA
/dev/cciss/c0d0p8 30233896 9022716 19675368 32% /ODP
/dev/cciss/c0d0p3 115907564 32828 109986916 1% /ODPDATA
/dev/cciss/c0d0p5 50394964 30448484 17386524 64% /STAGE
/dev/cciss/c0d0p1 101089 14944 80926 16% /boot
none 7098648 0 7098648 0% /dev/shm
*---------*-*--------------*-*-*
Please help me with these above..
It is array ?
RAM properly?
Really have 8 CPU's?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2005 08:48 AM
07-20-2005 08:48 AM
SolutionYou have a hardware raid and should download array configuration utility for linux (ACU).
you have 14 GB of RAM memory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2005 08:49 AM
07-20-2005 08:49 AM
Re: Linux configuration specific commands
You have 14 GB of memory.
Mem: 14538031104
Mem: 14.538.031.104
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2005 03:50 PM
07-20-2005 03:50 PM
Re: Linux configuration specific commands
you are having 4 physical cpus (each having HT enabled thus presenting it as 8 logical cpus). You can verify it by the physical_id column in /proc/cpuinfo. you will see that each physical id is mentioned twice.
you have 14 GB RAM memory.
You are having CCISS controller which means that you are having RAID controller. Information regarding type of RAID, version of RAID controller (5i/6i) can be found by /proc/cciss(i am not sure about this directory).
Regards,
Gopi