PowerGod
Forum Addict!
- Joined
- Jun 20, 2011
- Messages
- 4,593
How can I find the version of Pandora with a bash script ?
I started searching the total RAM, and if it has more then 256 Mb then it's not a Classic one
if [ $(free -m | grep -e "^Mem:" | awk '{ print $2 }') > 256 ]; then echo "Pandora Rebirth OR Pandora 1 Ghz"; else echo "Pandora Classic"; fi But what can I search to know if it is a 1 Ghz ?
Is reported somewhere the CPU used ? Or maybe I can look at some other parameter ?
				
			I started searching the total RAM, and if it has more then 256 Mb then it's not a Classic one
if [ $(free -m | grep -e "^Mem:" | awk '{ print $2 }') > 256 ]; then echo "Pandora Rebirth OR Pandora 1 Ghz"; else echo "Pandora Classic"; fi But what can I search to know if it is a 1 Ghz ?
Is reported somewhere the CPU used ? Or maybe I can look at some other parameter ?
			
				Last edited by a moderator: 
			
		
	
								
								
									
	
								
							
							 
	
 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		