12-19-2012
Quote:
Stick the data in an RDBMS and sum it there in SQL with simple web page reports.
I had a pretty interesting time trying to use data points in a chart in MS Excel too - I didn't realise it was limited to 255 points!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I have a very large text file with about 2 million lines.
Each of the lines starts like..
SNP_12345678 A 1212, 121, 343, ...
SNP_12345678 B 4567, 567, 454, ...
and so on.
I want to extract specific SNPs and plot them by GNUplot or excel.
The file is too large to be opened by text... (1 Reply)
Discussion started by: genehunter
1 Replies
2. Shell Programming and Scripting
Hello All,
I have a file in the following format. I want to extract the date(020090930, 020090929) in the string "STPAGE020090930" and "STPAGE020090929" and prefix it to all lines below them. The output must be put into a new file.
STPAGE020090930
xyzz aalc... (3 Replies)
Discussion started by: john2022
3 Replies
3. Shell Programming and Scripting
Hi,
I have one file, say file 1, that has data like below where 19900107 is the date,
19900107 12 144 129 0.7380047
19900108 12 168 129 0.3149017
19900109 12 192 129 3.2766666E-02
... (3 Replies)
Discussion started by: Wynner
3 Replies
4. Shell Programming and Scripting
Hi ,
I have to create a db2 connection for the while loop in shell scripting.
Below is the connection for DB2 I have to establish
connect to TABLESCHENMA user $USERID using $PASSWORD
Below is the while loop.
while read TABLE; do
db2 LOAD CLIENT FROM
$DIRECTORY/$TABLE.ixf OF ixf INSERT... (1 Reply)
Discussion started by: vikyalex4
1 Replies
5. Shell Programming and Scripting
Hi friends,
This is sed & awk type question.
I have a text file which has numbers spread all over the file. I want to sum the series of numbers whenever i find it and produce an output file with the sum. For example
###start of input text file ####
abc
def
ghi
1
2
3
4
kjld
random... (3 Replies)
Discussion started by: kaaliakahn
3 Replies
6. Shell Programming and Scripting
Hi friends,
This is sed & awk type question. It is slightly different from my previous question.
I have a text file which has numbers spread all over the file. I want to sum the series of numbers (but no more than 10 numbers in series) whenever i find it and produce an output file with the... (4 Replies)
Discussion started by: kaaliakahn
4 Replies
7. Shell Programming and Scripting
I need to graph data that's in a file. however, i only know of a way to graph data as it comes (meaning, as it is spat out by whatever process or job). i dont know how to graph data in a file.
im using rrdtool to graph data. and i was wondering if anyone know of a way to pass a file (the... (3 Replies)
Discussion started by: SkySmart
3 Replies
8. Shell Programming and Scripting
Please Help (novice to PERL and SHELL scripting)…. Need to create a script which removes all lines in $filename = "cycle_calendar_ftp_out" older than current date – a variable which will be a number of days passed to script. For Ex it will look at the end date which is the last field (4) and... (2 Replies)
Discussion started by: m3pwr
2 Replies
9. Shell Programming and Scripting
I have a file like below.
2018.07.01, Sunday
09:27 some text 123456789 0 21 0.06 0.07 0.00
2018.07.02, Monday
09:31 some text 123456789 1 41 0.26 0.32 0.00
09:39 some text 456789012 1 0.07 0.09 0.09
09:45 some text 932469494 1 55 0.29 0.36 0.00
16:49 some text 123456789 0 48 0.12 0.15 0.00... (9 Replies)
Discussion started by: father_7
9 Replies
10. Shell Programming and Scripting
I've been struggling with this one for quite a while and cannot seem to find a solution for this find/replace scenario. Perhaps I'm getting rusty.
I have a file that contains a number of metrics (exactly 3 fields per line) from a few appliances that are collected in parallel. To identify the... (3 Replies)
Discussion started by: verdepollo
3 Replies
pool(3erl) Erlang Module Definition pool(3erl)
NAME
pool - Load Distribution Facility
DESCRIPTION
pool can be used to run a set of Erlang nodes as a pool of computational processors. It is organized as a master and a set of slave nodes
and includes the following features:
* The slave nodes send regular reports to the master about their current load.
* Queries can be sent to the master to determine which node will have the least load.
The BIF statistics(run_queue) is used for estimating future loads. It returns the length of the queue of ready to run processes in the
Erlang runtime system.
The slave nodes are started with the slave module. This effects, tty IO, file IO, and code loading.
If the master node fails, the entire pool will exit.
EXPORTS
start(Name) ->
start(Name, Args) -> Nodes
Types Name = atom()
Args = string()
Nodes = [node()]
Starts a new pool. The file .hosts.erlang is read to find host names where the pool nodes can be started. See section Files below.
The start-up procedure fails if the file is not found.
The slave nodes are started with slave:start/2,3 , passing along Name and, if provided, Args . Name is used as the first part of the
node names, Args is used to specify command line arguments. See slave(3erl) .
Access rights must be set so that all nodes in the pool have the authority to access each other.
The function is synchronous and all the nodes, as well as all the system servers, are running when it returns a value.
attach(Node) -> already_attached | attached
Types Node = node()
This function ensures that a pool master is running and includes Node in the pool master's pool of nodes.
stop() -> stopped
Stops the pool and kills all the slave nodes.
get_nodes() -> Nodes
Types Nodes = [node()]
Returns a list of the current member nodes of the pool.
pspawn(Mod, Fun, Args) -> pid()
Types Mod = Fun = atom()
Args = [term()]
Spawns a process on the pool node which is expected to have the lowest future load.
pspawn_link(Mod, Fun, Args) -> pid()
Types Mod = Fun = atom()
Args = [term()]
Spawn links a process on the pool node which is expected to have the lowest future load.
get_node() -> node()
Returns the node with the expected lowest future load.
FILES
.hosts.erlang is used to pick hosts where nodes can be started. See net_adm(3erl) for information about format and location of this file.
$HOME/.erlang.slave.out.HOST is used for all additional IO that may come from the slave nodes on standard IO. If the start-up procedure
does not work, this file may indicate the reason.
Ericsson AB stdlib 1.17.3 pool(3erl)