I have 3510 Disk Array attached to T2000 sever running Solaris 10 and I have set up Diagnostic Reporter to send status update via email once a day. Since logs are growing everyday, my email is getting big too.
I cannot recall what file I need to echo > , so that only new logs are sent.
Kindly... (1 Reply)
hi friends,
i would like to know where the logs are store in the sun solaris .
i want to know particular logs where user are executing command , editing some process,deleting some file etc,file tranfers.
I have tried editing syslog.conf file,but i am not getting the information which i... (2 Replies)
Hi
we run rsh (password-less) among solaris 9/10 boxes very frequently and would like to know if there exist any logs which will capture either login session or the commands run (using rsh) or with any other info.
TIA
Reddy (0 Replies)
Hi
Is there anyway to disable all logs/logging (lastlog, sulog, messages etc.) in Solaris 9&10? I know this is not recommended but i just want to know if this is possible.
TIA
Reddy (8 Replies)
Hi Folks,
I need to remove log files for six hours on Solaris. before i used to do for every 24 hours below is the code for 1 day older log files, now i tried using -mmin +360 but it says command not found.
Can someone please help me out!!!
part of the code:
LOG_FILE=`find /home/Logdir... (1 Reply)
I am executing a stored procedure through shell script. In the procedure, i have dbms_output.put_line to log the comments. This is working fine and but logs are available only after the execution of the pl/sql procedure's completion.
I want to print the log comments while executing the procedure... (2 Replies)
Does anyone know if there is software written to view the audit logs generated by Solaris? I am referring the the logs created by auditd. It produces an unreadable log. I am familiar with auditreduce and praudit, but I am looking for something that produces a report, much like logwatch looks at the... (4 Replies)
Guys, I have a issue that I am trying to rectify please advise.
lpstat -t shows
scheduler is running
printer lext644 disabled since Mon Dec 02 19:48:18 2013. available.I have restarted the printer service and it shows online but the above says disabled. I have a lot of jobs in the print... (1 Reply)
I would like to get only some particular date logs from /var/adm/messages. Please suggest any command or script to get this. (3 Replies)
Discussion started by: seenuvasan1985
3 Replies
LEARN ABOUT REDHAT
lpr-cups
lpr(1) Easy Software Products lpr(1)NAME
lpr - print files
SYNOPSIS
lpr [ -E ] [ -P destination ] [ -# num-copies [ -l ] [ -o option ] [ -p] [ -r ] [ -C/J/T title ] [ file(s) ]
DESCRIPTION
lpr submits files for printing. Files named on the command line are sent to the named printer (or the system default destination if no des-
tination is specified). If no files are listed on the command-line lpr reads the print file from the standard input.
OPTIONS
The following options are recognized by lpr:
-E
Forces encryption when connecting to the server.
-P destination
Prints files to the named printer.
-# copies
Sets the number of copies to print from 1 to 100.
-C name
Sets the job name.
-J name
Sets the job name.
-T name
Sets the job name.
-l
Specifies that the print file is already formatted for the destination and should be sent without filtering. This option is equivalent
to "-oraw".
-o option
Sets a job option.
-p
Specifies that the print file should be formatted with a shaded header with the date, time, job name, and page number. This option is
equivalent to "-oprettyprint" and is only useful when printing text files.
-r
Specifies that the named print files should be deleted after printing them.
COMPATIBILITY
The "c", "d", "f", "g", "i", "m", "n", "t", "v", and "w" options are not supported by CUPS and will produce a warning message if used.
SEE ALSO cancel(1), lp(1), lpstat(1), CUPS Software Users Manual, http://localhost:631/documentation.html
COPYRIGHT
Copyright 1993-2002 by Easy Software Products, All Rights Reserved.
23 January 2001 Common UNIX Printing System lpr(1)