Hello guys
I am new to using Unix and was hoping somebody could help me. Essentially, I am trying to clean out my database. For example, I have a directory filled with 100s of analytics and I want to know if they are used by any other analytics or if they are used by the front end user interface platforms. When I run
it returns other analytics where this analytic is used. But i would like to run something that means i don't have to go through them one by one.
Thank you very much. Any help is appreciated
Hi,
I have a directory which contains files.This Directory keeps getting in new files from time to time.I want to maintain only 15 files in that directory at any time and the old files should be deleted.
Eg:
Directory 'c' @'a/b/c contains:
1_a
2_a
3_a...
I want to delete all the old... (2 Replies)
Hi All,
when I use the following analytic function in sql prompt, i am getting the result
count(emp_no) over (partition by emp_no )
/* select count(emp_no) over (partition by emp_no ) from temp */
but when i use the same analytic function in Pro*c i get the following error
Error... (2 Replies)
Hi Friends,
I am new to this , I am working on AIX system and my scenario is to retrive the files from remote system and remove the files from the remote system after retreving files. I can able to retrieve the files but Can't remove files in remote system. Please check my code and help me out... (3 Replies)
Hi all, I have developed a shell script to copy the files from source to destination and simultaneously to delete the copied files in source. I can copy the files but the files cannot be deleted in source side. (3 Replies)
If you're familiar with vscsi mappings thru a VIO Server, you are probably aware, on an AIX 6.1 Client LPAR, that:
print cvai | kdbcan provide useful information to you.... like VIO Server name & vhost #. But, "cvai" does not appear to be part of the Kernel Debugger in AIX 5.3.
My question is... (3 Replies)
Hi All,
I am trying to debug my core file using kdb.
When I try to get the stack trace I am facing this error.
core mapped from @ 700000000000000 to @ 70000000306fc04
Preserving 1680415 bytes of symbol table
Dump does not start with valid magic number
WARNING: Possibly truncated or... (2 Replies)
#!/bin/bash
#
name=$1
type=$2
number=1
for file in ./**
do
if
then
filenumber=00$number
elif
then
filenumber=0$number
fi
tempname="$name""$filenumber"."$type"
if (4 Replies)
Discussion started by: TheGreatGizmo
4 Replies
LEARN ABOUT NETBSD
locate.conf
LOCATE.CONF(5) BSD File Formats Manual LOCATE.CONF(5)NAME
locate.conf -- locate database configuration file
DESCRIPTION
The locate.conf file specifies the behavior of locate.updatedb(8), which creates the locate(1) database.
The locate.conf file contains a list of newline separated records, each of which is composed of a keyword and arguments, which are separated
by white space. Arguments with embedded shell metacharacters must be quoted in sh(1) style. Lines beginning with ``#'' are treated as com-
ments and ignored. However, a ``#'' in the middle of a line does not start a comment.
The configuration options are as follows:
ignore pattern ...
Ignore files or directories. When building the database, do not descend into files or directories which match one of the specified
patterns. The matched files or directories are not stored to the database.
Default: Not specified.
ignorecontents pattern ...
Ignore contents of directories. When building the database, do not descend into files or directories which match one of the speci-
fied patterns. The matched files or directories themselves are stored to the database.
Default: Not specified.
ignorefs type ...
Ignore file system by type, adding type to the default list. When building the database, do not descend into file systems which are
of the specified type. The mount points are not stored to the database. If a ``!'' is prepended to type, the meaning is negated,
that is, ignore file systems which do not have the type. As a special case, if ``none'' is specified for type, the ignorefs list is
cleared and all file systems are traversed.
type is used as an argument to find(1)-fstype. The sysctl(8) command can be used to find out the types of file systems that are
available on the system:
sysctl vfs.generic.fstypes
Default: !local cd9660 fdesc kernfs procfs
searchpath directory ...
Specify base directories to be put in the database.
Default: /
workdir directory
Specify the working directory of locate.updatedb, in which a temporary file is placed. The temporary file is a list of all files,
and you should specify a directory that has enough space to hold it.
Default: /tmp
Refer to find(1) for the details of pattern (see -path expression) and type (see -fstype expression).
FILES
/etc/locate.conf The file locate.conf resides in /etc.
SEE ALSO find(1), locate(1), locate.updatedb(8), sysctl(8)HISTORY
The locate.conf file format first appeared in NetBSD 2.0.
AUTHORS
ITOH Yasufumi
BSD July 10, 2011 BSD