The version is: 9.2.1 and i execute the script in CLI mode.
> > On Thu, Mar 7, 2013 at 8:27 PM, Jason Hebron <[email protected]> > > wrote: > > > >> Can you update the email with Version of Spectrum and confirm if its a > >> front end back end please > >> > >> > >> On 8 March 2013 12:44, Fereydoon Mallahi Karai <[email protected]> > >> wrote: > >> > >>> 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] > >>> the body: unsubscribe spectrum [email protected] > >>> > >>> > >> > > > --- To unsubscribe from spectrum, send email to [email protected] with the body: unsubscribe spectrum [email protected]
