04-07-2010
prn----xc zero length files
Solaris 10 running Webserver 7
I keep getting MANY prn----xc zero length files created in /var/tmp owned by the process that runs the web server (webservd).
I can not figure out what process is creating them. The dashes appear to be random numbers as in prn1921xc.
I thought they might be related to a printer but there are no printers defined/attached to the server.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Is there a command that sets a variable length?
I have a input of a variable length field but my output for that field needs to be set to 32 char.
Is there such a command?
I am on a sun box running ksh
Thanks (2 Replies)
Discussion started by: r1500
2 Replies
2. UNIX for Dummies Questions & Answers
Hi ,
I have a peculiar case, where my sed command is working on a file which contains lines of small length.
sed "s/XYZ:1/XYZ:3/g" abc.txt > xyz.txt
when abc.txt contains lines of small length(currently around 80 chars) , this sed command is working fine.
when abc.txt contains lines of... (3 Replies)
Discussion started by: thanuman
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,
How can I use ls command to Delete all files with zero length in a given path using ls command (I guess awk is required!)?
Thanks. (6 Replies)
Discussion started by: GNMIKE
6 Replies
4. Shell Programming and Scripting
Hi
How to sort a fixed length file on a given char range and just display the duplicates.
I did search for man sort to find any option but could find any.,something similar to cut -c 1-5,25-35.
I have alternate way of doing this by using combination of cut,awk. but this
creates extra temp... (6 Replies)
Discussion started by: sach_in
6 Replies
5. Shell Programming and Scripting
Hi Unix Champs,
I want to awk on a fixed length file.
Instead if the file was a delimited file, then I could have used -F and then could have easily done manipulation on the fields.
How do i do the same in case of fixed length file?
Thanks in Advance.
Regards. (7 Replies)
Discussion started by: c2b2
7 Replies
6. UNIX for Dummies Questions & Answers
I want to find out the record length of a fixed length file? I forgot the command. Any body know? (9 Replies)
Discussion started by: tranq01
9 Replies
7. Shell Programming and Scripting
Dear all,
I have the following problem (it originates in the domain of bio-inf, but it is a general problem).
I have two files of one column each and of different length: a.txt and b.txt.
a.txt contains alphanumeric strings (around 30 digit) and there are 300 rows
b.txt contains alphanumeric... (2 Replies)
Discussion started by: ad_meis
2 Replies
8. UNIX for Dummies Questions & Answers
Can some one pls help me
Unix command to List the files whole length is < 5 in a directory (4 Replies)
Discussion started by: asappidi
4 Replies
9. 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
10. Shell Programming and Scripting
Hello Everyone,
I am stuck with one issue while working on abstract flat file which i have to use as input and load data to table.
Input Data-
------ ------------------------ ---- -----------------
WFI001 Xxxxxx Control Work Item A Number of Records
------ ------------------------... (5 Replies)
Discussion started by: sonali.s.more
5 Replies
LEARN ABOUT SUNOS
printmgr
printmgr(1M) System Administration Commands printmgr(1M)
NAME
printmgr - Solaris Print Manager is a graphical user interface for managing printers in a network
SYNOPSIS
/usr/sadm/admin/bin/printmgr
DESCRIPTION
Solaris Print Manager is a Java-based graphical user interface that enables you to manage local and remote printer access. This tool can be
used in the following name service environments: LDAP, NIS, NIS+, and files. You must be logged in as superuser to use this tool.
Using Solaris Printer Manager is the preferred method for managing printer access because Solaris Print Manager centralizes printer infor-
mation when it is used in a name service environment.
Adding printer information to a name service makes access to printers available to all systems on the network and generally makes printer
administration easier because all the information about printers is centralized.
Solaris Print Manager may be run on a remote system with the display sent to the local system. See the System Administration Guide:
Advanced Administration for instructions on setting the DISPLAY environment variable.
Using Solaris Print Manager to perform printer-related tasks automatically updates the appropriate printer databases. Solaris Print Manager
also includes a command-line console that displays the lp command line for the add, modify, and delete printer operations. Errors and warn-
ings may also be displayed when Printer Manager operations are performed.
Help is available by clicking the <Help> button.
USAGE
Solaris Print Manager enables you to do the following tasks:
Select a Name Service
Select a name service for retrieving or changing printer information.
Add Access to a Printer
Add printer access on a printer client using Solaris Print Manager.
Add an Attached Printer
After physically attaching the printer to a system, use Solaris Print Manager to install a local printer and make it available for
printing.
Add a Network Printer
After physically attaching the printer to a system, use Solaris Print Manager to install a local printer and make it available for
printing.
Modify Printer Properties
After adding access to a printer or adding an attached or network printer, you can modify certain printer attributes.
Delete a Printer
Delete access to a printer from the print client or delete a printer from the print server or from the name service environment.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWppm |
+-----------------------------+-----------------------------+
SEE ALSO
ldap(1), lpget(1M), lpset(1M), attributes(5)
System Administration Guide: Advanced Administration for information on LDAP server replication.
Although users can use the LDAP command line utilities ldapadd(1) and ldapmodify(1)to update printer entries in the directory, the pre-
ferred method is to use lpset. Otherwise, if the lpadd and lpmodify utilities are used, the administrator must ensure that the printer-name
attribute value is unique within the ou=printers container on the LDAP server. If the value is not unique, the result of modifications done
using lpset or the Solaris Print Manager, printmgr(1M) may be unpredictable.
SunOS 5.10 23 May 2003 printmgr(1M)