06-24-2002
Excellent.... tis working. Possibly warranted a rtfm response that one.
I don't think that it would ever follow by default.....based on that excert from man that you've posted RTM, I would take that to mean that it will always perform the function when this flag is set.
I have SunOS 5.6......and if definitley doesn't follow by default....I don't see anywhere that I can define this either.:o
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Having a simple issue with find command on Sun. The command works fine if the variable is set to the actual filesystem but fails when the variable is set to a link which is pointing to the same filesystem.
export DUMPDEST=/oradata1/exports/pbm - Set the variable
... (2 Replies)
Discussion started by: win_vin
2 Replies
2. Shell Programming and Scripting
I am digging for certain types of files in the current directory and all its sub-directories and archiving them with the following code:
#! /usr/bin/ksh
Archive=`date +%Y_%m_%d_%T`
find . -type f \( -name \*\.ksh -o -name \*\.sql -o -name \*\.ini \) -print|xargs tar -cf... (4 Replies)
Discussion started by: manthasirisha
4 Replies
3. OS X (Apple)
Hi,
I am using Mac X 10.5. It's supporting BSD. I am getting strange problem.
• Launch the terminal.
• Create a directory. Use cd <directory>
• Now create another directory test with command “mkdir test”.
• Create a soft link with command “ln -s text.txt test”
• Go to the test directory... (1 Reply)
Discussion started by: Saurabh78
1 Replies
4. BSD
Hi,
I am using Mac X 10.5. It's supporting BSD. I am getting strange problem.
• Launch the terminal.
• Create a directory. Use cd <directory>
• Now create another directory test with command “mkdir test”.
• Create a soft link with command “ln -s text.txt test”
• Go to the test directory... (1 Reply)
Discussion started by: Saurabh78
1 Replies
5. UNIX for Dummies Questions & Answers
I need the command to find all soft links in a directory. Can someone please help.
Thank you. (2 Replies)
Discussion started by: jgeo01
2 Replies
6. Solaris
When loooking at files in a directory using ls, how can I tell if I have a hard link or soft link? (11 Replies)
Discussion started by: Harleyrci
11 Replies
7. Ubuntu
Hi ,
I have folder which has almost 35000 objects, I need to find out or list the objects which are symbolic links. I tried f. I am not getting right
Can you pls help
Regards
amv (5 Replies)
Discussion started by: amvarma77
5 Replies
8. UNIX for Dummies Questions & Answers
Hello,
I would like to create symbolic links for a series of files in my cwd (after confirming that the links don't already exist). The above files all have a similar prefix, but different extensions.
I created a shell script like shown below and I get an error message "No such file or... (4 Replies)
Discussion started by: Gussifinknottle
4 Replies
9. UNIX for Advanced & Expert Users
Hi. Can somebody tell me if there's a way of creating a symbolic link from a directory on one filesystem to that on another that will allow a find command that doesn't use the -L param to locate a particular file under that new 'linked' dir. With a normal sym link the find command on that... (6 Replies)
Discussion started by: user052009
6 Replies
LEARN ABOUT SUSE
ninpaths
NINPATHS(8) InterNetNews Documentation NINPATHS(8)
NAME
ninpaths - Report Usenet Path statistics (new inpaths)
SYNOPSIS
ninpaths -p -d dumpfile
ninpaths -r site -u dumpfile [-u dumpfile ...] -v level
DESCRIPTION
This is an efficient and space-saving inpaths reporting program. It works as follows: you feed it the Path lines via an INN channel feed
or some other similar method, and from time to time the program writes all its internal counters accumulated so far to a dump file.
Another instance of the program picks up all the dump files, adds them up and formats them into the report. The purpose of the final
report is to summarize the frequency of occurrence of sites in the Path headers of articles.
Some central sites accumulate the Path data from many news servers running this program or one like it, and then report statistics on the
most frequently seen news servers in Usenet article Path lines. The sendinpaths shell script can be run once a month to mail the
accumulated statistics to such a site and remove the old dump files.
You can get a working setup by doing the following:
1. Create a directory at pathlog/path (replacing pathlog here and in all steps that follow with the full path to your INN log directory).
2. Set up a channel feed using an entry like:
inpaths!:*:Tc,WP:ninpaths -p -d <pathlog>/path/inpaths.%d
if your version of INN supports WP (2.0 and later all do). Replace <pathlog> with the full path to your INN log directory.
3. Enter into your news user crontab something like:
6 6 * * * ctlinnd flush inpaths!
(the actual time doesn't matter). This will force ninpaths to generate a dump file once a day.
4. Once per month, run the sendinpaths script, which collects the dumps, makes a report, and then deletes the old dumps. (You can
generate a report without mailing it and without deleting it with "sendinpaths -n".)
OPTIONS
-d dumpfile
Save dumps in dumpfile. Any %d in dumpfile will be replaced with the current system time when the dump is made. This option should be
used with -p.
-p Read Path lines from standard input.
-r site
Generate a report for site. Generally site should be the value of pathhost from inn.conf.
-u dumpfile
Read data from dumpfile. This option can be repeated to read data from multiple dump files.
-v level
Set the verbosity level of the report. Valid values for level are 0, 1, and 2, with 2 being the default.
NOTES
If your INN doesn't have the WP feed flag (1.5 does not, 1.6 does, 1.7 I don't know, 2.0 and later all do), use the following newsfeeds
entry:
inpaths!:*:Tc,WH:ginpaths
where ginpaths is the following script:
#!/bin/sh
exec egrep '^Path: ' | ninpaths -p -d <pathlog>/path/inpaths.%d
replacing <pathlog> as above.
SEE ALSO
newsfeeds(5), sendinpaths(8)
This is a slightly modified version of Olaf Titz's original ninpaths program, which is posted to alt.sources and kept on his WWW archive
under <http://sites.inka.de/~bigred/sw/>.
HISTORY
ninpaths was written by Olaf Titz <olaf@bigred.inka.de>.
The idea and some implementation details for ninpaths come from the original inpaths program, but most of the code has been rewritten for
clarity. This program is in the public domain.
$Id: ninpaths.pod 7851 2008-05-26 19:33:08Z iulius $
INN 2.5.2 2009-05-21 NINPATHS(8)