09-02-2008
Thanks for your attention and we'll beware of the Herder...
Regards
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm moving a list of files of some extension and I wish to output the moved filenames into a text file, I tried using the command below, but after all the files are moved, I got a blank file.
find /abc/temp -type f -mtime +365 \( -name "*.bak" -o -name "*.log" \) -exec mv -f {} /junk \; >>... (3 Replies)
Discussion started by: chengwei
3 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I am using rsync to make sure that my folder "local" mirrors the remote directory "remote". When a file is copied from "remote" to "local", I need to apply a bash script to it. What would be a neat way to do that?
Thanks
ps: is there a way to edit the title of the thread (I am a bit... (5 Replies)
Discussion started by: JCR
5 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
i'm new here in this forum. I really like the helpful answers in this forum.
Here a short question.
For a script i have to sort files by date and exclude the files of the actual date.
Sorting the files by date and preparing the output for awk is done by this line:
ls -l... (3 Replies)
Discussion started by: carlosdivega
3 Replies
4. Solaris
Hi,
I would like to move all files that are updated in last 10 hrs. to some temporary folder.
Please help. (3 Replies)
Discussion started by: sanjay1979
3 Replies
5. UNIX for Advanced & Expert Users
Hi,
I want to know the user ID who moved a file from one directory to another Directory.
Example: File1 created by user A is present in dirA
then some one has moved it to dirB using "mv" command
I want to know the user ID who moved the file to dirB.
As far as i know "ls -lrt" command... (1 Reply)
Discussion started by: srilaxmi
1 Replies
6. Shell Programming and Scripting
Hi.
I am actually doing all of this on OSX, but using unix apps and script.
I have built my own transparent rsync/open directory/mobility/etc set of scripts for the firm I work at, and it is all almost complete except for ONE THING.
I have the classic problem with rsync where if a user... (0 Replies)
Discussion started by: Ashtefere
0 Replies
7. UNIX for Dummies Questions & Answers
so I need to list all the files in a folder with x character, where x is an arbitrary number. I am not sure of the whole command, but I think it's something like the following:
ls grep -l
What am I missing? What should the command be if I am wrong?
Any help would be appreciated. (5 Replies)
Discussion started by: PhobosAnomaly
5 Replies
8. Shell Programming and Scripting
I have two files as follows:
Pval.txt
ID Pvalue
91500 0.004
91700 0.007
91800 0.12
91900 0.05
92000 0.99
Freq.txt
ID Frequency
90000 56
91500 29
91600 78
91700 60
91800 77
91900 66
92000 70
92100 50
92200 60I need to compare 1st... (19 Replies)
Discussion started by: cs_novice
19 Replies
9. Linux
Hi ULF,
Good day! I'm working on a LINUX Suse server and I have an entry in CRON which looks like this below:
0 5 * * * /usr/bin/find /opt/nsfw/var/partition-all/ -name "RCV_SASN*" -exec mv '{}' /opt/nsfw/var/rcv-archive/ \;
This tool runs everyday at 5am and it will just move the files... (7 Replies)
Discussion started by: rymnd_12345
7 Replies
10. Shell Programming and Scripting
I'm writing a script for searching substring in file content and then moving found files. So far I've wrote script shown below
grep -lir 'stringtofind' $1 | xargs mv -t $2
How can i count number of files moved? (4 Replies)
Discussion started by: Kadikis
4 Replies
strerr(1M) System Administration Commands strerr(1M)
NAME
strerr - STREAMS error logger daemon
SYNOPSIS
strerr
DESCRIPTION
strerr receives error log messages from the STREAMS log driver (see log(7D)) and appends them to a log file. The resultant error log files
reside in the directory /var/adm/streams, and are named error.mm-dd, where mm is the month and dd is the day of the messages contained in
each log file.
The format of an error log message is:
<seq> <time> <ticks> <flags> <mid> <sid> <text>
<seq> error sequence number
<time> time of message in hh:mm:ss
<ticks> time of message in machine ticks since boot priority level
<flags> T : the message was also sent to a tracing process F : indicates a fatal error N : send mail to the system administrator
(hardcoded as root)
<mid> module ID number of source
<sid> sub-ID number of source
<text> formatted text of the error message
Messages that appear in the error log are intended to report exceptional conditions that require the attention of the system administrator.
Those messages which indicate the total failure of a STREAMS driver or module should have the F flag set. Those messages requiring the
immediate attention of the administrator will have the N flag set, which causes the error logger to send the message to the system adminis-
trator using mail. The priority level usually has no meaning in the error log but will have meaning if the message is also sent to a tracer
process.
Once initiated, strerr continues to execute until terminated by the user. It is commonly executed asynchronously.
FILES
/var/adm/streams/error.mm-dd error log file.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
attributes(5), log(7D)
STREAMS Programming Guide
NOTES
There is no restriction to the number of strerr processes opening the STREAMS log driver at a time.
If a module or driver is generating a large number of error messages, running the error logger will cause a degradation in STREAMS perfor-
mance. If a large burst of messages are generated in a short time, the log driver may not be able to deliver some of the messages. This
situation is indicated by gaps in the sequence numbering of the messages in the log files.
SunOS 5.10 4 Oct 1994 strerr(1M)