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 REDHAT
lpstat-cups
lpstat(1) Easy Software Products lpstat(1)
NAME
lpstat - print cups status information
SYNOPSIS
lpstat [ -E ] [ -a [ destination(s) ] ] [ -c [ class(es) ] [ -d ] [ -h server ] [ -l ] [ -o [ destination(s) ] ] [ -p [ printer(s) ] ] [ -r
] [ -R ] [ -s ] [ -t ] [ -u [ user(s) ] ] [ -v [ printer(s) ] [ -W [ which-jobs ] ]
DESCRIPTION
lpstat displays status information about the current classes, jobs, and printers. When run with no arguments, lpstat will list jobs queued
by the user. Other options include:
-E
Forces encryption when connecting to the server.
-a [printer(s)]
Shows the accepting state of printer queues. If no printers are specified then all printers are listed.
-c [class(es)]
Shows the printer classes and the printers that belong to them. If no classes are specified then all classes are listed.
-d
Shows the current default destination.
-h server
Specifies the CUPS server to communicate with.
-l
Shows a long listing of printers, classes, or jobs.
-o [destination(s)]
Shows the jobs queue on the specified destinations. If no destinations are specified all jobs are shown.
-p [printer(s)]
Shows the printers and whether or not they are enabled for printing. If no printers are specified then all printers are listed.
-r
Shows whether or not the CUPS server is running.
-R
Shows the ranking of print jobs.
-s
Shows a status summary, including the default destination, a list of classes and their member printers, and a list of printers and
their associated devices. This is equivalent to using the "-d", "-c", and "-p" options.
-t
Shows all status information. This is equivalent to using the "-r", "-d", "-c", "-d", "-v", "-a", "-p", and "-o" options.
-u [user(s)]
Shows a list of print jobs queued by the specified users. If no users are specified, lists the jobs queued by the current user.
-v [printer(s)]
Shows the printers and what device they are attached to. If no printers are specified then all printers are listed.
-W [which-jobs]
Specifies which jobs to show, completed or not-completed (the default).
COMPATIBILITY
Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE and TAB. Also, printer and
class names are not case-sensitive.
The "-h" option is not a standard System V option.
The Solaris "-f", "-P", and "-S" options are silently ignored.
The "-W" option is unique to CUPS.
SEE ALSO
cancel(1), lp(1), CUPS Software Users Manual, http://localhost:631/documentation.html
COPYRIGHT
Copyright 1993-2002 by Easy Software Products, All Rights Reserved.
2 October 2002 Common UNIX Printing System lpstat(1)