- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: script to check data
Operating System - Linux
1752808
Members
5531
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО08-31-2006 05:33 AM
тАО08-31-2006 05:33 AM
script to check data
Hi,
Somebody have a script to collect all volume data
used in a system HP-UX and all volume data avaiable?
Thanks for all,
Joel
Somebody have a script to collect all volume data
used in a system HP-UX and all volume data avaiable?
Thanks for all,
Joel
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2006 05:48 AM
тАО08-31-2006 05:48 AM
Re: script to check data
Bill McNamara started a collection of scripts some while back. This thread is the third of three filled with all kinds of sysadmin scripts and contains URLs for the other two. Perhaps you can find something that suits your need in Bill's collection.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=51050
Pete
Pete
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=51050
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2006 05:52 AM
тАО08-31-2006 05:52 AM
Re: script to check data
Hi Joel,
# cat storagerept.sh
#!/usr/bin/sh
echo "*** VOLUME GROUPS ON $(hostname) ****"
for vg in $(ls -d /dev/vg*)
do
vgdisplay -v ${vg}
done
echo "*** LOGICAL VOLUMES ON $(hostname) ****"
for lv in $(ls -d /dev/vg*/lv*)
do
lvdisplay -v ${lv}
done
echo "*** PHYSICAL VOLUMES ON $(hostname) ****"
for pv in $(ls -d /dev/dsk/*)
do
pvdisplay -v ${pv}
done
echo "*** lvmtab ON $(hostname) ****"
strings /etc/lvmtab
exit
# ./storagerept.sh > /home/root/documents/storagerept.text
PCS
# cat storagerept.sh
#!/usr/bin/sh
echo "*** VOLUME GROUPS ON $(hostname) ****"
for vg in $(ls -d /dev/vg*)
do
vgdisplay -v ${vg}
done
echo "*** LOGICAL VOLUMES ON $(hostname) ****"
for lv in $(ls -d /dev/vg*/lv*)
do
lvdisplay -v ${lv}
done
echo "*** PHYSICAL VOLUMES ON $(hostname) ****"
for pv in $(ls -d /dev/dsk/*)
do
pvdisplay -v ${pv}
done
echo "*** lvmtab ON $(hostname) ****"
strings /etc/lvmtab
exit
# ./storagerept.sh > /home/root/documents/storagerept.text
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2006 09:23 PM
тАО08-31-2006 09:23 PM
Re: script to check data
Hi,
Thanks for your time but, qwjat I need it's some strong script to calculate or to report data to put in xls file. I will create one and post for everyone ok?
Thanks for all,
Joel
Thanks for your time but, qwjat I need it's some strong script to calculate or to report data to put in xls file. I will create one and post for everyone ok?
Thanks for all,
Joel
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP