Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rdmsr(1) [debian man page]

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)
Man Page

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Padding

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)
Discussion started by: vijaygopalsk
2 Replies

2. AIX

lsuser -c "ALL" - Output of this command

Can anyone let me know the output of this command in AIX system: lsuser -c "ALL" (3 Replies)
Discussion started by: Malar
3 Replies

3. Shell Programming and Scripting

printing format for hexadecimal signed number

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)
Discussion started by: user_prady
10 Replies

4. Shell Programming and Scripting

Help needed in padding leading zeros

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)
Discussion started by: jakSun8
12 Replies

5. Programming

how to check and remove leading zeroes from the buffer using c program

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)
Discussion started by: amitpansuria
1 Replies

6. Shell Programming and Scripting

converting decimal in other systems with bc

Hallo, how can I convert number systems with bc? I need to convert a decimal number to octal, dual or hex number... (2 Replies)
Discussion started by: wiseguy
2 Replies

7. Shell Programming and Scripting

Remove leading zeroes in 2nd field using sed

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)
Discussion started by: pchang
18 Replies

8. Homework & Coursework Questions

Problem with simple octal to decimal code

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)
Discussion started by: qf_woodfox
3 Replies

9. Shell Programming and Scripting

help in retaining leading zero

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)
Discussion started by: udelalv
2 Replies

10. Shell Programming and Scripting

Pad zeroes first field in a Delimited file

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)
Discussion started by: johnhips
3 Replies