View Single Post
  #3  
Old 15th November 2011, 16:50
nbhadauria nbhadauria is offline
Member
 
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
Default

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 emailid@domain.com


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