05-10-2017
Quote:
Originally Posted by
Anjan Ganguly
My system is based on RHEL 6.2.I can tell you the server version tomorrow.
The hardware would be more relevant. Also look for any interesting-looking messages in
dmesg | less like "losing some ticks".
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
1) how to show directories in ls command? i went to man ls, and saw this -d flag but doesnt help..
2) say we put this
alias ls='ls -F' in .profile..
how do we let inform .profile that there is a new entry besides restarting the system. thanks.
my shell is KSH. (4 Replies)
Discussion started by: yls177
4 Replies
2. Solaris
:confused: :( I had a Intel P4 2.6 HT pc with 256DDRAM. I installed solaris 10 with most of the default configuration by the system...now when i boot the system with solaris 10, after the boot screen is past and desktop login screen is about to appears the monitor goes down and displays "OUT OF... (0 Replies)
Discussion started by: sunilpatwal
0 Replies
3. AIX
Hi
When i use "w" command, It list some users with "-" command. That means these use already logout,but still in the system somewhere, no process but list under the "w" and "who" command.How can i get rid of these user. Can anybody help me out.thanks a lot
xiko (2 Replies)
Discussion started by: xiko
2 Replies
4. UNIX for Advanced & Expert Users
After rcp -rp from remote host, using du -k to verify the file size but total file size have different size. Check on individual file, file size is correct.
How can I confirm on the file size after ftp?
Pls advise.
Thank you. (15 Replies)
Discussion started by: KhawHL
15 Replies
5. UNIX for Dummies Questions & Answers
As in
>ls -l *.name
-rw-r--r-- 1 c2s ... file0.name
-rw-r--r-- 1 c2s ... file1.name
-rw-r--r--@ 1 c2s ... file2.name
-rw-r--r--@ 1 c2s ... file3.name
As the example shows, it only happens for some files.
What does the @ mean?
The @ is not described in the man page for ls (3 Replies)
Discussion started by: c2s
3 Replies
6. Shell Programming and Scripting
I'd like to create a report that is sent to me via email. It's basically just an ls -l of a directory. However, I'd like to add a column to the end of each file listing that is a numeral - telling me at a glance how old the file is.
For example, instead of this:
$ ls -l
total 9830796... (10 Replies)
Discussion started by: cdunavent
10 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
Sorry this might be real dummy question. I have been searching from internet and diff manual, but not found any answer
.
By using diff command, how do we display the same content only (from both 2 files in 2 coloumns).
Here is the diff -y output
http://i39.tinypic.com/fa8snr.jpg
... (2 Replies)
Discussion started by: wilsonSurya
2 Replies
8. UNIX for Dummies Questions & Answers
I can do an ls -l CD* and see the following CDTEST userA RW RW R and I an logged on as userA. But if I do an ls -l the file does not appear. If I do a vi CDTEST it tries to create a new file named CDTEST. If I do a mv or rm I get the message no file of name CDTEST found. Any idea what is going on.... (3 Replies)
Discussion started by: LeeT
3 Replies
9. UNIX for Dummies Questions & Answers
I am working on ksh shell.
In some folders if i write
ls *MYFILE* > NEWFILE
then it shows error on few files as
<filename>/:NOT A DIRECTORY
i have around 9 thousand files in this folder and out of them around 61 are showing error.
However, when i created softlink of that directory and... (3 Replies)
Discussion started by: JYOTIHA
3 Replies
10. SuSE
Hi
im using vmware esxi 5.1 and my guest is suse 10SP3 64bit
at start it was configured with only 1 cpu. i added 1 more cpu.
when i run this command: lscpu,
it shows only 1 cpu installed
how can i fix that?
thanks! (4 Replies)
Discussion started by: guy3145
4 Replies
DMESG(1) User Commands DMESG(1)
NAME
dmesg - print or control the kernel ring buffer
SYNOPSIS
dmesg [options]
dmesg --clear
dmesg --read-clear [options]
dmesg --console-level level
dmesg --console-on
dmesg --console-off
DESCRIPTION
dmesg is used to examine or control the kernel ring buffer.
The default action is to read all messages from kernel ring buffer.
OPTIONS
The --clear, --read-clear, --console-on, --console-off and --console-level options are mutually exclusive.
-C, --clear
Clear the ring buffer.
-c, --read-clear
Clear the ring buffer contents after printing.
-D, --console-off
Disable printing messages to the console.
-d, --show-delta
Display the timestamp and time delta spent between messages. If used together with --notime then only the time delta without the
timestamp is printed.
-E, --console-on
Enable printing messages to the console.
-f, --facility list
Restrict output to defined (comma separated) list of facilities. For example
dmesg --facility=daemon
will print messages from system daemons only. For all supported facilities see dmesg --help output.
-h, --help
Print a help text and exit.
-k, --kernel
Print kernel messages.
-l, --level list
Restrict output to defined (comma separated) list of levels. For example
dmesg --level=err,warn
will print error and warning messages only. For all supported levels see dmesg --help output.
-n, --console-level level
Set the level at which logging of messages is done to the console. The level is a level number or abbreviation of the level name.
For all supported levels see dmesg --help output.
For example, -n 1 or -n alert prevents all messages, except emergency (panic) messages, from appearing on the console. All levels
of messages are still written to /proc/kmsg, so syslogd(8) can still be used to control exactly where kernel messages appear. When
the -n option is used, dmesg will not print or clear the kernel ring buffer.
-r, --raw
Print the raw message buffer, i.e., don't strip the log level prefixes.
-s, --buffer-size size
Use a buffer of size to query the kernel ring buffer. This is 16392 by default. (The default kernel syslog buffer size was 4096 at
first, 8192 since 1.3.54, 16384 since 2.1.113.) If you have set the kernel buffer to be larger than the default then this option
can be used to view the entire buffer.
-T, --ctime
Print human readable timestamps. The timestamp could be inaccurate!
The time source used for the logs is not updated after system SUSPEND/RESUME.
-t, --notime
Don't print kernel's timestampts.
-u, --userspace
Print userspace messages.
-V, --version
Output version information and exit.
-x, --decode
Decode facility and level (priority) number to human readable prefixes.
SEE ALSO
syslogd(8)
AUTHORS
Karel Zak <kzak@redhat.com>
Theodore Ts'o <tytso@athena.mit.edu>
AVAILABILITY
The dmesg command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
util-linux July 2011 DMESG(1)