Tuesday, December 17, 2013

Script to Display the Information for Each Processor

www.unixbabuforum.inI need to complete my script by the following needs : 

# lsdev -Cc processor 
proc0 Available 00-00 Processor 
proc4 Available 00-04 Processor 

Know each processor, should be a parameters for the following command : 
# lsattr -E -l proc(O / A / 2 and so on) 

How to do that !? 

www.unixbabuforum.inTry this:
for i in `lsdev -Cc processor | awk '{print $1}'` 
echo "******\n" 
echo $i 
lsattr -El $i 
echo "\n" 


Post a Comment

Design by BABU | Dedicated to grandfather | welcome to BABU-UNIX-FORUM