10 More Discussions You Might Find Interesting
1. Programming
Hi,
I am not a C programmer. The only C exposure I have is reading and completing the exercises from the C (ANSI C ) Programming Language book:o
At the moment, I am using the UNIX strings command to extract information for a binary file and grepping for a particular string and the value... (3 Replies)
Discussion started by: newbie_01
3 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I have in my backup folder, files with names convention like this :
randomFileNames_13-02-2014_23h13m09+1392333189
randomFileNames_14-02-2014_02h13m09+1392343989
randomFileNames_14-02-2014_04h13m09+1392351189
etc....
Base on timestamp at end of the filename, I would to delete all the... (7 Replies)
Discussion started by: thuyetti
7 Replies
3. Shell Programming and Scripting
Dear friends,
I have two files. One with all IDs(in a single field) . And another with data(of which say field 5 is ID). I want to create an array of IDs using first file and
while reading second file if the ID appears in the array I need to print $0 else skip.
After a long gap I am... (6 Replies)
Discussion started by: paresh n doshi
6 Replies
4. UNIX for Dummies Questions & Answers
Hello I am new to scripts, codes, bash, terminal, etc.
I apologize this my be very scattered because I frankly don't have any idea where to begin and I have had trouble sleeping lately.
I have several 2GB files I wish to split.
This Code 00 00 01 BA ** ** ** ** ** ** ** ** C3 F8 00 00 01 BB 00... (17 Replies)
Discussion started by: PatrickE
17 Replies
5. Solaris
hi experts,
anyone knows how can i find a string in a multiple binary files in a multiple directories and display the file name containing the string?
i mean i have lots of folders with binary files and i am looking for specific string within one of these files i would like to know the right... (6 Replies)
Discussion started by: q8devilish
6 Replies
6. Shell Programming and Scripting
Hi All,
Iam new to unix scripting and I want a split a string into 4 characters each, leaving the last two characters and convert the splitted values into binary.
For example:
string='ffd80012ffe20000ffebfffeffea0007fff0ffd70014fff1fff0fff0fff201'
this should split as
ffd8
0012
ffe2
.
.... (5 Replies)
Discussion started by: srinivasayedla
5 Replies
7. UNIX for Advanced & Expert Users
How can i append a EBCDIC string of 100 bytes to 0th position of a binary file in UNIX. (4 Replies)
Discussion started by: param_it
4 Replies
8. Shell Programming and Scripting
Hello!
Have some problem with extract files from saved session.
File contains any kind of special/printable characters.
DATA NumberA DATA
DATA Begin
DATA1.1
DATA1.2 NumberB1 DATA1.3
DATA1.4
End DATA
DATA
DATA Begin
DATA2.1
DATA2.2 NumberB2 DATA2.3
DATA2.4
End DATA
DATA
... (4 Replies)
Discussion started by: vvild
4 Replies
9. Shell Programming and Scripting
Hi folks,
Happy new year.
I have a file 'filename' that i wd like to split basing on the contents in the last column.
The 'filename' content looks like
256772744788,9,11
256772744805,9,11
256772744792,9,11
256775543055,10,12
256782625357,9,12
256772368953,10,13
256772627735,10,13... (3 Replies)
Discussion started by: jerkesler
3 Replies
10. Shell Programming and Scripting
Dear all,
How can replace special string with another string in binary file?
Thanks&Best Regards (2 Replies)
Discussion started by: sg1207
2 Replies
ACPIDUMP(1) General Commands Manual ACPIDUMP(1)
NAME
acpidump - dump a system's ACPI tables to an ASCII file
acpixtract - convert ASCII acpidump output to raw binary table
turbostat - gather performance statistics
SYNOPSIS
acpidump [options]
acpixtract [options] [filename]
turbostat [options] [command [arg]...]
DESCRIPTION
This manual page documents briefly the acpidump , acpixtract and turbostat commands.
turbostat reads hardware registers and gather statistics on the processor clock frequency and C-state usage. Works properly on Nehalem and
newer processors and on Linux kernel 2.6.30 and later versions.
OPTIONS
acpidump options are as follow:
-a, --addr 0x1234
look for tables at this phisical address
-t, --table DSDT
only dump table with DSDT signature
-o, --output filename
redirect output from stdout to filename
-b, --binary
dump data in binary form rather than in hex-dump format
-l, --lenght 0x456
works only with --addr, dump phisical memory region without trying to understand it's contents
-s, --skip 2
skip 2 tables of the given name and output only 3rd one
-h, --help
outputs an help message
OPTIONS
acpixtract options are as follow:
-a extract all tables, not just DSDT/SSDT
-l list table summaries, do not extract
-s<Signature>
Extract all tables named <Signature>
OPTIONS
turbostat options are as follow:
-v makes turbostat more verbose
-i <sec>
polling interval, default is 5
When given a command turbostat runs it and outputs statistics gathered while the program was running.
EXAMPLES
Dump the DSDT table to the file DSDT.aml in binary format (this can be disassembled later with iasl(1)):
acpidump -b -t DSDT -o DSDT.aml
Show the FACP table:
acpidump -t FACP > FACP.dat
acpixtract -a FACP.dat
iasl -d FACP.dat
Dump and extract all ACPI tables:
acpidump -o DSDT.dat
acpixtract -a
Parse APIC tables:
acpidump -o DSDT.dat
acpixtract -sAPIC DSDT.dat
SEE ALSO
iasl(1),
AUTHOR
acpidump was written by Alexey Starikovskiy and Len Brown.
This manual page was written by Mattia Dongili <malattia@debian.org>, for the Debian project (but may be used by others).
October 19, 2005 ACPIDUMP(1)