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 DEBIAN
ql-dynamic-tgt-lun-disc
ql-dynamic-tgt-disc(8) System Administration ql-dynamic-tgt-disc(8)
NAME
ql-dynamic-tgt-lun-disc - Scans for newly added LUNs.
SYNOPSIS
ql-dynamic-tgt-lun-disc [OPTIONS]
DESCRIPTION
Dynamic TGT-LUN Discovery Utility
This utility scans for newly added LUNs. After adding new LUNs, you do not need to unload, then load the QLogic FC driver or reboot the
system
To begin scanning the LUNs issue following command:
# /usr/sbin/ql-dynamic-tgt-lun-disc
-al, --allow-lip
LIP is not issued by default, even if it is required for scanning new LUNs Setting this option, allows the utility to issue LIP.
-cl, --current-luns
Displays LUNS currently present
-e, --extended-scan
Use this option as "-e | --extended-scan". to rescan LUNs. This will identify any change in attributes of existing LUNs. This option
can be used in combination of scan/refresh or max luns
-h, --help, ?
Prints this help message
-i, --interactive
Use this option to use the menu driven program
-is, --iscsi
Use this option to operate on ISCSI HBAs, this option can be used in combination of any other supported option.
-m, --max-lun
To set the maximum LUNs to be scanned
-p, --proc
Use PROC file system for LUN scanning
-r, --refresh
To refresh, that is remove LUNs that are lost use the options "-r|--refresh". This will remove the LUNs which no more exist.
-s, --scan [ -r|--refresh ]
The QLogic LUN scan utility re-scans all the devices connected to the QLogic HBA
SEE ALSO
ql-lun-state-online(8), ql-hba-snapshot(8), ql-set-cmd-timeout(8)
Matthias Schmitz <matthias@sigxcpu.org> July 2009 ql-dynamic-tgt-disc(8)