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

Clark, Sean sean.clark at twcable.com
Fri Jan 11 18:10:08 CET 2013


Those look to be outside of the core "xymon" distribution – they are ext scripts that would manage the deletion of those files
I would check the ext dir for bb-prtdiag.sh and sar.sh  which look like the likely culprits, and make sure they are removing their temp files


From: <Mills>, "David (IS)" <David.Mills at ngc.com<mailto:David.Mills at ngc.com>>
Date: Wednesday, January 9, 2013 5:48 PM
To: "xymon at xymon.com<mailto:xymon at xymon.com>" <xymon at xymon.com<mailto: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<mailto:david.mills at ngc.com>




________________________________
This E-mail and any of its attachments may contain Time Warner Cable proprietary information, which is privileged, confidential, or subject to copyright belonging to Time Warner Cable. This E-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this E-mail, you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to this E-mail is strictly prohibited and may be unlawful. If you have received this E-mail in error, please notify the sender immediately and permanently delete the original and any copy of this E-mail and any printout.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130111/9bf02dda/attachment.html>


More information about the Xymon mailing list