View Single Post
Old 15th November 2011, 17:50
nbhadauria nbhadauria is offline
Join Date: Aug 2010
Location: New Delhi, India
Posts: 79
Thanks: 1
Thanked 13 Times in 13 Posts
Send a message via Skype™ to nbhadauria

hi carlosinfl ,

you wouldn't be needed to create a script for this just use this command and pipe it to a file and mail..

/opt/rational/base/cots/flexlm.11.8/i386_linux2/lmstat -a > lmstat`date +%F_%T`.txt; mutt -s "Output of the Command" -a lmstat`date +%F_%T`.txt

and the mail will be send to you at you just need to make sure that your server can send the mail to your id..
Reply With Quote