10-27-2013
Identify process/file relationship
Hey guys. So, I've got an issue on my Debian box.
Problem is I ran out of disc space as a process (?) has been creating millions of folders in one place which has led to me having 0 bytes of free space and started messing with my ability to get online, I believe this is to do with INODES?
I found the folder responsible and am currently deleting the contents, takes some time to properly overwite it.
What I need to know is how to find which process is writing or creating entries to prevent it happening again.
The entries are in .zip format.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need to write a script to monitor user processes that revert to parent process id = 1
I can do this with a grep " 1 " or awk and evaluation.
but
Is there a switch on the ps command or another command to specify parent id on proccesses?
I tried ps with the -p ppid=nnnnn but it... (6 Replies)
Discussion started by: MizzGail
6 Replies
2. UNIX for Dummies Questions & Answers
i want a command to display all the process running for partical user and in all process i want to see only particular process details.. pls suggest comand like ps -ef (1 Reply)
Discussion started by: Babu154
1 Replies
3. Solaris
I've been seeing outgoing TCP connections on a SPARC Solaris 10 box, that look like these in the output of netstat:
xxxx.46396 ipXXXXXX.speed.planet.nl.telnet 8192 0 49664 0 TIME_WAIT
They come and go and sometimes last for hours.
I am looking for owners of active,... (1 Reply)
Discussion started by: cozzamara
1 Replies
4. UNIX for Advanced & Expert Users
Guys,
Is there any UNIX command that captures the 'Unix process which is performing high disk I/O reads and writes'.
can you help me in this?
-Swamy (6 Replies)
Discussion started by: avsswamy
6 Replies
5. Shell Programming and Scripting
I have this shell script and in case the sybase process is been killed how can identify whether the process was killed or not, as the error code always returns 0.
#!/bin/sh
isql -S SERVER -U user -P pass<<TOP
select * from tableName
go
TOP
echo $? (2 Replies)
Discussion started by: dinjo_jo
2 Replies
6. HP-UX
Hi,
I'm seeing the error vmunix: file: table is full in syslog.log.
Although changing the value of the kernel parameter nfile would make this error go away, how would I identify which process/application in the server is triggering this error? The server is a HP-UX B.11.11.
Thanks in advance! (1 Reply)
Discussion started by: enchogas
1 Replies
7. UNIX for Dummies Questions & Answers
if a particular log file logs different processes with their process ids and their paths and one of the process in particular is getting hung up while trying to perform a loop, how to identify which process is that and kill it (1 Reply)
Discussion started by: praveenveerla
1 Replies
8. Shell Programming and Scripting
There are some ksh files named as "*.lib" in my system. When I open them in VIM, vim syntax can't parse it correctly.
Is there a way that I can relate the *.lib with KSH syntax in VIM?
Due to access limitation, i can only update the files under my home directory and can't modify the VIM... (6 Replies)
Discussion started by: sleepy_11
6 Replies
9. UNIX for Dummies Questions & Answers
Hi, how do you identify if a java process is running in Unix? So for example if I have 8 JVM's running but I want to make sure one of them has definately stopped? (1 Reply)
Discussion started by: nosuchluck
1 Replies
10. Solaris
Hi,
I have a Solaris 10 system, which appears to be sending out LDAP queries to a server that is due to be decomissioned.
Is there a way to identify which process is sending out these queries? The problem is that the local port constantly changes, and the connections do not stay open long... (3 Replies)
Discussion started by: badoshi
3 Replies
LEARN ABOUT ULTRIX
quotacheck
quotacheck(8) System Manager's Manual quotacheck(8)
Name
quotacheck - file system quota consistency checker
Syntax
/etc/quotacheck [ -v ] [ -f ] filesystem ...
/etc/quotacheck [ -v ] -a
Description
The command examines each file system, builds a table of current disc usage, and compares this table against that stored in the disc quota
file for the file system. If detects any inconsistencies, it updates both the quota file and the current system copies of the incorrect
quotas. Inconsistencies occur only if an active file system is checked.
Normally, returns a warning if it cannot find a valid quota file. If you use the option, creates a quota file automatically and then per-
forms its normal functions.
If you use the flag in place of any file system name, checks all the file systems listed in to be read-write with disc quotas.
Normally reports only modified quotas. If the option is supplied, will indicate the calculated disc quotas for each user on a particular
file system.
The command expects each file system to be checked to have a quota file named in the root directory. If none is present, will ignore the
file system.
The command is normally run at boot time from the file, before enabling disc quotas with For further information, see
The command accesses the raw device in calculating the actual disc usage for each user. Thus, the file systems checked should be quiescent
while is running.
Files
Default file systems
See Also
quota(2), setquota(2), quotaon(8)
``Disk Quotas in a UNIX Environment,'' ULTRIX Supplementary Documents, Volume 3: System Manager
quotacheck(8)