10 More Discussions You Might Find Interesting
1. Solaris
please find the below o/p for your reference
bash-3.00# fcinfo hba-port
HBA Port WWN: 21000024ff295a34
OS Device Name: /dev/cfg/c2
Manufacturer: QLogic Corp.
Model: 375-3356-02
Firmware Version: 05.03.02
FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies
2. Post Here to Contact Site Administrators and Moderators
Hi,
Can someone point me in the direction of the "close account" or "delete account" page, as i no longer want my account.
I have sent 2 messages to the webmaster who has just ignored my message, and there is no advice in the faq and googling brings no answer.
I want to remove my account... (1 Reply)
Discussion started by: Fanny Zoddar
1 Replies
3. UNIX for Advanced & Expert Users
Hi,
In one of the circumstances, my manager asked my password and opened unix terminal (Putty) with my user credentials. Its been more than 2 days that terminal is opened (saw it through finger command). How do I close that terminal which is not opened in my pc. I'm very uncomfortable of the... (11 Replies)
Discussion started by: bobbygsk
11 Replies
4. Programming
can someone provide an example, where if the parent process quits for any reason, then the child process will also close? (3 Replies)
Discussion started by: omega666
3 Replies
5. UNIX for Dummies Questions & Answers
Hello, I have a service running (ODBC) and every now and then it will hang and I will have to stop and restart the service. The problem is when I stop the service, it indeed stops the service, but netstat reports a tcp port still open with the fin_wait_2 status. Then I must close the client... (1 Reply)
Discussion started by: raidzero
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I need to know whether a port is being used by some application.
What is the command for the same??
Regards,
Chaitrali. (1 Reply)
Discussion started by: Chaitrali
1 Replies
7. UNIX for Advanced & Expert Users
disregard solved (0 Replies)
Discussion started by: calamine
0 Replies
8. Programming
i am new to UNIX and C (primarilly a JDE and AS400/RPG developer). However,
I need to find a way to send data to and from a web service from within a UNIX C program.
What i would like to be able to do is to receive in a block of XML (from a non C application), wrap it, and then open a TCPIP... (3 Replies)
Discussion started by: DaveBarber
3 Replies
9. UNIX for Dummies Questions & Answers
I have a UNIX daemon process that's been started by a parent process, an application server.
The behavior of this daemon process is to inherit and use the app
server's file descriptors (ports/sockets).
When I shutdown the app server, the daemon continues to run, because there may be other... (1 Reply)
Discussion started by: kunalashar
1 Replies
10. Programming
I have source code of a Windows C DLL. It complies properly and works. Now I need to port it to UNIX environment.
I need to know if I can create a Dynamic Library or only Static Library is possible in UNIX.
In case I can create a Dynamic Library please guide me how to proceed. Or if there... (2 Replies)
Discussion started by: ana_puri
2 Replies
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)