Sponsored Content
Full Discussion: console output messages
Top Forums UNIX for Dummies Questions & Answers console output messages Post 6030 by boristhespider on Tuesday 28th of August 2001 03:25:30 PM
Old 08-28-2001
console output messages

could someone please tell me how to stop error messages being displayed to the console port.

Currently, error messages are streaming to the console and I ant do anything.

many thanks.....
 

10 More Discussions You Might Find Interesting

1. Programming

Reading console output

I am writing a program that uses system() to pass commands to the command interpreter. Is there a way to read the output that the commands produce? (1 Reply)
Discussion started by: Blaster999
1 Replies

2. UNIX for Dummies Questions & Answers

Eleminating output to console

I am running Shorewall firewall config program to utilize iptables on a Debian 3.3.5 system. This system is setup for a getway/router. I am getting a message: Shorewall:bogons:Drop:IN=eth0 OUT= MAC+ mac address of eth0 SRC:someinternetIP DST=MYIPADD LEN=61 TOS+0x00 PREC=0x00 TTL=114 ID=6673... (3 Replies)
Discussion started by: pflink
3 Replies

3. Shell Programming and Scripting

output console problem

kill -s KILL 0 ----------------------- ----------------------- i have used this command in a script...it is showing "killed" in output console. i don't want that.plz help what to do.i have tried --kill -s KILL 0 >/dev/null it is still showing "killed" in the output console...what to do? (1 Reply)
Discussion started by: arghya_owen
1 Replies

4. UNIX for Advanced & Expert Users

Changing the appearance of an Output in console

I want to change the appearance of a message I got in UNIX console. Eg: In console: "no server running" I need it as "****no server running*****". Thanks in advance. (3 Replies)
Discussion started by: thomaa80
3 Replies

5. UNIX for Dummies Questions & Answers

Command display output on console and simultaneously save the command and its output

Hi folks, Please advise which command/command line shall I run; 1) to display the command and its output on console 2) simultaneous to save the command and its output on a file I tried tee command as follows; $ ps aux | grep mysql | tee /path/to/output.txt It displayed the... (7 Replies)
Discussion started by: satimis
7 Replies

6. Solaris

No Console Output

Hey everyone I have a sparc enterprise T2000 I'm trying to install solaris 10 on. The only way I can connect to it is the SER MGT console, but I'm not getting anything to display (in Hyper terminal, or PUTTY) when I boot it. Upon googleing, all I get back is "No output may have been generated.... (4 Replies)
Discussion started by: goodvikings
4 Replies

7. Shell Programming and Scripting

Grep on console output

Hellos! I want to have a unix script that will run grep on the console output. Here is what my script does: 1. Telnet into a remote server (I have done this part successfully) 2. On successful login, the remote server displays outputs information on the console. I need to run grep on that... (6 Replies)
Discussion started by: puneet1984
6 Replies

8. Shell Programming and Scripting

Output to console and to log

I have a menu based script where user will select different action via displayed menu. I want to log all the action or say whatever displayed on screen to a log file and want to achieve with in the same script. i tried named pipe as below.. logfile=mylogfile mkfifo ${logfile}.pipe... (3 Replies)
Discussion started by: vidyadhar85
3 Replies

9. UNIX for Dummies Questions & Answers

Changes to write output to logfile and console

Friends, Below is the script which writes output to LOGFILE, however I want the entire log written to LOGFILE and also console. Please suggest me the changes I need to do here. #!/bin/ksh x=${0##*/} LOGFILE="x.log" echo "CAUTION : Files once deleted cannot be restored" printf 'Would... (8 Replies)
Discussion started by: fop4658
8 Replies

10. UNIX for Beginners Questions & Answers

Console output then comparison check help

Hi everyone, need some help if anyone can spare some of their knowledge. I have a script i use and the script outputs some information of an action it performs. It lists as text when it peforms this important step: 1 renew done 2 renew done 3 renew done 4 renew done 5 renew done I had... (8 Replies)
Discussion started by: mr5ingh
8 Replies
consadm(1m)						  System Administration Commands					       consadm(1m)

NAME
consadm - select or display devices used as auxiliary console devices SYNOPSIS
/usr/sbin/consadm /usr/sbin/consadm [-a device...] [-p] /usr/sbin/consadm [-d device...] [-p] /usr/sbin/consadm [-p] DESCRIPTION
consadm selects the hardware device or devices to be used as auxiliary console devices, or displays the current device. Only superusers are allowed to make or display auxiliary console device selections. Auxiliary console devices receive copies of console messages, and can be used as the console during single user mode. In particular, they receive kernel messages and messages directed to /dev/sysmsg. On Solaris x86 based systems they can also be used for interaction with the bootstrap. By default, selecting a display device to be used as an auxiliary console device selects that device for the duration the system remains up. If the administrator needs the selection to persist across reboots the -p option can be specified. consadm runs a daemon in the background, monitoring auxiliary console devices. Any devices that are disconnected (hang up, lose carrier) are removed from the auxiliary console device list, though not from the persistent list. While auxiliary console devices may have been removed from the device list receiving copies of console messages, those messages will always continue to be displayed by the default con- sole device. The daemon will not run if it finds there are not any auxiliary devices configured to monitor. Likewise, after the last auxiliary console is removed, the daemon will shut itself down. Therefore the daemon persists for only as long as auxiliary console devices remain active. See eeprom(1M) for instructions on assigning an auxiliary console device as the system console. OPTIONS
The following options are supported: -a device Adds device to the list of auxiliary console devices. Specify device as the path name to the device or devices to be added to the auxiliary console device list. -d device Removes device from the list of auxiliary console devices. Specify device as the path name to the device or devices to be removed from the auxiliary console device list. -p Prints the list of auxiliary consoles that will be auxiliary across reboots. When invoked with the -a or -d options , tells the application to make the change persist across reboot. EXAMPLES
Example 1: Adding to the list of devices that will receive console messages The following command adds /dev/term/a to the list of devices that will receive console messages. example# consadm -a /dev/term/a Example 2: Removing from the list of devices that will receive console messages The following command removes /dev/term/a from the list of devices that will receive console messages. This includes removal from the per- sistent list. example# consadm -d -p /dev/term/a Example 3: Printing the list of devices selected as auxiliary console devices The following command prints the name or names of the device or devices currently selected as auxiliary console devices. example# consadm ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables that affect the execution of consadm: LC_CTYPE, LC_MESSAGES, and NLSPATH. EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ |ATTRIBUTE TYPE |ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Stability Level |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
svcs(1), eeprom(1M), svcadm(1M), syslogd(1M), kadb(1M), environ(5), attributes(5), smf(5), sysmsg(7d), console(7d) NOTES
Auxiliary console devices are not usable for kadb or firmware I/O, do not receive panic messages, and do not receive output directed to /dev/console. The consadm service is managed by the service management facility, smf(5), under the service identifier: svc:/system/consadm Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser- vice's status can be queried using the svcs(1) command. SunOS 5.10 27 Oct 2004 consadm(1m)
All times are GMT -4. The time now is 03:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy