Sponsored Content
Operating Systems AIX i-nodes - out of disk space on /tmp Post 302253769 by bblondin on Sunday 2nd of November 2008 10:02:20 AM
Old 11-02-2008
Yes, you are correct the jobs do issue "rm -rf " to clean out /tmp when they are done.

Unfortunately I have already rebooted all of these systems today, so “fuser” returned nothing.

I would have to assume that running “fuser” would return many processes still active.

Perhaps I'll have to write a script to terminate these processes, or tell the software developer to “fix” their code Smilie

Thanks for the help!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

monitoring /tmp and /var/tmp for suspicous activity

Hello, does anyone have a script that can check the contents of the /tmp directory and for example e-mail the directory content if anything other than session files are present? Maybe there are better ways to monitor suspicous /tmp and /var/tmp activity, if so I'm listening :) (1 Reply)
Discussion started by: jamesbond
1 Replies

2. UNIX for Dummies Questions & Answers

available disk space on disk device???

Hello, Can someone please tell me which command to use to determine the available disk space on a given disk device? I have to write a shell script that compresses files and stores them in a specific location but I am not sure how "conservative" I should be? Thanks in advance! Al. (4 Replies)
Discussion started by: alan
4 Replies

3. Solaris

/tmp: File system full, swap space limit exceeded

Can you help. My server sunning solaris 9 on x86 platform pretty much hung for a few hours... I could not use telnet or ssh to the box - it kept refusing connection. A few hours later - I was able to log in again. The server has not rebooted but here are the first errors in the messages log... (5 Replies)
Discussion started by: frustrated1
5 Replies

4. Shell Programming and Scripting

/tmp out of space error

Hi , I am a documentum consultant and facing a problem with a shell script that launches an installer to install documentum . The problem i am facing is that , when i invoke the below script to install the software it says - The directory /tmp does not contain enough space to extract... (1 Reply)
Discussion started by: h.shergill
1 Replies

5. Shell Programming and Scripting

Disk Space

HI ... I am New to the Unix...I am trying to write a script to check the disk space. But i am not able to write it. I know the command to check the disk space df -k,but unable to write the script..Can any body help me... Thanks in advance... (3 Replies)
Discussion started by: Kingkon
3 Replies

6. Shell Programming and Scripting

Disk Space

Hi Guys i have a nice little piece of code then i need to modify so that is does not look at /Voulmes/* thanks sub disk_full { my $i = 0; open( DF, "df -l|" ); while (<DF>) { #chomp(); next if (/^\/proc\b/); $i++; next if ( $i == 1 ); ... (3 Replies)
Discussion started by: ab52
3 Replies

7. Shell Programming and Scripting

disk space

Hi, I am new to shell scripting, and want to monitor disk space using shell script continously on server, which will shoot mail after crossing threshold limit Please suggest. Regards Manoj (1 Reply)
Discussion started by: manoj.solaris
1 Replies

8. Solaris

Process holding /tmp space, need to know the process details

Hi , In a server /tmp has almost reached 75% and i can see the File system utilization is 48Mb only , so i believe some process is using the /tmp space. I would like to know which process is using /tmp space. # df -h /tmp Filesystem size used avail capacity Mounted on swap ... (9 Replies)
Discussion started by: chidori
9 Replies

9. Solaris

How to use space in /tmp to increase root?

Hello All, I have solaris server running, uname -a SunOS host 5.9 Generic_112233-12 sun4u sparc SUNW,Sun-Fire-280R Filesystem Size Used Available Capacity Mounted on /dev/md/dsk/d0 9.8G 8.7G 1.0G 90% / /dev/dsk/c1t1d0s3 4.3G 7.7M 4.2G ... (17 Replies)
Discussion started by: gull05
17 Replies

10. UNIX for Advanced & Expert Users

The disk drive for /tmp is not ready yet or not present && the disk drive for /boot is not ready yet

Hi Team when I boot the server I get this 2 errors : the disk drive for /tmp is not ready yet or not present the disk drive for /boot is not ready yet or not present and its stay like that , I m using Ubuntu 12.04 please if someone have any idea how to fix that problem . (1 Reply)
Discussion started by: SULTAN01
1 Replies
fuser(1M)																 fuser(1M)

NAME
fuser - list processes using a file or file structure SYNOPSIS
file ... file ...] ... DESCRIPTION
The command lists the process IDs of processes that have each specified file open. For block special devices, all processes using any file on that device are listed. The process ID may be followed by a letter, identifying how the file is being used, as follows: file is current directory of the process. file is the root directory of the process, as set up by the command (see chroot(1M)). The process has file open. The process has file memory mapped. file is the text file of the process. The process IDs associated with each file are printed to standard output as a single line separated by spaces and terminated with a single newline. All other output -- the file name, the letter, and the user name -- is written to standard error. Options has the following options: Display the use of a mount point and any file beneath that mount point. Each file must be a file system mount point. Display the use of the named file only, not the files beneath it if it is a mounted file system. This is the default. Display the login user name in parentheses following each process ID. Send the signal to each process using each file. You must have appropriate privileges to kill processes that you do not own. You can respecify options between groups of files. The new set of options replaces the old set. A dash by itself cancels all options cur- rently in force. Operands has the following operand: file One of the following values: o With the option, the name of a file. o With the option, the name of a mounted file system or special file. o With the option, the name of a file system mount point. NETWORKING FEATURES
You can use with NFS file systems or files. If the file name is in the format used in to identify an NFS file system, treats the NFS file system as a block special device and identifies any process using that file system. If contact with an NFS file system is lost, fails, since contact is required to obtain the file system identification. Once the NFS file system is recontacted, stale file handles from the previous contact can be identified, provided that the NFS file system has the same file system identification. EXAMPLES
Terminate all processes that are preventing disk drive 1 from being unmounted, listing the process ID and login name of each process being killed. List process IDs and login names of processes that have the password file open. Combine both the above examples into a single command line. If the device is mounted on directory list the process IDs and login names of processes using the device. Alternately, if is the mount point for an NFS file system, list process IDs and login names of processes using that NFS file system. If is an NFS file system, list all processes using any file on that file system. If it is not an NFS file system, treat it as a regular file. SEE ALSO
ps(1), mount(1M), kill(2), signal(2). STANDARDS CONFORMANCE
fuser(1M)
All times are GMT -4. The time now is 09:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy