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
05-16-2002 06:10 PM
05-16-2002 06:10 PM
shell
model k370
version 11.0
CPU xxxMhz , -2-EA running
MEM xxGB
HDD total xxxGB
internal xxxGB
external XXX GB
Used xxx GB
Could you help me?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 06:15 PM
05-16-2002 06:15 PM
Re: shell
I believe you are asking for shell scripts that will return you system configuration information as you listed.
Following link contains a number of useful scripts that perform what you require (look at bottom of page):
http://www.introcomp.co.uk/examples/
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 06:21 PM
05-16-2002 06:21 PM
Re: shell
In particular, look at collect.sh. Other scripts are also available.
More information can also be found in the following thread:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xb6f35e938a10d6118ff40090279cd0f9,00.html
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 06:27 PM
05-16-2002 06:27 PM
Re: shell
You can get most of this information from your ignite manifest file:
/var/opt/ignite/manifest/manifest
I have another script provided by HP that you could use. If you have a support contract I can provide it. Let me know.
Cheers
~Michael~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 09:14 PM
05-16-2002 09:14 PM
Re: shell
I will provide half of the information. It's real simple..
#!/usr/bin/ksh
MODEL=`model|awk '{FS="/";print $3}'`
VER=`uname -r`
SPEED=`echo itick_per_tick/D | adb -k /stand/vmunix /dev/kmem | tail -1 |awk '{p
rint $2 / 10000}'`
MEM=`echo 'phys_mem_pages/D'| adb -k /stand/vmunix /dev/kmem | tail -1 |awk '{pr
intf ( "%.2f", $2 * 4096 / 1000000000 ) }'`
PROC=`echo 'processor_count/D' | adb -k /stand/vmunix /dev/kmem |tail -1 |awk '{
print $2}'`
echo MODEL: $MODEL
echo VERSION: $VER
echo CPU: $SPEED Mhz, - $PROC running
echo MEM: $MEM GB
About the disk information, I will give you some hints so that you can get it on your own.
1. Get the disks from ioscan -fnC disk
2. Do a diskinfo on each of the disk and add them all together to get total HDD
3. Do a vgdisplay and get the volume groups
4. For each volume group do a vgdisplay and get PE size, total PE Alloc PE.
total PE * Alloc PE gives you used disk.
It is difficult (but possible) to differentiate between internal and external disks.
You can use all the above scripts plus the above to get what you want.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 11:30 PM
05-16-2002 11:30 PM
Re: shell
cfg2html - it creates ascii and html files containing details of system configuration, disk usage etc.
It is available at
http://members.tripod.com/rose_swe/cfg/cfg.html
HTH
John