10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello
i am stuck with this.
i have input which is as follows
/type/work /works/OL10627594W 3 2019-04-24T16:46:21.351549 {"created": {"type": "/type/datetime", "value": "2009-12-11T03:18:17.488715"}, "title": "Tog the dog", "covers": , "last_modified": {"type":... (3 Replies)
Discussion started by: ahfze
3 Replies
2. Shell Programming and Scripting
I have a variable and assigned the following values
***XYZ_201519_20150929140642_20150929140644_211_0_0_211
I need to read this variable from backward and stop read when I get first underscore (_)
In this scenario I should get 211
Thanks
Kris (3 Replies)
Discussion started by: mkris
3 Replies
3. Shell Programming and Scripting
Hi Guru's,
I am new to shell scripting. I have a unique requirement:
The system generates a single pdf(/tmp/ABC.pdf) file with Invoices for Multiple Customers, the format is something like this:
Page1 >> Customer 1 >>Invoice1 + invoice 2 >> Page1 end
Page2 >> Customer 2 >>Invoice 3 + Invoice 4... (3 Replies)
Discussion started by: DIps
3 Replies
4. Shell Programming and Scripting
I have an input file with contents like:
./prbru6/12030613.LOG:24514|APPL|prbru6.8269.RTUDaemon.1|?|13:49:56|12/03/06|GMT+3|?|RTUServer Error:Count of Internal Error Qty (-1) < 0, for Audit group id - 1L5XVJ6DQE36AXL, after record number,1, File: EventAuditor.cc, Line: 394|? ... (5 Replies)
Discussion started by: rkrish
5 Replies
5. Shell Programming and Scripting
I'm using Mail::Internet module, which will basically filter through email content and extract the body of the message
my perl script to extract the body of the email
#!/usr/bin/perl -w
use Mail::Internet;
@lines = <STDIN>;
$mi_obj = new Mail::Internet();
... (2 Replies)
Discussion started by: amlife
2 Replies
6. Shell Programming and Scripting
310439 2012-01-11 03:44:42,291 INFO PutServlet:? - Content of the Message is:="1.0" encoding="UTF-8"?><ESP_SSIA_ACC_FEED>
310440 <BATCH_ID>12345678519</BATCH_ID>
310441 <UID>3498748823</UID>
310442 <FEED_TYPE>FULL</FEED_TYPE>
310443 <MART_NAME>SSIA_DM_TRANSACTIONS</MART_NAME>
310444... (11 Replies)
Discussion started by: arukuku
11 Replies
7. Shell Programming and Scripting
Please suggest a method (in c shell or any other shell) to implement following:
-To read file1.txt (sample file1 given below)
-To save name field in a variable <name>
-To save parameter field in a variable <parameter>
for ex. let a line in file1.txt be :
bill height weight
the extracted... (12 Replies)
Discussion started by: animesharma
12 Replies
8. Shell Programming and Scripting
My input file:
>sequence_1
ASSSSSSSSSSSDDDDDDDDDDDCCCCCCC
ASDSFDFFDFDFFWERERERERFSDFESFSFD
>sequence_2
ASDFDFDFFDDFFDFDSFDSFDFSDFSDFDSFASDSADSADASD
ASDFFDFDFASFASFASFAFSFFSDASFASFASFAFS
>sequence_3
VEDFGSDGSDGSDGSDGSDGSDGSDG
dDFSDFSDFSDFSDFSDFSDFSDFSDF
SDGFDGSFDGSGSDGSDGSDGSDGSDG
My... (22 Replies)
Discussion started by: patrick87
22 Replies
9. Shell Programming and Scripting
Hi Everyone,
I have a file with the below content:
File1.txt
======
###
###==> the below table was created for testing1 purpose;
###
create table 123
(
field1 date,
field2 char(10)
primary key(field1)
);
###
###==> the below table was created... (5 Replies)
Discussion started by: nr_shan
5 Replies
10. Shell Programming and Scripting
please help for the following task...
I have to extract the mac address & IP address from the file1:
...
0100004512EEF4 03 192.168.0.7 192.168.0.1 -1 ...
0100779hF5D212 03 192.168.0.8 192.168.0.1 -1 ...
0100789lF5D212 03 192.168.0.9 192.168.0.1 -1 ...
...
change the format (addidng... (15 Replies)
Discussion started by: fredao
15 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)