07-17-2013
Just redirect output to a pipe, use sed or awk or whatever to rearrange it into nice log lines, and append it to your log file. Anything that does not look like data should be logged in a process log.
I haven't been doing that sort of MQ for a while, send some example output data.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
We have a strange problem that started happening a few months ago. We have a unix script being called from within a microfocus cobol program using the call "SYSTEM" cobol command. The problem is sometimes the script will run, sometimes it wont - without us changing anything! The other strange... (1 Reply)
Discussion started by: lf398
1 Replies
2. SCO
hi everybody, this is my first visit here.
i have a sco unixware 7.1 box. terminals are connected thru digi multiserial devices. some users are also connected over the lan from pc stations running terminal emulation programs.
in few last weeks periodically ( almost every other day ) happens... (2 Replies)
Discussion started by: vpanag
2 Replies
3. Programming
Hi,
I am looking for a C library feature, to which I can say execute a function every 10 seconds.
for Eg
#include <timer_lib.h>
fun1(){
printf("I am still cool ");
}
int main(){
run(10,&fun1); // Should register & execute the function fun1 every 10 seconds
return 0x0;
}... (24 Replies)
Discussion started by: RipClaw
24 Replies
4. Shell Programming and Scripting
Hi Folks Interesting question hope u get the ans:
I have to ftp a file ABC(Timestamp) to server XYZ
My script should be doing the every 2 hours.
after the transfer I need to confirm whether the file ABC(timestamp) got transfer properly or not.
My concern is after the "put ABC"... (7 Replies)
Discussion started by: Haque123
7 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
When ever i open unix, periodically after every 3 minutes(approximately) i get the below error.
"Dec 29 23:56:01 "domain name" sendmail: unable to qualify my own domain name ("domain name") -- using short name".
This is interrupting me while writing a program.
Please... (2 Replies)
Discussion started by: rakeshbharadwaj
2 Replies
6. Shell Programming and Scripting
A friend of mine is switching his email from one University server to a different one. He is using the tcsh, and on his current server, the shell will tell him (when the prompt is displayed) if there is new mail. The new server, where he also has the tcsh, does not do this by default. I got him... (0 Replies)
Discussion started by: kermit
0 Replies
7. Solaris
We are having a problem with external address being resolved. All internal addresses work fine. Refreshing the DNS server service solves the issue for a little while(I don't have an exact number on how long, <1 hour) and then eventually stops working.
We use Webem to manage the build in DNS and... (2 Replies)
Discussion started by: Lespaul20
2 Replies
8. Shell Programming and Scripting
Hello,
I have a command which runs continuously and creates output to STDOUT. Now, in unix, if I create logging for this command, it would create a single log file and keep on updating. As there is so much data filled in it, I would want to break the log files periodically. In this instance, say... (4 Replies)
Discussion started by: rajkumarme_1
4 Replies
9. Shell Programming and Scripting
Hi,
I am trying to create a script that will run for every 5 mins to grep the CPU utilization. I have 6 instances running on a single unix server for which I have to export the individual utilizations periodically.
Can we fetch the utilization of 6 instances in separate files using top... (8 Replies)
Discussion started by: jhilmil
8 Replies
10. Shell Programming and Scripting
Hi all
I'm a shell script newbie so please have some patience with me :D
To my question:
I wrote a simple shell script which opens a firefox instance with multiple tabs. So far, so good. But I would also like to have all these tabs automatically refreshed (let's say all 45 seconds). Is that... (1 Reply)
Discussion started by: NemesisBBB
1 Replies
nislog(1M) System Administration Commands nislog(1M)
NAME
nislog - display the contents of the NIS+ transaction log
SYNOPSIS
/usr/sbin/nislog [-h num | -t num] [-v] [directory...]
DESCRIPTION
nislog displays the contents of the NIS+ server transaction log on the standard output. This command can be used to track changes in the
namespace. The /var/nis/trans.log file contains the transaction log maintained by the NIS+ server. When updates occur, they are logged to
this file and then propagated to replicas as log transactions. When the log is checkpointed, updates that have been propagated to the
replicas are removed.
The nislog command can only be run on an NIS+ server by superuser. It displays the log entries for that server only.
If directory is not specified, the entire log is searched. Otherwise, only those logs entries that correspond to the specified directories
are displayed.
OPTIONS
-h num Display num transactions from the ``head'' of the log. If the numeric parameter is 0, only the log header is displayed.
-t num Display num transactions from the ``tail'' of the log. If the numeric parameter is 0, only the log header is displayed.
-v Verbose mode.
FILES
/var/nis/trans.log transaction log
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWnisu |
+-----------------------------+-----------------------------+
SEE ALSO
nis+(1), rpc.nisd(1M), nisfiles(4), attributes(5)
NOTES
NIS+ might not be supported in future releases of the SolarisTM Operating Environment. Tools to aid the migration from NIS+ to LDAP are
available in the Solaris 9 operating environment. For more information, visit http://www.sun.com/directory/nisplus/transition.html.
SunOS 5.10 12 Dec 2001 nislog(1M)