Sponsored Content
Full Discussion: Subtotal in UNIX
Top Forums Shell Programming and Scripting Subtotal in UNIX Post 302901794 by alister on Thursday 15th of May 2014 03:56:56 PM
Old 05-15-2014
There is not a single comma in your sample input data.

Please stop using icode for everything you type. Use code only for code and data.

I recommend that you start over with data that actually reflects what you're telling us.

And, finally, what have you tried to solve the problem?

Regards,
Alister
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

UNIX problem? Unix programm runs windows 2000 CPU over 100%

Okee problems...!! What is happening: Unix server with some programms, workstations are windows 2000, the workstations work good but when you start a programm on the Unix server the CPU of the workstations go to 100% usage resulting that the system gets very slow. The programm well its running so... (2 Replies)
Discussion started by: zerocool
2 Replies

2. UNIX for Advanced & Expert Users

missing Path(in UNIX) when i launch a job on to unix machine using windows SSh

hi i want run an unix application from a windows program/application.i am using SSH(command line version)to log on to a unix machine from windows. the application has to read a configuration file inorder to run. the configuration file .CFG is in bin in my home directory. but the application... (1 Reply)
Discussion started by: megastar
1 Replies

3. Shell Programming and Scripting

FTP script for sending a file from one unix directory to another unix server director

Hi, My local server is :/usr/abcd/ Remote server is :/Usr/host/test/ I want to send files from local unix directory(All files starting with O_999) to remote host unix directory. Can any body give me the Unix Shell script to do this. One more doubt: Shall we need to change the file... (1 Reply)
Discussion started by: raja_1234
1 Replies

4. Shell Programming and Scripting

subtotal columns

Hello I have a file that has two (or more) different types of records I want to total. How would I do this using awk? The file may contain several dozen records. The records are sorted on the database column - what I want to do is get the amount of space that each table has in that database... (5 Replies)
Discussion started by: stonemonolith
5 Replies

5. Shell Programming and Scripting

Batch job in unix server to move the pdf file from unix to windows.

Hi Experts, I have a requirement where i need to setup a batch job which runs everymonth and move the pdf files from unix server to windows servers. Could some body provide the inputs for this. and also please provide the inputs on how to map the network dirve in the unix like that... (1 Reply)
Discussion started by: ger199901
1 Replies

6. UNIX for Dummies Questions & Answers

How do you subtotal lines in a file? Awk?

I have a file with 8 fields. I need the subtotals for fields 7 & 8 when field 5 changes. cat wk1 01/02/2011/18AB/17/18/000000071/000000033 01/02/2011/18AB/17/18/000000164/000000021 01/02/2011/18AB/17/18/000000109/000000023 01/02/2011/28FB/04/04/000000000/000000000... (2 Replies)
Discussion started by: MS75001
2 Replies

7. UNIX for Dummies Questions & Answers

How does unix system administration, unix programming, unix network programming differ?

How does unix system administration, unix programming, unix network programming differ? Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies

8. Shell Programming and Scripting

File Transfer from Window server to UNIX and UNIX to UNIX

Dear All, Can someone help to command or program to transfer the file from windows to Unix server and from one unix server to another Unix server in secure way. I would request no samba client. (4 Replies)
Discussion started by: yadavricky
4 Replies

9. Shell Programming and Scripting

How to add subtotal and total according 3rd field mentioned below table?

111AKKK|SHA|20|25 111|AKKK|SHA|15|35 112|ABC|FL|25|45 112|ABC|FL|15|15 115|AKKK|ASH|10|15 115|AKKK|ASH|20|20 112|ABC|FL|25|20 115|AKKK|ASH|30|35 111|AKKK|SHA|10|45 112|ABC|KL|15|15 112|ABC|KL|20|25 115|AKKK|ASH|30|35 please write a shell script output should be below mentioned... (26 Replies)
Discussion started by: udhal
26 Replies
QwtSamplingThread(3)						 Qwt User's Guide					      QwtSamplingThread(3)

NAME
QwtSamplingThread - A thread collecting samples at regular intervals. SYNOPSIS
#include <qwt_sampling_thread.h> Public Slots void setInterval (double interval) void stop () Public Member Functions virtual ~QwtSamplingThread () double interval () const double elapsed () const Protected Member Functions QwtSamplingThread (QObject *parent=NULL) virtual void run () virtual void sample (double elapsed)=0 Detailed Description A thread collecting samples at regular intervals. Contiounous signals are converted into a discrete signal by collecting samples at regular intervals. A discrete signal can be displayed by a QwtPlotSeriesItem on a QwtPlot widget. QwtSamplingThread starts a thread calling perodically sample(), to collect and store ( or emit ) a single sample. See also: QwtPlotCurve, QwtPlotSeriesItem Constructor &; Destructor Documentation QwtSamplingThread::~QwtSamplingThread () [virtual] Destructor. QwtSamplingThread::QwtSamplingThread (QObject *parent = NULL) [explicit, protected] Constructor. Member Function Documentation double QwtSamplingThread::elapsed () const Returns: Time (in ms) since the thread was started See also: QThread::start(), run() double QwtSamplingThread::interval () const Returns: Interval (in ms), between 2 calls of sample() See also: setInterval() void QwtSamplingThread::run () [protected, virtual] Loop collecting samples started from QThread::start() See also: stop() virtual void QwtSamplingThread::sample (doubleelapsed) [protected, pure virtual] Collect a sample Parameters: elapsed Time since the thread was started in miliseconds void QwtSamplingThread::setInterval (doubleinterval) [slot] Change the interval (in ms), when sample() is called. The default interval is 1000.0 ( = 1s ) Parameters: interval Interval See also: interval() void QwtSamplingThread::stop () [slot] Terminate the collecting thread See also: QThread::start(), run() Author Generated automatically by Doxygen for Qwt User's Guide from the source code. Version 6.0.0 Fri Apr 15 2011 QwtSamplingThread(3)
All times are GMT -4. The time now is 02:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy