09-18-2008
unix is simple command prompt.. but linux comes with GUI...
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
In my work environment, our workis to run N number of SQL statements
continously.. Actually we are in testing environment. And for this we write 100 of SQL's and execute each one after another at Windows SQL prompt.
Some of the SQL's will be running for about 12 hrs also.
... (1 Reply)
Discussion started by: cheche
1 Replies
2. Shell Programming and Scripting
Dear ALL
I need help in diff command
can we do diff of 3 files ..
I want to compare 3 files (1 Reply)
Discussion started by: getdpg
1 Replies
3. Shell Programming and Scripting
Hi ,
I wanted to find delata between two huge ( 8 GB ) files . Say file_TDY and file_YDY : These files are sorted based on a key .
I am using a command :
1)bdiff file_TDY file_YDY > diff_file
2) grep ' ^< ' diff_file > TDY_delta
I wanted only the changed records and newly added... (2 Replies)
Discussion started by: ajaybalki
2 Replies
4. UNIX for Advanced & Expert Users
Hi,
I am trying to do a diff between two files using "diff" command.I dont need my output to be printed using extra symbols ">" and "<" as we usually see for the diff command. Even to excude these characters in each line of the output, my diff output has inturn many symbols ">" and "<".
... (1 Reply)
Discussion started by: pharitha
1 Replies
5. Shell Programming and Scripting
Hi,
I search a unix utility to diff two files, that takes as argument numerical precision as well. If two files are different only in numbers and the difference is less than precision then the result as they are the same.
The precision may be absolute (x1-x2) or relative (x2/x1). Also I need the... (1 Reply)
Discussion started by: stella
1 Replies
6. Red Hat
Hi,
I have two server , one linux and one unix .
I want to compare two different directry in them .
What command or tool I can use instead of search the dir one by one ???
thank (3 Replies)
Discussion started by: chuikingman
3 Replies
7. Shell Programming and Scripting
Moderator, please, delete this topic (1 Reply)
Discussion started by: optik77
1 Replies
8. Shell Programming and Scripting
Hi I want to compare two rows in unix
first value in row is 1.12 while value in other row is 000001.12.
if i do normal diff this will come as difference...is it any way to overcome this? (1 Reply)
Discussion started by: sanranad
1 Replies
9. UNIX for Dummies Questions & Answers
Hi guys - I have two files that have random number values and I want to see what is available in file A and not in file B
Here is what each file looks like:
File A:
1
45
11
788
556
File B:
774
1
5589
788
10025 (4 Replies)
Discussion started by: DallasT
4 Replies
LEARN ABOUT DEBIAN
socklog
socklog(8) System Manager's Manual socklog(8)
NAME
socklog - small and secure syslogd replacement for use with runit
SYNOPSIS
socklog [-rRU] [unix] [path]
socklog [-rR] inet [ip] [port]
socklog [-rR] ucspi [args]
DESCRIPTION
socklog is run under runit's runsv(8), writing syslog messages it receives from unix domain socket path or an inet udp socket ip:port
through a pipe provided by runsv(8) to a svlogd(8) process.
socklog can be run as an ucspi application to listen to an unix domain stream socket and for more flexible distributed logging.
If the environment variables $UID and/or $GID are present, socklog drops permissions to those ids after creating and binding the socket
(not in ucspi mode).
socklog converts syslog facility and priority information to names (facility.priority:) as found in /usr/include/syslog.h at compile time
if present.
On solaris socklog also accepts sun_stream as first argument. Please see the web page for details.
UNIX SOCKET
socklog [ unix ] [ path ]
Starting socklog with the 1st argument unix, socklog will listen to the unix domain socket path. If path is omitted, the default /dev/log
is used.
The 1st argument may be omitted, default is unix.
INET SOCKET
socklog inet [ ip ] [ port ]
Starting socklog with the 1st argument inet, socklog will listen to the inet udp socket ip:port.
If ip starts with 0, socklog will bind to all local interfaces.
If port is less or equal 1024, socklog must be run by root.
port may be omitted, default is 514. ip may be omitted, default is 0.
socklog prepends a.b.c.d: to each syslog message it receives, where a.b.c.d is the ip address of the connecting system.
UCSPI MODE
socklog ucspi [ args ]
Starting socklog with the 1st argument ucspi, socklog will run as an ucspi application. Normally socklog will only be started in ucspi mode
by an ucspi server tool, such as tcpsvd(8), tcpserver(1) or unixserver.
For each arg, socklog will prepend $arg: to each syslog message, if the environment variable $arg is present (maximum is 8).
OPTIONS
-r raw. Write the raw syslog messages (no conversion of facility and priority) to the pipe, additionally to the log messages with sys-
log facility and priority converted to names.
-R raw only. Same as -r above, but write the raw syslog messages only.
-U respect umask. Don't set umask to 0 before creating a unix domain socket, but respect the current setting of umask(2). This option
only takes effect in unix mode.
SEE ALSO
sv(8), runsvdir(8), runsv(8), svlogd(8), tryto(1), uncat(1), socklog-check(8), tcpsvd(8), nc(1)
http://smarden.org/socklog/
http://smarden.org/runit/
AUTHOR
Gerrit Pape <pape@smarden.org>
socklog(8)