HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: script to check data
Operating System - Linux
        1839829
        Members
    
    
        3127
        Online
    
    
        110156
        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
Forums
Discussions
Discussions
Discussions
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
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.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP
