Find hangs with automountd daemon running


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Find hangs with automountd daemon running
# 1  
Old 09-29-2010
Find hangs with automountd daemon running

Hi,

I am trying to find files with specific name using find / -name core -print..

this command is hanging and never completes as it is searching for all the automount filesystems ..i cant eliminate using "! -fstype nfs" as this is not a nfs filesystem

pls let me know if anyone know how to eliminate automount file systems while running find command..

rgds
shan

---------- Post updated at 09:54 AM ---------- Previous update was at 09:53 AM ----------

Operating system is AIX 5.3
# 2  
Old 09-29-2010
core file normally will be found at /var folder

so just cd to /var, and run the command:
Code:
cd /var
find . -name "*core*" -type f -print

# 3  
Old 09-29-2010
Unfortunately IBM AIX "find" doesn't have the "-local" switch.

No clear how these filesystems are mounted with the automounter without using NFS.
Can you tell from the "mount" command which filesystems are local and which are not? If so you could search each local filesystem with the "-xdev" switch set.


Reading between the lines, be very careful about deleting files called "core". Be sure to check the output of the "file" command to make sure that they are actually core dumps.
I have seen unix systems wrecked by blindly deleting everything called "core".
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

[Solved] Find command hangs my terminal session

Hello every one. I know little to nothing about AIX. Recently I have been assigned to an AIX project. For some reason or another the find command is hanging the server. Well it does not hand server per say, it just freezes my terminal session. after running find, I waited up to 40 min and... (3 Replies)
Discussion started by: busi386
3 Replies

2. Shell Programming and Scripting

While loop hangs in function running in background

Hello Everyone, I am writing a shell script to fetch log files from remote servers within a time range. It copies log files to local server, grep for date and then compares the time stamp of each log entry with the once specified. Below is the code. # Get log and Parsing function ... (1 Reply)
Discussion started by: kanagalamurali
1 Replies

3. AIX

Alert: Network Status Monitor daemon (rpcstat) is not running

Hi I am currently testing SCOM2012 on my AIX systems for monitoring. I tested it on 3 systems and immediately i got the following errors: Alert: Network Status Monitor daemon (rpcstat) is not running Source: AIX 7.1 Path: (left blank) Last modified by: (left blank) Last modified time:... (3 Replies)
Discussion started by: jsabo40
3 Replies

4. UNIX for Dummies Questions & Answers

Oracle process running as user daemon

Hi, When process listing, I came across a process running as user daemon. daemon 23576 23574 0 07:32:04 ? 0:07 oracle (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq))) root 27526 27444 1 07:38:43 ttyp5 0:00 grep 23574 why a process runs as user daemon, when it should be... (3 Replies)
Discussion started by: wilsonee
3 Replies

5. Solaris

Gnome config daemon gconfd-2 running out of file descriptors

Hello, I need to increase the maximum number of open files for the Gnome configuration daemon, /usr/lib/gconfd-2. There is one of these for each username, no matter how many sessions they've got. We have lots of people using DTUs to log into a Sun Ray server using the same account (bad idea,... (3 Replies)
Discussion started by: Twirlip
3 Replies

6. Linux

YUM HANGS AT RUNNING TRANSACTION TEST

Hi When i trying to update using yum, hangs at Running transaction test. # yum update yum Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: ftp.oss.eznetsols.org * extras: ftp.oss.eznetsols.org * base: ftp.oss.eznetsols.org * updates:... (2 Replies)
Discussion started by: anil8103
2 Replies

7. UNIX for Dummies Questions & Answers

Find hangs when ran under superuser.

When I ran the following find command under a "regular" user is completes but it limited because of perms. find / -name "*.*" | xargs grep something > ok But when I try to run it under su, it hangs and never completes. Any suggestion? (4 Replies)
Discussion started by: shorty
4 Replies

8. Shell Programming and Scripting

Doubt in the daemon running script

Hi I was going through one of my pjct script .Please let me know the logic for the deamon is running or not as i think the condtn should be vice-versa. daemon_list = 'idp1278' FAIL=0 for p in ${daemon_list} do fail=0 ps -fu workarea | grep ${p} > /dev/null 2>&1 if ] then ... (1 Reply)
Discussion started by: mani_isha
1 Replies

9. Solaris

Port status/Running daemon

Hi, I need to run an application (Hudson) listening to port 8080 on a remote Solaris server. I have managed to start that application and tried to access it with my browser from my local PC, but unsuccessfully. I need to find out what is blocking the access to that port (or any other). A... (9 Replies)
Discussion started by: JVerstry
9 Replies

10. UNIX for Dummies Questions & Answers

daemon running in AIX checking

how do u check if a daemon is running in AIX.. Is it ps -ef|grep daemon lssrc -s demon ??? Thanks! (0 Replies)
Discussion started by: karthikosu
0 Replies
Login or Register to Ask a Question