- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Collect info
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
Discussions
Discussions
Forums
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
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
тАО11-14-2007 07:15 PM
тАО11-14-2007 07:15 PM
Collect info
I want to collect some information from Linux server
#uname -a is giving the bellow o/p
Linux xxxx.xxx.xxx 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386 GNU/Linux
#
Information needed are
1 --> How many lan card are there in server(total #)
2 --> How many fiber cards are there in server
3 --> how many power source is there and all are working fine or not?
I donтАЩt have physical access to server / no console or management port available...
Could any one help how to get this information from OS with root login
Thanks in advance
Damu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2007 10:33 PM
тАО11-14-2007 10:33 PM
Re: Collect info
Try and see if cfg2html will give you what you need: download and install from www.cfg2html.com
It gives all kinds of OS and HW config info
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2007 10:51 PM
тАО11-14-2007 10:51 PM
Re: Collect info
You can use the cat, more, less, vi command(s) to view any file related to your requirements.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2007 07:29 PM
тАО11-17-2007 07:29 PM
Re: Collect info
1 --> How many lan card are there in server(total #)
ifconfig -a
2 --> How many fiber cards are there in server
3 --> how many power source is there and all are working fine or not?
For 2 and 3, AFAIK, you cannot fetch the info without drivers/modules from the hardware provider.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2007 10:09 AM
тАО12-28-2007 10:09 AM
Re: Collect info
Make use of /usr/sbin/lshw(lshw-2.05.01-1.0.el2.rf) .
Interms of identifying the power source.
i would recommend to looks at h/w wendor site( like ibm.com ,put the Xseries 346, 8840 model, they will display the std config) Normally the power sources are NOT customised..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2007 12:33 PM
тАО12-28-2007 12:33 PM
Re: Collect info
>>> how many power source is there and all are working fine or not?
Hardware vendors sometimes provides specific software to obtain this information.
You can check the output of "dmesg" to identify the number of HBAs. If you use qlogic for example you can also check /proc, like this example:
ls /proc/scsi/qla2xxx/
0 1
This server has 2 HBAs.
If the server is HP, you can use the "hpasmcli" tool, for example:
#hpasmcli
hpasmcli> show POWERSUPPLY
Power supply #1
Present : Yes
Redundant: Yes
Condition: Ok
Hotplug : Supported
Power supply #2
Present : Yes
Redundant: Yes
Condition: Ok
Hotplug : Supported
This is provided by hpasm package.