General :: Kernel Log Format - Numbers In Brackets?

Oct 6, 2009

In the file /var/log/kern.log, I see kernel logs in the following format,
Oct 6 11:18:30 machine kernel: [212.443755] Some logs...
What are the numbers in the bracket [212.443755] stands for?

View 2 Replies


ADVERTISEMENT

Ubuntu :: Log Files - Numbers In Brackets Mean And .0's?

Feb 18, 2011

On startup, I get messages which look like this:

[Code]...

What do the numbers in brackets mean? (I tried looking, but I don't know how to start to search for the answer to that without being too vague). I've noticed they're nearly always progressive (increasing). Do they just refer to the event number? And in my log file viewer, why is there a dmesg and a dmesg.0?

View 2 Replies View Related

General :: Result Of Type Command Is Hashed And Shows Another Path In Brackets?

May 30, 2011

I came across this reult of the type command (hashed) in another post. (see below).

Code:

fraespappp8:/data/apps > type topic_file_publish.sh
topic_file_publish.sh is hashed (/data/apps/pnbgstk/publication/topic_file_publish.sh)
This (result = hashed) is new to me.

I wonder which kernel/distro/shell it is from.

View 1 Replies View Related

General :: Booting Into Kernel - Error 13: Invalid Or Unsupported Executable Format

Sep 13, 2010

I've been playing around with trying to assemble a bare-bones Linux system on a disk.img file through a loop device. I compiled the most recent stable kernel and then copied it onto the root partition in the image. When I try to boot up into the image using qemu, grub gives me this:


Code:
Booting 'tiny'
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /boot/vmlinux
Error 13: Invalid or unsupported executable format

Press any key to continue... I am confused because I compiled the kernel with 'make bzImage', and the architecture hasn't changed (qemu on the same machine used to build the kernel). So it should be bzImage format. Is that what this Error 13 means, or could it means something else is wrong...?

View 1 Replies View Related

Programming :: Create Inverted Files To Associate Files To Numbers ( Numbers Being The Index Of My Paths )?

Apr 4, 2011

am writing a small search program for my class. I have decided to use indexing for my program. Ive researched online about indexing and how search engines do it. If im gonno do that I need to create inverted files to associate files to numbers ( numbers being the index of my paths ) . Now I was wondering what would be the best way to create an inverted file ? I was going to create sql tables using mysql api in C but then again there is no array data type or vectors to store few numbers in a single column in mysql and it is not advised to use Enum or SET

View 14 Replies View Related

General :: Simple Script To Convert Datetime Format To UTC Format?

Oct 9, 2009

just wondering is there a simple script to convert datetime to UTC format. I have been searching different forums but most answers are for converting UTC to datetime. For example what is a simple command/script to convert todays datetime to UTC format i.e. '2009-10-09 11:47:59'.

View 10 Replies View Related

Ubuntu :: Square Brackets On Forward Subjects (Evolution)?

Feb 18, 2010

When using Evolution and forwarding a message, the composer automatically wraps the subject in [square brackets], I've looked at Preferences but cannot see where to disable them,

View 2 Replies View Related

General :: Format A USB Hard Drive To Vfat Format But Can't?

Sep 15, 2010

I need some assistance in trying to format a USB hard drive to vfat format but can't seem to do so. I am currently using RHEL 5.3. I have tried the following commands and they all come back as "command not found"

mke2fs vfat /dev/sc1
fdisk vfat /dev/sdc1
mkfs.vfat /dev/sdc1

What am I doing incorrectly?? Can someone please point me in the right direction??

View 6 Replies View Related

General :: Change One Time Format To Other Format?

Jun 21, 2010

the time format i have used is %m:%d:%Y:%H:%M:%S eg- 06:21:10:13:29:18 and i want to convert it to 2010-06-21 13:29:18..

View 4 Replies View Related

Ubuntu :: Letters In Brackets In Bookmarks In Opera - Not Visible - Shut-down In 60 Secs Message

Jan 24, 2010

The letters in brackets in bookmarks in Opera? and how can i delete them because they are not visible in manage bookmarks?

Also how can i get rid of the "Shut-down in 60 secs" message when i shut it down? Or at least can i alter the time till shutdown? Ubuntu 9.10 64 bit by the way

View 3 Replies View Related

Ubuntu :: Alphabet - File Browser Ignores The Brackets - Making Old Method Ineffective

Mar 21, 2010

The way I organize all my files into their folders, they add up quickly. I like having a quick way to keep more frequently accessed folders at the top of the list in explorer. In windows, folder "[zippidy do da]" would appear above folder "aardvark" because of the brackets, but Ubuntu's file browser ignores the brackets, making my old method ineffective. I could put a zero in front of such folders

View 5 Replies View Related

Red Hat / Fedora :: PXE Boot Kernel Image Format ?

Feb 17, 2010

Ive been trying to PXE boot a XEN kernel image in gzip format, and I was getting Invalid or corrupt kernel format error. Ive seen that other kernel images having a file type of Linux kernel x86 boot executable RO-rootFS are bootable. (both are bootable using grub anyhow).

Is there any way to convert the b/n the formats, or any other solution?

I was booting a Virtualbox instance, again I guess that shouldn't matter because pxelinux loads from tftp properly, but it doesn't even proceed to load the kernel. I think the issue here is with the image format itself rather than what it contains, or where it runs.

View 2 Replies View Related

General :: Add Decimal Numbers?

Aug 10, 2010

Can anyone specify the methods how to add decimal numbers in Linux

View 5 Replies View Related

General :: Set The Gpio Pin Numbers For SCL And SDA?

Mar 2, 2011

On my board there is no i2c lines out. So I am trying to get i2c over GPIO by GPIO bit-banging. How to use i2c-gpio driver? Where to set the gpio pin numbers for SCL and SDA?

View 1 Replies View Related

General :: Random Numbers Between -5.0 To +5.0?

May 25, 2010

How to create random numbers between -5.0 to +5.0

View 12 Replies View Related

General :: Getting Numbers From A Line Of Text?

May 10, 2010

I'm working with a rather large file of data taking from a tracking program on my phone, and trying to pull only the longitude and latitude from it. Any given line in the data looks more or less like this:

{"lon":-122.3083848,"time":1.273515839496E9,"source":"skyhook","nap":28,"altitude":0,"name":"location","hpe" :29,"bearing":0,"ncell":0,"lat":47.6544453}

I've run it through this command:

grep skyhook log-2010-05-10_18-17-28.json | cut -d"," -f1,10

to get this:

{"lon":-122.30872015,"lat":47.65812201}
{"lon":-122.3076686,"lat":47.6569975}
{"lon":-122.3079161,"lat":47.656395}
{"lon":-122.3096168,"lat":47.656218}
{"lon":-122.3096285,"lat":47.656206}

Which is a lot nicer, but I would prefer not to have to hand remove the non-number characters by hand since there are thousands of data points. what I could do to get it to just be longitude and latitude in 'number number' format?

View 8 Replies View Related

General :: Getting Serial Numbers Of H/w From A Host

Aug 1, 2011

Does any one know the process or commands to get the serial no: of a h/w device from a host?

I am looking for serial No: of Hdd,Graphic card,processor,RAM

I can get the serials of HDD & RAM using hdparm & dmidecode,but don't know how to get it for processor & Graphics card.

View 6 Replies View Related

General :: How To Enable Alt + Numbers In Ubuntu?

Mar 17, 2011

I want to use the Alt + numbers function in Ubuntu but I don't know how> I researched it first and i read I had to do Shift + Ctrl + numbers but ti doesn't work,

View 4 Replies View Related

General :: How To Ls Files That Start With Numbers?

May 13, 2010

I want wondering if I can ls files that start with numbers only in a folder.

Suppose:
001.txt
302.txt

[code]....

View 6 Replies View Related

General :: What Command Run To Determine The IP Numbers?

Apr 20, 2011

Firstly I would like to say that Linux is very cool, especially the CLI. I have been trying to learn how to do some things in Fedora after being told Fedora was a good distro to get my feet wet. I have run into some issues and cant seem to find any answers. What Linux utility can be configured to automatically save the current logs?

How does your Fedora get an IP number? What IP numbers has your Fedora been assigned since it was installed (based on the logs you have)? What command did you run to determine the IP numbers? What command would you run to determine the number of times a user successfully used "su"? What command would you run to determine the number of times a user unsuccessfully used "su"? Having some issues with the file system as your Fedora boots up.

View 5 Replies View Related

CentOS 5 :: Died, Kernel File Not Found \ Get:Error 13: Invalid Or Unsupported Executable Format?

Aug 31, 2011

I have a weird problem with one of my servers (normal PC hardware). I was connected remotely using Putty, doing some stuff, and all of the sudden some commands, like "ls" stopped working, giving a "file or command not found" type of message. I restarted the ssh session, only to find out I couldn't log on any more (access denied). When I got home and rebooted the system, I was greeted with this:Booting 'CentOS (2.6.18-194.el5xen)'root (hd0,0)Filesystem type is ext2fs, partition type 0x83kernel /boot/xen.gz-2.6. 18-194.el5Error 15: File not foundPress any key to continue...Then I searched about this, found out that the files in /boot/grub/menu.lst did not exist at the specified location (/boot/xen.gz-2.6. 18-194.el5). Somehow I managed to find them in another place, copied them in place, and now I get:Error 13: Invalid or unsupported executable format

View 3 Replies View Related

General :: Show The Permissions With Numbers Instead Of With Letters?

Jun 3, 2010

Any way to show the permissions with numbers (777) instead of with letters (drwxrwxrwx) using "ls" command or any other command ?

View 2 Replies View Related

General :: Find Files In A Directory That Contain Numbers?

Mar 1, 2011

I am trying find files in a directory that contain numbers. I have tried ls /etc *[0-9]* but that doesn't work. If I cd to /etc and run ls *[0-9]* it almost works but it also includes results from within files. My last thought was to try: find /etc [0-9] -type f but this does not work either. My second problem is that I am trying to get list of files in a directory that were changed less than 10 hours ago, using grep, while leaving out directories. I am completely stuck with the second problem.

View 8 Replies View Related

General :: If ... Elseif ... Else BASH Ladder - Take In Two Numbers And Add Them

Nov 16, 2010

Our assignment is to take in two numbers and add them. While the inputs will always be numbers, we are to inform the user if they are doing it wrong. My code:

[Code]....

The code worked fine before I tried to idiot-proof it. I'll probably end up nesting the if statements checking if the first two inputs are not null, but I'm more annoyed at why the script isn't working.

View 3 Replies View Related

General :: Using Rpm Command To Count The Numbers Of License

Feb 27, 2010

I am a newbie in Linux. Here is my question....

Create the file ~/license_counts, which tables the number of occurrences of packages which are licensed under a given license, for the top 5 most commonly used licenses, sorted in numerically descending order. If performed correctly, your file should be formatted similarly to the following. (Do not be concerned if the actual counts or license names are different. Also, you might notice logically similar licenses, such as LGPL/GPL and GPL/LGPL. Do not make any attempt to combine them into a single entry.)

The resulted format:

I tried some method but cannot get it to work.

View 2 Replies View Related

General :: Listing Directory And Files' Permission Into Numbers?

Jul 20, 2010

Is it possible for listing directory and files' permission into numbers?

Generally ls command shows directory and files' permission as follows;

[root:maestro:/home/ddisk_net]# ls -al
Total 44
drwx------ 4 ddisk_net users 4096 7월 20 10:40 .
drwxr-xr-x 21 root root 4096 7월 20 10:28 ..
-rw------- 1 ddisk_net webteam 5 7월 20 10:40 .bash_history
-rw-r--r-- 1 ddisk_net users 33 1월 22 2009 .bash_logout

[code].....

View 9 Replies View Related

General :: Assign Port Numbers Against Interface (LAN Card)

Apr 22, 2010

I am using RHEL 5. In my Linux Box I have two Lan cards (eth0 and eth1). "eth0" is connected with network 192.168.10.0 and "eth1" is connected with network 192.168.11.0. Both Network are inter connected via routing. Now I want a situation where, I want to dedicatedly assign some port numbers against a lan card. Like eth0 will be assigned for ssh (22) and eth1 is assigned for telnet (23). So that, when a user connect to 22 port then he/she is connected to the server through eth0 , and when a user connect 23 port then he/she is connected to the server through eth1. Is it possible to do using iptables or other?

View 2 Replies View Related

General :: DU Style Directory Listing With File Numbers

Sep 6, 2010

Is there a command to return a recursive listing of sub-directories and the number of files in them? I have found plenty of ways to give me the total number of files in a directory structure, but none that gives a list of the sub-directories with the number of files in them. "du" gives me a listing of directories with their sizes, but I couldn't find an option (or any other way) to give me the number of files as well. Ideally, I'd like to get list with "Size" "Files" "Dir name" - And the order of the columns doesn't matter. Is there a "simple" command line solution or do I need a shell script for that?

View 5 Replies View Related

General :: Convert The Numbers Back Into Their Corresponding ASCII Character

May 19, 2010

To encrypt the text, we take the word "python" and make it at least the same size as "welcome home" by repeating it as follows:

w e l c o m e h o m e
p y t h o n p y t h o n
Then, we convert each letter into its numerical ASCII value as follows:
w e l c o m e h o m e = 119 101 108 099 111 109 101 032 104 111 109 101

[Code].....

And, finally, we convert the numbers back into their corresponding ASCII character:

View 11 Replies View Related

General :: Line Numbers To Html In Mixed Content?

Aug 21, 2010

I have huge files, wherein some lines begin with a number. I want to convert that number to a bookmark link

Sample file:

Code:

C.S. Lewis (I think) wrote:

1 If war is ever
2 legal, then peace
3 is sometimes
4 sinful.

Text without numbers toom I need the numbers to be <a name tags where the id is the letter x and the number that is at the beginning of the line:

Code:

C.S. Lewis (I think) wrote:
<a name="x1">1</a> If war is ever
<a name="x2">2</a> legal, then peace
<a name="x3">3</a> is sometimes
<a name="x4">4</a> sinful.

Text without numbers too I'm not sure why I can't get this, but after hours of 3 line long seds and endless while read lines, grepping ^[[:digits:]]s I can't figure it out.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved