proc SaveCaptureFiles {serverFilePath} { # serverFilePath: This is just a temp subdirectory. # You have to know what subdirectory that you created in order to copy the file # out of the Linux API server. # Note: # saveCaptureFiles is for Linux API server # saveCapture is for Windows # # ::ixNet::OK-{kArray,{{kString,c:\Results\Port2_HW.cap},{kString,c:\Results\Port2_SW.cap}}} # ::ixNet::OK-{kArray,{{kString,captures/packetCapture/port2_HW.cap},{kString,captures/packetCapture/port2_SW.cap}}} puts "Saving capture file ..." # -strip will make it into a list return [ixNet -strip execute saveCaptureFiles $serverFilePath] }