Oh...I forgot the mention that skulker is in /samples, and not marked as executable so I wrote a SMPE usermod that copies it from there to /usr/sbin.
Here is the source to build that usermod to then be applied if you are interested (or anyone else) //XXXXXXXE JOB (DP,8710),'MBPX001BUILD',CLASS=X,MSGCLASS=T, // NOTIFY=XXXXXXX //HEADER EXEC PGM=IEBGENER //SYSUT1 DD DATA,DLM=$$ //XXXXXXXE JOB (DP,8710),'MBPX001',CLASS=X,MSGCLASS=T, // NOTIFY=XXXXXXX //PROCLIB JCLLIB ORDER=(XXXXXXX.SMPE.ZOS24.CLONE.JCL.PROCLIB) //SMPAPPLY EXEC SMPE //SMPHOLD DD DUMMY //SYSIN DD * SET BDY(GLOBAL) . RECEIVE S(MBPX001) SYSMODS BYPASS(APPCHK). SET BDY(MVSTZN). APPLY S(MBPX001) REDO. UCLIN . REP HFS(FSUMUSKL) RMID(MBPX001). ENDUCL . /* //* RESTORE S(MBPX001) . //* REJECT S(MBPX001) BYPASS(APPCHK). //SMPPTFIN DD DATA,DLM=ZZ ++ USERMOD (MBPX001) /* Install IBM sample for SKULKER into /usr/sbin */. ++ VER (Z038) FMID(HOT77C0) /* USERMOD DESCRIPTION(S): MBPX001 - **************************************************************** * WARNING: DO NOT modify this usermod. It is created and * * built in SMPE.ZOS24.USERMODS.BUILD * **************************************************************** * USERMOD DESCRIPTION: There are no changes made to the * * skulker shell script from /samples. This usermod copies * * it into /usr/sbin for execution. * * Skulker is being used to keep /tmp cleaned out on all * * systems and is scheduled to run daily from cron. * **************************************************************** */. ++ HFS (MBPX001A) /* /samples/skulker */ DISTLIB (AFOMHFS) SYSLIB (SFSUSBIN) PARM (PATHMODE(0,7,5,5)) LINK ('../skulker') TEXT . $$ //SYSUT2 DD DSN=&&TEMP,DISP=(NEW,PASS),RECFM=FB,LRECL=80, // BLKSIZE=0,SPACE=(TRK,16) //SYSPRINT DD SYSOUT=* //SYSIN DD DUMMY //SKULKER EXEC PGM=GIMDTS //SYSPRINT DD SYSOUT=* //SYSUT1 DD PATH='/RSM01A/samples/skulker', // PATHDISP=KEEP, // PATHOPTS=ORDONLY,FILEDATA=TEXT, // RECFM=FB,LRECL=255,BLKSIZE=0 //SYSUT2 DD DSN=&&TEMP,DISP=(MOD,PASS) //END EXEC PGM=IEBGENER //SYSUT1 DD DATA,DLM=$$ ZZ // $$ //SYSUT2 DD DSN=&&TEMP,DISP=(MOD,PASS) //SYSPRINT DD SYSOUT=* //SYSIN DD DUMMY //SAVEIT EXEC PGM=IEBGENER //SYSUT1 DD DSN=&&TEMP,DISP=(MOD,PASS) //SYSUT2 DD DSN=SMPE.ZOS24.USERMODS(MBPX001),DISP=SHR //SYSPRINT DD SYSOUT=* //SYSIN DD DUMMY _____________________________________________________________________________________________________ Dave Jousma AVP | Manager, Systems Engineering Fifth Third Bank | 1830 East Paris Ave, SE | MD RSCB2H | Grand Rapids, MI 49546 616.653.8429 | fax: 616.653.2717 -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Jousma, David Sent: Tuesday, June 2, 2020 10:16 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Extending the /tmp file system **CAUTION EXTERNAL EMAIL** **DO NOT open attachments or click on links from unknown senders or unexpected emails** Gadi, If you are running low on space, you might also look at running the skulker shell script that IBM supplies. I have a minimally configured CRON schedule that runs a few housekeeping scripts. We also converted /tmp from a TFS to a real filesystem a couple years ago. First is to touch certain files created at IPL that never get their last used date/time updated, but if they disappear cause a problem. !/bin/sh filetouch resets last access date/time on in process files in /tmp so that skulker does not delete them for inactivity. touch -c /tmp/dpi_socket touch -c /tmp/omproute.stderr touch -c /tmp/omproute.stdout touch -c /tmp/pagent.pid touch -c /tmp/pagent.log touch -c /tmp/pagent.log1 touch -c /tmp/pagent.log2 touch -c /tmp/sshd.stderr touch -c /tmp/unix.str touch -c /tmp/CAZLCS01 touch -c /tmp/EQACMINT touch -c /tmp/FMNCAS-IPVCERT.kdb touch -c /tmp/FMNCSEP touch -c /tmp/IDIGMAIN touch -c /tmp/IPVVRFY Then I run via CRON 00 0 1 * * mv /var/spool/cron/skulker.log /var/spool/cron/skulker.log.old 01 0 * * * /shared/etc/filetouch 10 0 * * * /usr/sbin/skulker -R -l /var/spool/cron/skulker.log /tmp/ 3 _____________________________________________________________________________________________________ Dave Jousma AVP | Manager, Systems Engineering Fifth Third Bank | 1830 East Paris Ave, SE | MD RSCB2H | Grand Rapids, MI 49546 616.653.8429 | fax: 616.653.2717 -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Gadi Ben-Avi Sent: Tuesday, June 2, 2020 9:27 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Extending the /tmp file system **CAUTION EXTERNAL EMAIL** **DO NOT open attachments or click on links from unknown senders or unexpected emails** Hi, Is it possible to extend the /tmp file system without an IPL? It's currently defined as: MOUNT FILESYSTEM('/tmp') MOUNTPOINT('/tmp') TYPE(TFS) MODE(RDWR) PARM('-s 100') We are running z/OS v2.2 Thanks Gadi ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN **CAUTION EXTERNAL EMAIL** **DO NOT open attachments or click on links from unknown senders or unexpected emails** This e-mail transmission contains information that is confidential and may be privileged. It is intended only for the addressee(s) named above. If you receive this e-mail in error, please do not read, copy or disseminate it in any manner. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of this information is prohibited. Please reply to the message immediately by informing the sender that the message was misdirected. After replying, please erase it from your computer system. Your assistance in correcting this error is appreciated. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN **CAUTION EXTERNAL EMAIL** **DO NOT open attachments or click on links from unknown senders or unexpected emails** This e-mail transmission contains information that is confidential and may be privileged. It is intended only for the addressee(s) named above. If you receive this e-mail in error, please do not read, copy or disseminate it in any manner. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of this information is prohibited. Please reply to the message immediately by informing the sender that the message was misdirected. After replying, please erase it from your computer system. Your assistance in correcting this error is appreciated. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN