使用计划任务启动和停止nmcap [英] Starting and stopping nmcap with Scheduled Task

查看:120
本文介绍了使用计划任务启动和停止nmcap的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个运行nmcap的计划任务,因此我可以在注销后继续捕获运行。问题是使用End命令停止Task似乎会导致nmcap停止而不正确关闭.cap文件。捕获.cap文件具有显着的
大小,但是当尝试打开cap文件时,我收到消息 - 无法打开...捕获文件没有任何框架

I have created a scheduled Task to run nmcap so I can keep capturing running after I log off. The problem is that stopping the Task using the End command seems to cause nmcap to stop without closing the .cap file correctly. The capture .cap file has significant size but when trying to open the cap file I get the message - Unable to open ... The capture file does not have any frames.

有没有人知道对此的解决方法?我需要让nmcap运行一两个星期。我使用文件链接来生成许多可读的封面文件,但在结束任务时不会生成当前活动文件。

Does anyone know of a workaround to this? I need to have nmcap running for a week or two. I use file chainining which will produce many cap files that are readable but not the current active file at the time of ending the task.

谢谢,

-Wes

推荐答案

嗨Wes,

您的nmcap命令当前是否正在进行任何过滤这只是你手动结束任务吗? 正如您可以在向命令标记时添加停止然后ping机器以停止它(请参阅Paul的博客上的介绍文章

here
)或者让它运行两周。

Is your nmcap command doing any filtering currently and is this just you manually ending the task?  As you could add a stop when flag to the command and then ping the machine to stop it instead (see an intro article on Paul's blog here) or just have it run for two weeks.

谢谢,


这篇关于使用计划任务启动和停止nmcap的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆