On z/OS 2.1 or later, you can use this command: zlsof -d /tmp
Other commands and suggestions for managing /tmp can be found here: http://dovetail.com/docs/pt-quick-inst/pto-inst-tmp.html Kirk Wolf Dovetailed Technologies http://dovetail.com On Mon, Jun 13, 2016 at 2:03 AM, Peter Hunkeler <[email protected]> wrote: > > >I'd try the UNIX command, "ls -alrt /tmp", which would show timestamps, > >user IDs, and file sizes. It's at least a good start. Automate with > BPXBATCH > >or BPXWUNIX. > > > > > That would not show files that have been unlinked but are still in use > (open). I understand it is quite common for temporary files: OPEN (create > mode), UNLINK, WRITE & READ to and from file, CLOSE. > > > The temporary file will be deleted a CLOSE time. In the case of unnormal > end, the kernel will CLOSE the file, thus the file will be deleted also in > that case. No zombie file left behind. > > > "ls" will not show this file. > > > "fsinuse" will show processes that use files in a specific directoy, but > /tmp might be used by many. So, how do you indentify the one eating up all > space? > > > -- > Peter Hunkeler > > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
