10 More Discussions You Might Find Interesting
1. Solaris
How easy it is to set up a Canon plotter (36" paper) on Solaris 10?
The one I'm looking at purchasing (ImagePROGRAF iPF755 MFP) uses HP-GL/2. The newer one looks like it dropped HP-GL/2 support and has a Canon proprietary language called GARO. I'm guessing that will make setup in Solaris not as... (7 Replies)
Discussion started by: markolinux
7 Replies
2. Hardware
We currently have an HP DesignJet 750C+ plotter (for color plotting) and a Xerox 8825 (for B/W plotting and also scanning/copying) for our engineering drawings.
They are getting old and will need replacing soon (maintenance visits are on the increase, and parts for the Xerox are getting hard to... (0 Replies)
Discussion started by: markolinux
0 Replies
3. Shell Programming and Scripting
Hi,
I've a data file having entries like this-
$ cat BDWL.out
19571
349484
18963
349568
20180
351389
20372
350253
Now I want to add each entry and produce the final sum =1479780 as output.
How can I do that using unix shell scripting?? using loop or sed/awk ??
Thanks,
Naresh (5 Replies)
Discussion started by: NARESH1302
5 Replies
4. UNIX for Dummies Questions & Answers
Hello Experts,
Guide me how to add new users (user id , passwd) in unix/Linux with different privileges
like -->
1> It can be accessible by telnet (or where i should check/change to give different privileges like telnet or ssh2 or FTP)
2> can run only 1 command / script (2 Replies)
Discussion started by: darshak
2 Replies
5. Shell Programming and Scripting
Hi,
Can anyone help me how to add leading zero's (0's) infront of numbers in unix script.
For more details.
x=450
Y=2344
i want the out put of 00000450, 000002344 (leading 5 zeros)
Thanks
A. Raj. (8 Replies)
Discussion started by: easterraj
8 Replies
6. Shell Programming and Scripting
Hi,
I have an xml file
<Disp
x=y a=b
Disp/>
<Disp
q=1 w=2
Disp/>
.....
I want to add a new set in between like this for a set of 100 files.
<Disp
x=y a=b
Disp/>
<Disp
k=1 z=2
Disp/>
<Disp
q=1 w=2 (7 Replies)
Discussion started by: naga_5star
7 Replies
7. HP-UX
Hi to all,
i am new to hp-ux. I am configured plotter on hp-ux through sam.It was network plotter.That plotter was added to lpspooler.
But i am not getting that plotter , when i want to give print request.
please help me anybody.
it's very urgent to me.
please. (0 Replies)
Discussion started by: balarajum
0 Replies
8. Solaris
I'm using Sunblade and i'm trying to plot using networking but i do not know how to set the plotter in my system. (0 Replies)
Discussion started by: etyna
0 Replies
9. UNIX for Advanced & Expert Users
While this is technically a newbie question, it is an advanced/expert situation so that's why I posted it here.
I'm an intern at a company that recently aquired another business that ran off the HP-UX 10.20 unix platform. They (and myself) do not have any experience with it. I have spent... (0 Replies)
Discussion started by: intern
0 Replies
10. UNIX for Dummies Questions & Answers
HP B.10.20 using Vue, using SiteComp software to do Cad drawings, how can I set HP plotter to Designjet 220? Currently set to HP 750. (0 Replies)
Discussion started by: frigd
0 Replies
socklog-conf(8) System Manager's Manual socklog-conf(8)
NAME
socklog-conf - sets up a socklog(8) service.
SYNOPSIS
socklog-conf unix|inet|klog|ucspi-tcp acct logacct
socklog-conf notify acct grp
DESCRIPTION
socklog-conf creates /etc/sv if necessary and a subdirectory that runs the unix, inet, ucspi-tcp or notify service (see below for each ser-
vice). Except for the notify service, socklog-conf also creates a log directory with subdirectories.
acct, logacct and grp must not contain any special characters.
UNIX SERVICE
socklog-conf unix acct logacct
Running socklog-conf with the 1st argument unix, socklog-conf creates the service directory /etc/sv/socklog-unix and the log directory
/var/log/socklog.
socklog-conf arranges for socklog(8) to run under the uid and gid of acct and to listen for syslog messages on /dev/log.
It also creates automatically rotated log directories in /var/log/socklog. The logs are owned by logacct. The corresponding svlogd(8)
process runs under the uid and gid of logacct.
You can add the service to system-wide service supervision through the update-service(8) program:
update-service --add /etc/sv/socklog-unix
INET SERVICE
socklog-conf inet acct logacct
Running socklog-conf with the 1st argument inet, socklog-conf creates the service directory /etc/sv/socklog-inet and the log directory
/var/log/socklog-inet.
socklog-conf arranges for socklog(8) to run under the uid and gid of acct and to listen for syslog messages on the UDP socket 0.0.0.0:514.
It also creates automatically rotated log directories in /var/log/socklog-inet. The logs are owned by logacct. The corresponding
svlogd(8) process runs under the uid and gid of logacct.
You can add the service to system-wide service supervision through the update-service(8) program:
update-service --add /etc/sv/socklog-inet
KLOG SERVICE
socklog-conf klog acct logacct
Running socklog-conf with the 1st argument klog, socklog-conf creates the service directory /etc/sv/socklog-klog and the log directory
/var/log/socklog-klog.
socklog-conf arranges for socklog(8) to run under the uid and gid of acct and to read kernel messages from /proc/kmsg on Linux, or
/dev/socklog-klog on BSD.
It also creates automatically rotated log directories in /var/log/socklog-klog. The logs are owned by logacct. The corresponding
svlogd(8) process runs under the uid and gid of logacct.
You can add the service to system-wide service supervision through the update-service(8) program:
update-service --add /etc/sv/socklog-klog
UCSPI-TCP SERVICE
socklog-conf ucspi-tcp acct logacct
Running socklog-conf with the 1st argument ucspi-tcp, socklog-conf creates the service directory /etc/sv/socklog-ucspi-tcp and the log
directory /var/log/socklog-ucspi-tcp.
socklog-conf arranges for tcpsvd(1) to run socklog(8) under the uid and gid of acct and to listen on the TCP socket 0.0.0.0:10116.
It also creates automatically rotated log directories in /var/log/socklog-ucspi-tcp. The logs are owned by logacct. The corresponding
svlogd(8) process runs under the uid and gid of logacct.
You can add the service to system-wide service supervision through the update-service(8) program:
update-service --add /etc/sv/socklog-ucspi-tcp
NOTIFY SERVICE
socklog-conf notify acct grp
Running socklog-conf with the 1st argument notify, socklog-conf creates the service directory /etc/sv/socklog-notify.
socklog-conf arranges for uncat(1) to run under the uid and gid of acct and to listen on the named pipe /var/log/socklog/.notify. The
named pipe will have mode 0620, the uid of acct and the gid of grp.
All uids running a log service that is configured to push log events to the socklog-notify service must be member of the group grp.
You can add the service to system-wide service supervision through the update-service(8) program:
update-service --add /etc/sv/socklog-notify
SEE ALSO
socklog(8), svlogd(8), nc(1), tryto(1), uncat(1), socklog-check(8), tcpsvd(8), sv(8), runsv(8), runsvdir(8)
http://smarden.org/socklog/
http://smarden.org/runit/
AUTHOR
Gerrit Pape <pape@smarden.org>
socklog-conf(8)