Hi, I have created this script to add the "owner" field of "Asset Information" for a number of devices (MALC). I put the model names in a file named ensh1 in /tmp folder and this scrip updates the "owner" fields of Asset information attribute of the mentioned models but the problem is that every time i execute this script, the size of memory that spectrum has occupied (VIRT) gets increased and has not been released until i restart the spectrum. I will appreciate if you help me to solve my script problem.
Thank you. Fereydoon ---------------------------------------- -sh-3.2$ cat mlkens rm /tmp/mh1 ./connect string=`cat /tmp/ensh1` for h1 in $string do ./show models mname=$h1 |grep Zhone_MALC |cut -f1 -d " " > /tmp/mh1 mh2=`cat /tmp/mh1` ./update mh=$mh2 attr=0x12bfd,val="IP_Team" done -------------------------------------- --- To unsubscribe from spectrum, send email to [email protected] with the body: unsubscribe spectrum [email protected]
