rdmsr(1) General Commands Manual rdmsr(1)NAME
rdmsr - tool for reading CPU machine specific registers (MSR)
SYNOPSIS
rdmsr [options] regno
DESCRIPTION
rdmsr is a tool used for reading a CPU's machine specific registers (MSR).
OPTIONS --help, -h
Print a list of available options
--version, -V
Print current version
--hexadecimal, -x
Display output in hexadecimal (lower case)
--capital-hex, -X
Display output in hexadecimal (upper case)
--decimal, -d
Display output in signed decimal
--unsigned, -u
Display output in unsigned decimal
--octal, -o
Display output in octal
--c-language, -c
Format output as a C language constant
--zero-pad, -0
Output leading zeroes
--zero-pad, -0
Output leading zeroes
--raw, -r
Output raw binary
--processor <#>, -p
Select processor number (default: 0)
--bitfield h:l, -f
Output bits [h:l] only
SEE ALSO wrmsr(1)AUTHOR
rdmsr was written by Transmeta Corporation
This man page was contributed by Andres Salomon <dilinger@debian.org> for the Debian GNU/Linux system (but may be used by others).
Mar 2008 rdmsr(1)
Check Out this Related Man Page
GETHOSTIP(1) General Commands Manual GETHOSTIP(1)NAME
gethostip -- convert an IP address into various formats
SYNOPSIS
gethostip [-dxnf] [HOSTNAME|IP]
DESCRIPTION
This manual page documents briefly the gethostip command.
The gethostip utility converts the given hostname or IP address into a variety formats. It is provided by the syslinux package to make it
easier to calculate the appropriate names for pxelinux configuration files. These filenames can be the complete hexadecimal representation
for a given IP address, or a partial hexadecimal representation to match a range of IP addresses.
OPTIONS
A summary of options is included below.
-d Output the IP address in decimal format.
-x Output the IP address in hexadecimal format.
-n Output the host's canonical name.
-f Full output. Outputs the IP address in all supported formats. Same as -xdn.
SEE ALSO syslinux(1)
More details can be found in the pxelinux documentation, which can be found in /usr/share/doc/syslinux/pxelinux.doc.gz on Debian GNU/Linux
systems.
AUTHOR
This manual page was compiled by dann frazier <dannf@debian.org> for the Debian GNU/Linux system (but may be used by others).
GETHOSTIP(1)
Hi
Can anyone tell me how to pad zeroes on the left side to a numeric string in unix shell scripting
Your answer is very much appreciated
Thanks
Vijay (2 Replies)
Hello Experts,,
I m facing a problem as follows.. need help..
When I am giving the below command it gives me three digit hexadecimal number , for ex :-
printf("%0.3x", 10);
Output: 00a
But I want the same for signed number also.
Now when I am specifiying the... (10 Replies)
Hi all,
I have file with numeric values. I need to pad each value with leading zeros such that total lenght of each value is 16.
Example:
cat tmp.txt
502455
50255
5026
5027
5028
Output
0000000000502455
0000000000050255
0000000000005026
0000000000005027
0000000000005028
Any... (12 Replies)
Helo ,
I m writing small module of c.on RHEL 4
I have one buffer (for e.g. buffer = "002"
now I want to check whethere buffer contains leading zeroes and if it contains
leading zeroes then I want to remove all leading zeroes
( i.e. if buffer = "002" then I want to make buffer = "2")
how... (1 Reply)
Hi Forum.
I tried searching the forum but couldn't find a solution for my question.
I have the following data and would like to have a sed syntax to remove the leading zeroes from the 2nd field only:
Before:
2010-01-01|123|1|1000|2000|500|1500|600|700... (18 Replies)
Hello all
I started computer science and C++ programming only 6 weeks ago with no prior knowledge. It's a great language, the only other one apart from English that I hope to speak fluently quite soon. I look forward to participating further on these forums, seeking answers and looking at previous... (3 Replies)
Hello.
I'm trying to add multiple numbers with varying length and with leading zeroes in it. However, I'm getting the sum (totalHashAccountNumber) without the leading zeroes in it. How do I retain the leading zeroes?
Please pardon the lengthy code.. I'm getting the hash account number from 2... (2 Replies)
Need help. I tried using an awk command to pad zeroes. Unfortunately, the "|" pipe delimited character is gone when I tried to write the records to another file.
awk -F \| ' {$1=sprintf("%06s", $1); print $0}' $CUSTFINAL2 > $CUSTFINAL3
BEFORE
"KEYRECORD"|"SA ID"|"PER ID"|"SP ID"|"ACCT... (3 Replies)