06-10-2010
Alright, I will try this.
Thanks Nate ;-)
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello everyone, say I have the following script, which contains serveral loops, if I run the script, it executes the loop one by one (after the a loop, it goes to b loop, then c, then d)
I figured I should be able to run all the loops at same time, but I don't know how, can anyone help a little... (2 Replies)
Discussion started by: fedora
2 Replies
2. Shell Programming and Scripting
Hi,
I want to run the command below in the background:
tail -f file.txt | grep "pattern"
The file file.txt will start getting its contents written after this command has started getting run.
So the flow will be like this
tail -f file.txt | grep "pattern"
#The line below will write data... (0 Replies)
Discussion started by: King Nothing
0 Replies
3. Shell Programming and Scripting
#!/bin/sh
firefox index.html
firefox secondpage.html
hey guys, im not able to open up two pages at the same time...
it always open up index.html first, and only after i close it, then the 2nd page pops up...
is there any way i can run both commands at the same time?
i appreciate any... (2 Replies)
Discussion started by: funnyguy123
2 Replies
4. UNIX for Dummies Questions & Answers
Hi all, I was just wondering if there are any consequences, or if its a problem to have a multiple scripts parsing (reading) the same file simultaneously.
For example, I have file.txt with lots of information.
cat script1.sh
grep "awesome" file1.txt > awesome.txt
cat script2.sh
grep -v... (4 Replies)
Discussion started by: torchij
4 Replies
5. Shell Programming and Scripting
Hi,
Is there a way to reflect the recent changes in the file being read when using "while read line" loop? Thanks!
script:
while read line
do
echo $line
cat x.dat|sed 's/2/6/g' > x.dat.temp
mv x.dat.temp x.dat
done < x.dat
The results is still getting below, even... (2 Replies)
Discussion started by: zzavilz
2 Replies
6. Shell Programming and Scripting
Hi
I have jobs (some 1000) defined in a file and I want to read those jobs and run a a command.
For example:
jobs.txt
abc
efg
I want to read the entire file and run the following command
Delete -JOB "abc"
Deleteing abc...
Delete -JOB "efg"
Delete efg...
Can somebody help me... (4 Replies)
Discussion started by: karan8810
4 Replies
7. Shell Programming and Scripting
i Run 2 scripts on all of around 50 nodes every day.
1.Mod_1.sh
2.Mod_2.sh
eg..
i run file with specific node no like
Mod_1.sh NODE_(node number)
Mod_2.sh NODE_(node number)
I want to run both file by using single script with unique node number.
Eg..
Mod_new.sh NODE_(node... (11 Replies)
Discussion started by: Ganesh Mankar
11 Replies
8. Shell Programming and Scripting
Hi All,
Need some help like how to exit from the script after updating the column in data base.
db2 connect to DB
STATUS=$(db2 "SELECT STATUS FROM XYZ )
echo $STATUS
Initially the status value will be '4' or 'NOT YET RUN'.
The Shell script has to run until the status value is updated... (7 Replies)
Discussion started by: sumanmca2006
7 Replies
9. Shell Programming and Scripting
Hello,
I need to run multiple shell processes simultaneously and output of the first process shall be the input of the second process but first process is never ending so both should be running in parallel. I do not wish to wait the end of the first process. I am under ubuntu 16.04.
... (3 Replies)
Discussion started by: baris35
3 Replies
LEARN ABOUT FREEBSD
acpidb
ACPIDB(8) BSD System Manager's Manual ACPIDB(8)
NAME
acpidb -- ACPI DSDT debugger
SYNOPSIS
acpidb input-file
DESCRIPTION
The acpidb utility is a debugger for the ACPI DSDT. It can parse and execute various AML methods and display the result.
COMMANDS
General-Purpose Commands
Allocations
Display list of current memory allocations
Dump Address | Namepath [Byte | Word | Dword | Qword]
Display ACPI objects or memory
EnableAcpi
Enable ACPI (hardware) mode
Help Show various help screens
History
Display command history buffer
Level DebugLevel [console]
Get/Set debug level for file or console
Locks Current status of internal mutexes
Quit or Exit
Exit the debugger
Stats [Allocations | Memory | Misc | Objects | Tables]
Display namespace and memory statistics
Tables Display info about loaded ACPI tables
Unload TableSig [Instance]
Unload an ACPI table
! CommandNumber
Execute command from history buffer
!! Execute last command again
Namespace Access Commands
Event F | G Value
Generate AcpiEvent (Fixed/GPE)
Find Name
Find ACPI name(s) with wildcards ('?' is wildcard)
Method Display list of loaded control methods
Namespace [Addr | Path] [Depth]
Display loaded namespace tree/subtree
Notify NamePath Value
Send a notification
Objects ObjectType
Display all objects of the given type
Owner OwnerId [Depth]
Display loaded namespace by object owner
Prefix [NamePath]
Set or Get current execution prefix
References Addr
Find all references to object at addr
Resources
Get and display resources
Terminate
Delete namespace and all internal objects
Thread Threads Loops NamePath
Spawn threads to execute method(s)
Control Method Execution Commands
Arguments
(Args) Display method arguments
Breakpoint AmlOffset
Set an AML execution breakpoint
Call Run to next control method invocation
Debug Namepath [Arguments]
Single Step a control method
Execute Namepath [Arguments]
Execute control method
Go Allow method to run to completion
Information
Display info about the current method
Into Step into (not over) a method call
List [OpcodeCount]
Display method ASL statements
Locals Display method local variables
Results
Display method result stack
Set A | L # Value
Set method data (Arguments/Locals)
Stop Terminate control method
Tree Display control method calling tree
<Enter>
Single step next AML opcode (over calls)
File I/O Commands
Close Close debug output file
Open Filename
Open a file for debug output
Load Filename
Load ACPI table from a file
SEE ALSO
acpi(4), acpidump(8), iasl(8)
HISTORY
The acpidb utility first appeared in the acpicatools port. It was imported for FreeBSD 5.2.
AUTHORS
The acpidb utility was written by Mitsuru Iwasaki <iwasaki@FreeBSD.org> and uses Intel ACPI-CA for the backend. This manual page was written
by Nate Lawson.
BSD
August 7, 2003 BSD