×

Loading...
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务

it's hard to tell by checking file properties becuase most of the files created in WINNT\TEMP directory are created by administrator.

He is talking about identifying the application rather than the user id.

If the application does not designate a specific user id to run under, checking file properties does not help to identify the process or application which creates these files.

If the application is capable to assign a user id to run under. He can create a user id with appropriate authorities.

Also bear in mind that these tmp files are not all the time in use by the application that creates them. Using a scheduled job to clear the tmp directory on a regular basis will keep your system drive at safe level of free disk space.

Also he can check the individual applications to see if the log direcory or log level can be changed.

Redirecting the log directory to some larger data disk may give the system disk some level of safe regading the file system free space.
Report

Replies, comments and Discussions:

  • 工作学习 / IT技术讨论 / NT DX, 请推荐NT下的系统性能和文件操作监视工具?  
    我们公司网站用的是NT+IIS+coldfusion+SQL SERVER+outside in,
    时常会因为资源耗尽而死机,而WINNT目录下常常莫名其妙的增加一万多个
    临时文件.有什么工具软件能让我将系统里每个进程消耗系统资源(CPU TIME,MEMORY等)
    的情况记录在日志文件或系统EVENT里面.
    另外有什么工具可以监视某个目录底下文件是被那个进程操作过,换句话说,我想监视那个
    进程在什么时候在c:\winnt下创建了Patten是tmp*.*的文件.

    多谢DX们指点!
    • 不会吧?
      我在学校跑Intranet用的是Win2k Server + IIS 5 + Cold Fusion 5 + Jrun 3.02 + Access XP, 但是WINNT底下从来都没有tmp的File。
      你可以看的见File的内容吗?
    • Get filemon and a lot other very useful utilities from Mark Russinovich's Sysinternals site.
      • i forgot to mention another software, outside in server. The problem is i don't know who produce those tmpfiles, usually they are only 3 bytes.
      • yes, there are a number of utilities on sysinternals, but none of them can tell me which process generate those tmp files.
        • With NT, you can see who creates the files. It should has a create by properties, at least win2k has it. If so, you may know whether it's the web (ISUSER) or system that's creating them.
          • it's hard to tell by checking file properties becuase most of the files created in WINNT\TEMP directory are created by administrator.
            He is talking about identifying the application rather than the user id.

            If the application does not designate a specific user id to run under, checking file properties does not help to identify the process or application which creates these files.

            If the application is capable to assign a user id to run under. He can create a user id with appropriate authorities.

            Also bear in mind that these tmp files are not all the time in use by the application that creates them. Using a scheduled job to clear the tmp directory on a regular basis will keep your system drive at safe level of free disk space.

            Also he can check the individual applications to see if the log direcory or log level can be changed.

            Redirecting the log directory to some larger data disk may give the system disk some level of safe regading the file system free space.
          • Nope. if you are not log in and only the web server is running, those files can't be created by administrator!!
          • smartiecat, 我想知道的是哪个进程(process)创建了文件
        • Why can't you use filemon to find out which process generate those tmp files? You have to do it in real time to catch the process right?
        • Can you use WINNT file Auditing to log it?