[Xymon] What are these old *.tmp.<pid> files?

Novosielski, Ryan novosirj at umdnj.edu
Thu Jan 10 00:27:40 CET 2013


Pretty sure all of those came from external tests you've added. They are supposed to handle their own mess. I have some of the same so I suspect a bug in the external script.



From: Mills, David (IS) [mailto:David.Mills at ngc.com]
Sent: Wednesday, January 09, 2013 05:48 PM
To: xymon at xymon.com <xymon at xymon.com>
Subject: [Xymon] What are these old *.tmp.<pid> files?

All –

Hi!

In poking around in my client tmp directory, I see lots of files like this:

-rw-r--r--   1 hobbit   monitor      10K Jun  6  2012 /home/hobbit/tmp/dwbu005.prtdiag.tmp.5719
-rw-r--r--   1 hobbit   monitor     5.3K Jun  6  2012 /home/hobbit/tmp/dwbu002.prtdiag.tmp.24625
-rw-r--r--   1 hobbit   monitor     5.3K Jun  6  2012 /home/hobbit/tmp/dwbu002.prtdiag.tmp.4496
-rw-r--r--   1 hobbit   monitor      10K Jun  6  2012 /home/hobbit/tmp/dwbu005.prtdiag.tmp.27931
-rw-r--r--   1 hobbit   monitor     5.3K Jun  4  2012 /home/hobbit/tmp/dwbu007.prtdiag.tmp.4316
-rw-r--r--   1 hobbit   monitor     5.3K Jun  1  2012 /home/hobbit/tmp/dwbu007.prtdiag.tmp.21618
-rw-r--r--   1 hobbit   monitor      10K May 31  2012 /home/hobbit/tmp/dwbu005.prtdiag.tmp.9044

I also see a sprinkling of files like this:

-rw-r--r--   1 hobbit   monitor      951 Nov 13 15:47 /home/hobbit/tmp/dwbu001.iostat.vmstat.log.13964
-rw-r--r--   1 hobbit   monitor       34 Nov 13 15:47 /home/hobbit/tmp/dwbu002.sar.tmp
-rw-r--r--   1 hobbit   monitor       34 Nov 13 15:47 /home/hobbit/tmp/dwbu001.sar.tmp
-rw-r--r--   1 hobbit   monitor        0 Nov 13 15:47 /home/hobbit/tmp/dwbu001.iostat.vmstat.error.13964
-rw-r--r--   1 hobbit   monitor        0 Nov 13 15:47 /home/hobbit/tmp/dwbu001.iostat
-rw-r--r--   1 hobbit   monitor       13 Nov 13 15:47 /home/hobbit/tmp/dwbu001.tm.tmp.dwbu001
-rw-r--r--   1 hobbit   monitor       13 Nov 13 15:46 /home/hobbit/tmp/dwbu002.tm.tmp.dwbu002

Obviously these are temporary client data files, but the question is why didn’t they get removed? What mechanism does Xymon have for cleaning up these kinds of files?

Thanks!

david

~~~~~~~~~~~~~~~~~~~
David Mills
Systems Administrator
Northrop Grumman
512-595-1238
david.mills at ngc.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130109/ec6ae18f/attachment.html>


More information about the Xymon mailing list