05-08-2012
This is on an embedded device with Linux 2.6.27.39-grsec.
dmesg only gives kernel logs, the logs i intent to collect come from the ramfs, before booting the kernel.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I am fairly new to UNIX. I ran command tty on my shell prompt and it return me /dev/console.
I was reading in the book that normally output of tty command is tty01 , tty02 or so on.
My question is this is the file for my monitor? UNIX called it Terminal or Workstation?
What is this... (4 Replies)
Discussion started by: malikabid
4 Replies
2. Solaris
Hi, Anyone can help
My solaris 8 system has the following
/dev/null , /dev/tty and /dev/console
All permission are lrwxrwxrwx
Can this be change to a non-world write ??
any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies
3. BSD
Hi,
The output of the cat ttys on a free BSD m/c
console none unknown off secure
#
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyd0 "/usr/libexec/getty std.9600" unknown on secure
ttyd1 "/usr/libexec/getty std.9600" dialup off
ttyd2... (0 Replies)
Discussion started by: mlalitha
0 Replies
4. UNIX for Advanced & Expert Users
We are using software (Pegasys) which runs on SunOS 5.8 and reads images from a Philips nuclear camera. The software is designed to run from the console. I need to be able to capture the images it produces on the display. The caveat is that I cannot use the X Windows display because the X Server... (3 Replies)
Discussion started by: sreyes27
3 Replies
5. Shell Programming and Scripting
Hi Guys,
I am trying to capture the FTP Logs in a log file.
I am using the below code.
ftp -d -n -v $Remote_Host << EOD > $Ftp_LOG;
Since iam running the script in debug mode, i am able to see that the ftp is done and the file has been transferred.
But the log file does not have... (7 Replies)
Discussion started by: mac4rfree
7 Replies
6. Shell Programming and Scripting
I have two set of questions.
1) To skip killing some process automatically.
2) To kill other process and capture their log.
I have set of process, some needs to be killed gracefully and others should be skipped.
Listed are the process.
adm 1522... (1 Reply)
Discussion started by: murali1687
1 Replies
7. Shell Programming and Scripting
Suppose another person wrote the following one-line shell script:
echo $RANDOM > /dev/tty
QUESTION #1: How can the random number, which is output to the terminal by this script, be captured in a variable?
QUESTION #2: How can this be done in a cron job?
Specific code, whether in ksh or... (1 Reply)
Discussion started by: Paul R
1 Replies
8. Shell Programming and Scripting
Hi Guys, I'm very new to Shell scripting and have to design a code which I'm not able to find a way to. I will try to explain the aim in detail and shall be obliged if anyone could help me with the coding snippet.
I have an input file who's every row has a few details about an autosys Job. I shall... (0 Replies)
Discussion started by: Crusnik02
0 Replies
9. UNIX for Beginners Questions & Answers
Hi Guys, I'm very new to Shell scripting and have to design a code which I'm not able to find a way to. I will try to explain the aim in detail and shall be obliged if anyone could help me with the coding snippet.
I have an input file who's every row has a few details about an autosys Job. I shall... (1 Reply)
Discussion started by: Crusnik02
1 Replies
10. Shell Programming and Scripting
I have a script
#!/bin/bash
HOST=ftp.example.com
USER=ftpuser
PASSWORD=P@ssw0rd
ftp -inv $HOST <<EOF
user $USER $PASSWORD
cd /path/to/file
mput *.html
bye
EOF
the script executes sucessfully I need to capture the FTP logs to a logfile
should contain
FTP Login successful
... (1 Reply)
Discussion started by: rajeshas83
1 Replies
LEARN ABOUT OPENSOLARIS
console
console(7D) Devices console(7D)
NAME
console - STREAMS-based console interface
SYNOPSIS
/dev/console
DESCRIPTION
The file /dev/console refers to the system console device. /dev/console should be used for interactive purposes only. Use of /dev/console
for logging purposes is discouraged; syslog(3C) or msglog(7D) should be used instead.
The identity of this device depends on the EEPROM or NVRAM settings in effect at the most recent system reboot; by default, it is the
``workstation console'' device consisting of the workstation keyboard and frame buffer acting in concert to emulate an ASCII terminal (see
wscons(7D)).
Regardless of the system configuration, the console device provides asynchronous serial driver semantics so that, in conjunction with the
STREAMS line discipline module ldterm(7M), it supports the termio(7I) terminal interface.
SEE ALSO
syslog(3C), termios(3C), ldterm(7M), termio(7I), msglog(7D), wscons(7D)
NOTES
In contrast to pre-SunOS 5.0 releases, it is no longer possible to redirect I/O intended for /dev/console to some other device. Instead,
redirection now applies to the workstation console device using a revised programming interface (see wscons(7D)). Since the system console
is normally configured to be the work station console, the overall effect is largely unchanged from previous releases.
See wscons(7D) for detailed descriptions of control sequence syntax, ANSI control functions, control character functions and escape
sequence functions.
SunOS 5.11 23 Apr 1999 console(7D)