Mailinglist Archive: opensuse (3637 mails)

< Previous Next >
Re: [SLE] Memory Leaks
  • From: Jeffrey Taylor <jeff.taylor@xxxxxxxx>
  • Date: Tue, 15 May 2001 05:15:19 -0500
  • Message-id: <20010515051519.H26602@xxxxxxxxxxxxxxxxxxxxx>
This is the updatedb script that builds the database (locatedb) for
the locate command. It runs every night. It doesn't catalog the
CD-ROM, temporary files, spooled printer files, etc.

Jeffrey

Quoting Timothy R.Butler <tbutler@xxxxxxxxxxxxxxxxxxx>:
>
> > "ps auxwww | grep find" will give you the entire find command line,
> > how long it's been running, how big it is in memory, and the
> > percentage of memory and CPU that it's taking up.
>
> This is what it told me when I did that:
>
> root 2592 0.0 0.1 1384 460 ? SN 00:15 0:00
> /usr/lib/find/frcode
> nobody 2593 0.0 0.3 1888 880 ? SN 00:15 0:00 su nobody -c
> /usr/bin/find / \( -fstype nfs -o -fstype NFS -o -fstype proc -o -fstype
> afs -o -fstype smbfs -o -fstype autofs -o -type d -regex
> '\(^/S.u.S.E.$\)\|\(^/mnt$\)\|\(^/cdrom$\)\|\(^/tmp$\)\|\(^/usr/tmp$\)\|\(^/var/tmp$\)\|\(^/var/spool$\)\|\(^/proc$\)'
> \) -prune -o -print
> nobody 2594 4.2 0.2 1492 712 ? RN 00:15 0:02 /usr/bin/find
> / ( -fstype nfs -o -fstype NFS -o -fstype proc -o -fstype afs -o -fstype
> smbfs -o -fstype autofs -o -type d -regex
> \(^/S.u.S.E.$\)\|\(^/mnt$\)\|\(^/cdrom$\)\|\(^/tmp$\)\|\(^/usr/tmp$\)\|\(^/var/tmp$\)\|\(^/var/spool$\)\|\(^/proc$\)
> ) -prune -o -print
> root 2611 0.0 0.2 1504 588 pts/1 S 00:16 0:00 grep find
>
>
> Any ideas?
>
> Thanks,
> Tim
>

--
I don't do Windows and I don't come to work before nine.
-- Johnny Paycheck

< Previous Next >