Sponsored Content
Full Discussion: Equivalent to locate
Operating Systems Solaris Equivalent to locate Post 302091895 by Sowser on Thursday 5th of October 2006 04:53:00 PM
Old 10-05-2006
A pretty good way of doing find is by actually disabling it! hear me out.

Only allow root to use it. Take a full listing of the entire server and stick it into a file. And do this once per week, stick it in cron. That way you only have 'find' run once a week. All users of the system can then search through the file for the find, they can simply grep it out. It is MUCH better on the system. 'find' is resource intensive. Your system will run much smoother if you know you have a lot of users constantly looking for files.

If once a week aint good enough, try it twice accordingly to your environment.

-Sowser
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

not able to locate SSH

In our unix environment I'm not able to locate where ssh is located. can any one guide me in finding the location of this tool. (5 Replies)
Discussion started by: bishweshwar
5 Replies

2. Shell Programming and Scripting

script to locate servers

I am a newbie in shell scripting and I need to produce a script to work and achieve the following: 1) Look into the file /etc/defaultrouter , and store the value in it 2) If the value is a number, go to LIST and print out the second column corresponding to the value.(eg London) 3) If the... (5 Replies)
Discussion started by: ibroxy
5 Replies

3. UNIX for Dummies Questions & Answers

command locate.

Hi, I am aware of the command locate/slocate. But when I try to search the file which is located in /tmp. Its not able to get it. I tried by updating the database also with the command updatedb. Is there any consern that the command 'locate' dont check /tmp??? And I knew that locate is the... (5 Replies)
Discussion started by: praveen_b744
5 Replies

4. Linux

Help to locate the files

I m new to the linux environment.Help me with ur suggestions. How can i obtain the file names alone from ls -ltr output?? And those files should have been created before three months and earlier than that.. Thanks and wishes, Rupaa. (8 Replies)
Discussion started by: Rupaa
8 Replies

5. AIX

Locate command

Hello to all, Can I use the "locate" command on AIX 5.3 like on Linux. If yes what packages should I install and where can I find them. Thanks, Enid (9 Replies)
Discussion started by: enux
9 Replies

6. UNIX for Dummies Questions & Answers

Usage of locate

Hi The locate command searches the pattern in all the directories. How can i make it look in for a specific directory because i know the directory in which the file exists. Thanks (1 Reply)
Discussion started by: 2002anand
1 Replies

7. UNIX for Dummies Questions & Answers

Locate equivalent in UNIX

Hi All, I am a frequent user of loacate in linux and really impressed with its speed and accuracy. I would like to know if there is any such equivalent in UNIX. (not the find, which is relatively very slow) Any locate packages which can be made available in UNIX(HP-UX) for this? TIA,... (4 Replies)
Discussion started by: pradebban
4 Replies

8. Red Hat

Can't locate DBI.pm in @INC

my os details as follow bash-3.2$ cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.8 (Tikanga) I run the following and encounter the following error bash-3.2$ mysqlhotcopy -? Can't locate DBI.pm in @INC (@INC contains:... (5 Replies)
Discussion started by: jediwannabe
5 Replies

9. UNIX for Advanced & Expert Users

Tring to locate a script

Hello, We have a process on our Linux RedHat machine creating symbolic links and moving around some files from domain to domain. The issue is that the programmer has left a long time ago and nobody knows how the program is called, where it is and how the scheduling is setup. It runs every day for... (7 Replies)
Discussion started by: Indalecio
7 Replies

10. Shell Programming and Scripting

HELP! I want to locate only dir and tar.gz

I making a script to restore apache from a configuration_backup tar. For now i want at the beginning of the script that you can make a choice to choose one of the configuration_backup tars. I use this code now: `locate /restore/configuration/configuration_backup*` But if i use this i get... (1 Reply)
Discussion started by: dannyvdberg
1 Replies
MAKEWHATIS.LOCAL(8)					    BSD System Manager's Manual 				       MAKEWHATIS.LOCAL(8)

NAME
makewhatis.local, catman.local -- start makewhatis or catman for local file systems SYNOPSIS
/usr/libexec/makewhatis.local [options] directories ... /usr/libexec/catman.local [options] directories ... DESCRIPTION
The makewhatis.local utility starts makewhatis(1) only for file systems physically mounted on the system where the makewhatis.local is being executed. Running makewhatis by periodic weekly for rw nfs-mounted /usr may kill your NFS server -- all NFS clients start makewhatis at the same time! So use this wrapper for cron(8) instead of calling makewhatis directly. The catman.local utility is using for same purposes as makewhatis.local but for catman(1). FILES
/etc/periodic/weekly/320.whatis run makewhatis.local every week /etc/periodic/weekly/330.catman run catman.local every week SEE ALSO
catman(1), find(1), makewhatis(1), cron(8), periodic(8) HISTORY
The makewhatis.local utility appeared in FreeBSD 2.2. BSD
April 26, 1996 BSD
All times are GMT -4. The time now is 08:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy