My many thanks to all respondents.
Roetman, Paul [PRoetman_at_CSXLines.com]
BOLSON_at_FRANGO.HS.WASHINGTON.EDU
Nikola Milutinovic [Nikola.Milutinovic_at_ev.co.yu]
Dr. Thomas.Blinn_at_Compaq.com [tpb_at_doctor.zk3.dec.com]
Robert Mulley [gnscon_at_one.net.au]
Joerg Bruehe [joerg_at_sql.de]
Gavin Kreuiter [gavin_at_transactive.usko.com]
Michael A Crowley [mcrowley_at_mtholyoke.edu]
James Sainsbury [sainsb_j_at_chem.usyd.edu.au]
MacDonell, Dennis [DennisMacDonell_at_auslig.gov.au]
Special thanks to James and Joerg, as their variations worked.
There were a variety of answers, including escaping the "!", looking through
the proc man page, a corruption of procfs (this worries me!), and this is
the behavior of find.
Further investigation is below. The command that worked:
find / -fstype procfs -prune -o -name "core" -ctime +10 -exec echo {} \;
Suggestions were made to specify the file systems we wanted searched. This
was not an option for us, this server has 3 ESA12000 connected to it, and
file systems come and go at a high rate. We will add 1.2TB to it in the next
year.
The behavior of either the shell or find has changed. Whether this is a bug
or not is an internal issue for Compaq. The find command varies from 4.x to
5.0. There is also some issues with the procfs see 0642 is in the ls, but
not the ls -al nor the lsof...
This may be a time to call Compaq <grin>....
Are people finding 5.1 stable? i.e. are the bug / patch rates now lower in
5.1 than 5.0?
Cheers,
Guy
# lsof /proc/00642
lsof: status error on /proc/00642: No such file or directory
lsof 4.48 (latest revision at
ftp://vic.cc.purdue.edu/pub/tools/unix/lsof)
usage: [-?abChlnNoOPRstUvV] [-c c] [+|-d s] [+|-D D] [+|-f[cfgGn]]
[-F [f]] [-g [s]] [-i [i]] [-k k] [+|-L [l]] [-m m] [+|-M] [-o [o]] [-p s]
[+|-r [t]] [-S [t]] [-T [t]] [-u s] [+|-w] [--] [names]
Use the ``-h'' option to get more help information.
#
# ps -eaf
UID PID PPID C STIME TTY TIME CMD
root 0 0 1.0 Dec 28 ?? 01:42:36 [kernel idle]
root 1 0 0.0 Dec 28 ?? 0:19.27 /sbin/init -a
root 23 1 0.0 Dec 28 ?? 0:02.21 vold -k -m boot
root 32 1 0.0 Dec 28 ?? 0:00.05 /sbin/kloadsrv
root 34 1 0.0 Dec 28 ?? 0:00.29 /sbin/hotswapd
root 140 1 0.0 Dec 28 ?? 0:00.18 /sbin/update
root 251 1 0.0 Dec 28 ?? 0:05.13 /usr/sbin/evmd
root 284 251 0.0 Dec 28 ?? 0:00.68
/usr/sbin/evmlogger -o /var/run/evmlogger.info -l /var/evm/adm/logfiles/e
root 285 251 0.0 Dec 28 ?? 0:00.29 /usr/sbin/evmchmgr
-l /var/evm/adm/logfiles/evmchmgr.log
root 386 1 0.0 Dec 28 ?? 0:00.39 /usr/sbin/syslogd
-e
root 390 1 0.0 Dec 28 ?? 0:00.46 /usr/sbin/binlogd
root 464 1 0.0 Dec 28 ?? 0:00.00 /usr/sbin/portmap
root 467 1 0.0 Dec 28 ?? 2:17.89 /usr/sbin/nfsiod 7
root 552 1 0.0 Dec 28 ?? 0:02.36 /usr/sbin/xntpd -g
-c /etc/ntp.conf
root 581 1 0.0 Dec 28 ?? 0:09.22 /usr/sbin/snmpd
root 592 1 0.0 Dec 28 ?? 0:01.90 /usr/sbin/cpq_mibs
root 593 1 0.0 Dec 28 ?? 0:04.29
/usr/sbin/svrSystem_mib
root 595 1 0.0 Dec 28 ?? 0:00.84
/usr/sbin/svrMgt_mib
root 597 1 0.0 Dec 28 ?? 0:02.28 /usr/sbin/os_mibs
root 604 1 0.0 Dec 28 ?? 1:28.78
/usr/share/sysman/bin/insightd
root 640 1 0.0 Dec 28 ?? 1:42.04 /usr/sbin/envmond
-ui cli
root 642 640 0.0 - ?? 0:00.00 <defunct>
root 665 1 0.0 Dec 28 ?? 0:00.03 /usr/sbin/inetd
root 676 1 0.0 Dec 28 ?? 2:05.04 /usr/sbin/cron
root 703 1 0.0 Dec 28 ?? 0:00.01
/usr/sbin/volnotify -eicfd
root 752 1 0.0 Dec 28 ?? 0:00.01 /usr/sbin/volwatch
-m
root 753 752 0.0 Dec 28 ?? 0:00.01 volnotify -p -f -w
15
root 773 1 0.0 Dec 28 ?? 0:00.01 /usr/lbin/lpd
root 803 1 0.0 Dec 28 ?? 0:00.01
/usr/dt/bin/dtlogin -daemon
root 851 1 0.0 Dec 28 ?? 0:03.05
/usr/bin/../bin/alpha/native_threads/java -mx2m authentication/server/Aut
root 922 1 0.0 Dec 28 ?? 0:01.86 sendmail: accept
-bd -q15m -om
root 961 1 0.0 Dec 28 ?? 0:04.00
/usr/local/apache/bin/httpd
root 971 1 0.0 Dec 28 ?? 0:16.80 /usr/sbin/smsd -d
nobody 1094 961 0.0 Dec 28 ?? 0:00.66
/usr/local/apache/bin/httpd
nobody 1095 961 0.0 Dec 28 ?? 0:00.53
/usr/local/apache/bin/httpd
nobody 1096 961 0.0 Dec 28 ?? 0:00.63
/usr/local/apache/bin/httpd
nobody 1097 961 0.0 Dec 28 ?? 0:00.72
/usr/local/apache/bin/httpd
nobody 1098 961 0.0 Dec 28 ?? 0:00.67
/usr/local/apache/bin/httpd
nobody 2317 961 0.0 Dec 28 ?? 0:00.75
/usr/local/apache/bin/httpd
nobody 2318 961 0.0 Dec 28 ?? 0:00.56
/usr/local/apache/bin/httpd
nobody 3173 961 0.0 Dec 28 ?? 0:00.75
/usr/local/apache/bin/httpd
nobody 3174 961 0.0 Dec 28 ?? 0:00.46
/usr/local/apache/bin/httpd
nobody 3175 961 0.0 Dec 28 ?? 0:00.54
/usr/local/apache/bin/httpd
root 101985 665 0.1 09:53:49 ?? 0:00.31
/usr/bin/X11/dxterm -ls
cricket 102046 102437 0.0 09:57:00 ?? 0:00.01 sh -c
/usr/users/cricket/./collector -base /usr/users/cricket/cricket-con
cricket 102236 102756 24.6 10:00:00 ?? 0:22.40
/usr/users/cricket/./collector -base /usr/users/cricket/cricket-config /r
cricket 102411 1 0.0 10:01:00 ?? 0:00.13
/usr/users/cricket/collect-subtrees schoolsnet-regional
cricket 102432 102046 2.5 09:57:00 ?? 0:14.79
/usr/users/cricket/./collector -base /usr/users/cricket/cricket-config /p
cricket 102437 1 0.0 09:57:00 ?? 0:00.13
/usr/users/cricket/collect-subtrees ping
cricket 102475 1 0.0 09:59:00 ?? 0:00.14
/usr/users/cricket/collect-subtrees instituteras
root 102551 102577 0.0 09:59:01 ?? 0:00.20
/usr/local/mrtg/ras/rasusers
cricket 102567 1 0.0 10:00:00 ?? 0:00.14
/usr/users/cricket/collect-subtrees statedistrict
root 102577 676 0.0 09:59:00 ?? 0:00.01 sh -c
/usr/local/mrtg/ras/rasusers >>/usr/local/mrtg/ras/rasusers.log 2>&
cricket 102606 1 0.0 10:00:00 ?? 0:00.14
/usr/users/cricket/collect-subtrees schoolsnet-central
root 102612 102551 0.0 10:00:24 ?? 0:00.00 sh -c /usr/bin/rsh
-l waasras 153.107.196.196 sh ip route connected | gre
cricket 102623 1 0.0 10:01:00 ?? 0:00.13
/usr/users/cricket/collect-subtrees industryoffice
cricket 102641 102411 0.0 10:01:01 ?? 0:00.01 sh -c
/usr/users/cricket/./collector -base /usr/users/cricket/cricket-con
root 102652 102902 0.0 10:00:23 ?? 0:00.01 /usr/bin/rsh -l
waasras 153.107.196.196 sh user wide
cricket 102654 102606 0.0 10:00:00 ?? 0:00.01 sh -c
/usr/users/cricket/./collector -base /usr/users/cricket/cricket-con
cricket 102679 102746 0.0 10:00:00 ?? 0:00.01 sh -c
/usr/users/cricket/./collector -base /usr/users/cricket/cricket-con
cricket 102688 102475 0.0 09:59:01 ?? 0:00.01 sh -c
/usr/users/cricket/./collector -base /usr/users/cricket/cricket-con
cricket 102695 102688 27.7 09:59:01 ?? 0:56.95
/usr/users/cricket/./collector -base /usr/users/cricket/cricket-config /r
cricket 102697 102623 0.0 10:01:01 ?? 0:00.01 sh -c
/usr/users/cricket/./collector -base /usr/users/cricket/cricket-con
cricket 102721 102654 30.4 10:00:00 ?? 0:29.39
/usr/users/cricket/./collector -base /usr/users/cricket/cricket-config /r
cricket 102725 102697 44.9 10:01:01 ?? 0:06.53
/usr/users/cricket/./collector -base /usr/users/cricket/cricket-config /r
cricket 102740 102822 28.4 10:00:00 ?? 0:22.73
/usr/users/cricket/./collector -base /usr/users/cricket/cricket-config /r
cricket 102742 1 0.0 10:00:00 ?? 0:00.13
/usr/users/cricket/collect-subtrees institutes
cricket 102746 1 0.0 10:00:00 ?? 0:00.14
/usr/users/cricket/collect-subtrees central
cricket 102756 102742 0.0 10:00:00 ?? 0:00.01 sh -c
/usr/users/cricket/./collector -base /usr/users/cricket/cricket-con
cricket 102761 102679 23.3 10:00:00 ?? 0:26.12
/usr/users/cricket/./collector -base /usr/users/cricket/cricket-config /r
root 102767 102911 0.0 10:00:24 ?? 0:00.00 /usr/bin/rsh -l
waasras 153.107.196.196 sh ip route connected
cricket 102783 102432 0.7 10:01:17 ?? 0:00.04
/usr/users/cricket/util/ping-probe -ma -av -mi -us -sn -rn -lg -me -sm ct
cricket 102800 102641 12.9 10:01:01 ?? 0:03.81
/usr/users/cricket/./collector -base /usr/users/cricket/cricket-config /r
cricket 102822 102567 0.0 10:00:00 ?? 0:00.01 sh -c
/usr/users/cricket/./collector -base /usr/users/cricket/cricket-con
root 102902 102551 0.0 10:00:23 ?? 0:00.00 sh -c
`/usr/bin/rsh -l waasras 153.107.196.196 sh user wide > /tmp/102551
root 102911 102612 0.0 10:00:24 ?? 0:00.00 grep Async
root 102948 102783 0.1 10:01:17 ?? 0:00.01 /usr/sbin/ping -q
-u -c 5 -s 56 wobr01s0.ser0wo.tafensw.EDU.AU
root 523207 665 0.0 11:20:03 ?? 0:22.37
/usr/bin/X11/dxterm -ls
root 523344 1 0.0 11:18:10 console 0:00.02 /usr/sbin/getty
console console vt100
root 102227 101985 0.0 09:53:51 pts/0 0:00.04 -ksh (ksh)
root 102877 102227 0.0 10:01:19 pts/0 0:00.08 ps -eaf
root 2723 523568 0.4 12:11:04 pts/1 18:56.10 top
root 523568 523207 0.0 11:20:04 pts/1 0:00.03 -ksh (ksh)
# ls /proc
00000 00251 00467 00597 00703 00922 01097 03174 102411
102577 102654 102721 102761 102911
00001 00284 00552 00604 00752 00961 01098 03175 102432
102606 102660 102725 102767 102953
00023 00285 00581 00640 00753 00971 02317 101985 102437
102612 102679 102740 102783 523207
00032 00386 00592 00642 00773 01094 02318 102046 102475
102623 102688 102742 102800 523344
00034 00390 00593 00665 00803 01095 02723 102227 102551
102641 102695 102746 102822 523568
00140 00464 00595 00676 00851 01096 03173 102236 102567
102652 102697 102756 102902
# ls -al /proc
ls: /proc/00642 not found
total 6755392
dr-xr-xr-x 2 root system 1048608 Jan 3 10:01 .
drwxr-xr-x 33 root system 8192 Dec 28 16:11 ..
-rw------- 1 root system 2730901504 Jan 3 10:01 00000
-rw------- 1 root system 16916480 Jan 3 10:01 00001
-rw------- 1 root system 71360512 Jan 3 10:01 00023
-rw------- 1 root system 17842176 Jan 3 10:01 00032
-rw------- 1 root system 60334080 Jan 3 10:01 00034
-rw------- 1 root system 25436160 Jan 3 10:01 00140
-rw------- 1 root system 34414592 Jan 3 10:01 00251
-rw------- 1 root system 33996800 Jan 3 10:01 00284
-rw------- 1 root system 33972224 Jan 3 10:01 00285
-rw------- 1 root system 34013184 Jan 3 10:01 00386
-rw------- 1 root system 34570240 Jan 3 10:01 00390
-rw------- 1 root system 34390016 Jan 3 10:01 00464
-rw------- 1 root system 25436160 Jan 3 10:01 00467
-rw------- 1 root system 34086912 Jan 3 10:01 00552
-rw------- 1 root system 33931264 Jan 3 10:01 00581
-rw------- 1 root system 34824192 Jan 3 10:01 00592
-rw------- 1 root system 33939456 Jan 3 10:01 00593
-rw------- 1 root system 33923072 Jan 3 10:01 00595
-rw------- 1 root system 34193408 Jan 3 10:01 00597
-rw------- 1 root system 53460992 Jan 3 10:01 00604
-rw------- 1 root system 35160064 Jan 3 10:01 00640
-rw------- 1 root system 25493504 Jan 3 10:01 00665
-rw------- 1 root system 45785088 Jan 3 10:01 00676
-rw------- 1 root system 34004992 Jan 3 10:01 00703
-rw------- 1 root system 17768448 Jan 3 10:01 00752
-rw------- 1 root system 34004992 Jan 3 10:01 00753
-rw------- 1 root system 34037760 Jan 3 10:01 00773
-rw------- 1 root system 34111488 Jan 3 10:01 00803
-rw------- 1 root system 96526336 Jan 3 10:01 00851
-rw------- 1 root system 34152448 Jan 3 10:01 00922
-rw------- 1 root system 25821184 Jan 3 10:01 00961
-rw------- 1 root system 156786688 Jan 3 10:01 00971
-rw------- 1 nobody nobody 25878528 Jan 3 10:01 01094
-rw------- 1 nobody nobody 25878528 Jan 3 10:01 01095
-rw------- 1 nobody nobody 25878528 Jan 3 10:01 01096
-rw------- 1 nobody nobody 25878528 Jan 3 10:01 01097
-rw------- 1 nobody nobody 25878528 Jan 3 10:01 01098
-rw------- 1 nobody nobody 25878528 Jan 3 10:01 02317
-rw------- 1 nobody nobody 25878528 Jan 3 10:01 02318
-rw------- 1 root daemon 31907840 Jan 3 10:01 02723
-rw------- 1 nobody nobody 25878528 Jan 3 10:01 03173
-rw------- 1 nobody nobody 25878528 Jan 3 10:01 03174
-rw------- 1 nobody nobody 25878528 Jan 3 10:01 03175
-rw------- 1 root daemon 44605440 Jan 3 10:01 101985
-rw------- 1 cricket users 25837568 Jan 3 10:01 102046
-rw------- 1 root daemon 25608192 Jan 3 10:01 102227
-rw------- 1 cricket users 54099968 Jan 3 10:01 102411
-rw------- 1 cricket users 243130368 Jan 3 10:01 102432
-rw------- 1 cricket users 54099968 Jan 3 10:01 102437
-rw------- 1 cricket users 54099968 Jan 3 10:01 102475
-rw------- 1 root daemon 54050816 Jan 3 10:01 102551
-rw------- 1 cricket users 54099968 Jan 3 10:01 102567
-rw------- 1 root daemon 25837568 Jan 3 10:01 102577
-rw------- 1 cricket users 54099968 Jan 3 10:01 102606
-rw------- 1 root daemon 25780224 Jan 3 10:01 102612
-rw------- 1 cricket users 54099968 Jan 3 10:01 102623
-rw------- 1 cricket users 25780224 Jan 3 10:01 102641
-rw------- 1 root daemon 25493504 Jan 3 10:01 102652
-rw------- 1 cricket users 25780224 Jan 3 10:01 102654
-rw------- 1 cricket users 25501696 Jan 3 10:01 102660
-rw------- 1 cricket users 25780224 Jan 3 10:01 102679
-rw------- 1 cricket users 25780224 Jan 3 10:01 102688
-rw------- 1 cricket users 243130368 Jan 3 10:01 102695
-rw------- 1 cricket users 25780224 Jan 3 10:01 102697
-rw------- 1 cricket users 243130368 Jan 3 10:01 102721
-rw------- 1 cricket users 210460672 Jan 3 10:01 102725
-rw------- 1 cricket users 243130368 Jan 3 10:01 102740
-rw------- 1 cricket users 54099968 Jan 3 10:01 102746
-rw------- 1 cricket users 243130368 Jan 3 10:01 102761
-rw------- 1 root daemon 25493504 Jan 3 10:01 102767
-rw------- 1 cricket users 53444608 Jan 3 10:01 102783
-rw------- 1 cricket users 193331200 Jan 3 10:01 102800
-rw------- 1 cricket users 25780224 Jan 3 10:01 102822
-rw------- 1 root daemon 25780224 Jan 3 10:01 102902
-rw------- 1 root daemon 25509888 Jan 3 10:01 102911
-rw------- 1 root daemon 17276928 Jan 3 10:01 102923
-rw------- 1 root daemon 44605440 Jan 3 10:01 523207
-rw------- 1 root system 16916480 Jan 3 10:01 523344
-rw------- 1 root daemon 25608192 Jan 3 10:01 523568
#
-----Original Message-----
From: Loucks, Guy [mailto:Guy.Loucks_at_det.nsw.edu.au]
Sent: Tuesday, January 02, 2001 11:34 AM
To: tru64-unix-managers_at_ornl.gov
Subject: T64 V5.0 and FIND misbehaving?
People,
Time to start the new year with a complete brain failure. Polite suggestions
to why this is not working is most welcome, please email me directly, and I
will summarize:
# find / ! -name /proc -name "core" -ctime +10 -exec rm -rf {} \;
find: /proc/00642 : No such file or directory
# find / ! -fstype procfs -name "core" -ctime +10 -exec rm -rf {} \;
find: /proc/00642 : No such file or directory
# find / -name "core" -ctime +10 -exec rm -rf {} \;
find: /proc/00642 : No such file or directory
Find just does not want to ignore the procfs.....
# uname -a
OSF1 myhost.EDU.AU V5.0 1094 alpha
# psrinfo -v
Status of processor 0 as of: 01/02/01 11:28:20
Processor has been on-line since 12/28/2000 16:19:42
The alpha EV6 (21264) processor operates at 500 MHz,
and has an alpha internal floating point processor.
Status of processor 1 as of: 01/02/01 11:28:20
Processor has been on-line since 12/28/2000 16:19:42
The alpha EV6 (21264) processor operates at 500 MHz,
and has an alpha internal floating point processor.
#
TIA,
Guy
Guy R. Loucks
Senior Unix Systems Administrator
Networks Branch
NSW Department of Education & Training
Information Technology Bureau
Direct +61 2 9942 9887
Fax +61 2 9942 9600
Mobile +61 (0)429 041 186
Email guy.loucks_at_det.nsw.edu.au
Received on Wed Jan 03 2001 - 01:31:31 NZDT