HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- missing files
Operating System - HP-UX
1831351
Members
3033
Online
110024
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2008 08:32 PM
06-04-2008 08:32 PM
missing files
Hi gurus,
one of my customer is complaining that few files inside his directory are vanishing daily. For eg., /test is the filesystem and there were supposed to be a file for each day.but, unfortunatelt, old files are getting removed daily.Obviously, this would hv done by a housekeeping script or by some other jobs. My question is as a unix admin, how can I trace this directory? I mean, is there any way to check which are the processes accessing this directory or any other means to identify which application/process is removing the files?Thank you
one of my customer is complaining that few files inside his directory are vanishing daily. For eg., /test is the filesystem and there were supposed to be a file for each day.but, unfortunatelt, old files are getting removed daily.Obviously, this would hv done by a housekeeping script or by some other jobs. My question is as a unix admin, how can I trace this directory? I mean, is there any way to check which are the processes accessing this directory or any other means to identify which application/process is removing the files?Thank you
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2008 08:47 PM
06-04-2008 08:47 PM
Re: missing files
you can use lsof or tusc to trace like this.
a warrior never quits
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2008 09:07 PM
06-04-2008 09:07 PM
Re: missing files
Hi,
first you should check when do the files go away, once a day or more often?
Then relate the times with cron/at/batch jobs, especially of the affected user.
It may be also triggered via network origined by another host. ( ftp/scp / NFS /cifs ) Monitor network connections at that time.
Ask you Application support about appl. logic and process dependencies, process flows etc.
Then check each script if it works with the directory in question.
rgds
HGH
first you should check when do the files go away, once a day or more often?
Then relate the times with cron/at/batch jobs, especially of the affected user.
It may be also triggered via network origined by another host. ( ftp/scp / NFS /cifs ) Monitor network connections at that time.
Ask you Application support about appl. logic and process dependencies, process flows etc.
Then check each script if it works with the directory in question.
rgds
HGH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2008 09:43 PM
06-04-2008 09:43 PM
Re: missing files
"man 5 audit"?
[...]
delete Log all deletions of objects (files, directories,
other objects), [...]
modaccess Log all modifications other than DAC, including
chdir(2), chroot(2), link(2), lockf64(2),
newgrp(1), rename(2), setgid(2), setgroups(2),
setresgid(2), setresuid(2), setuid(2), shmctl(2),
shmdt(2), and unlink(2).
[...]
[...]
delete Log all deletions of objects (files, directories,
other objects), [...]
modaccess Log all modifications other than DAC, including
chdir(2), chroot(2), link(2), lockf64(2),
newgrp(1), rename(2), setgid(2), setgroups(2),
setresgid(2), setresuid(2), setuid(2), shmctl(2),
shmdt(2), and unlink(2).
[...]
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP