Sponsored Content
Top Forums UNIX for Advanced & Expert Users Performance impact of terminal output Post 302619383 by Chuck Morris on Thursday 5th of April 2012 10:38:48 AM
Old 04-05-2012
Performance impact of terminal output

Hello,

I am doing fluid simulations using OpenFOAM. This program produces a lot of output every time step.
Producing output is surely not the most time consuming part, but I wonder whether writing output to the terminal or writing it into a file is faster.

With thousands of time steps a little improvement may result in a noticeable cut in runtime.

Does anyone have experience with this?
 

10 More Discussions You Might Find Interesting

1. Programming

output to terminal

How can I write to another user's pseudo tty, but not to its current prompt position (as in open("/dev/pts007", ...) followed by write() ). Instead I would like to write to the top center of the screen using color red, for example. Like curses, but from another console. (6 Replies)
Discussion started by: andreis
6 Replies

2. Solaris

terminal output - save to file?

I have a window open on my ultra 10 - a terminal window connecting to a server. Is there any way I can log all output to this window to a log file on my ultra 10 ? (2 Replies)
Discussion started by: frustrated1
2 Replies

3. Solaris

how to redirect my output in a new terminal

Hi all, i type a command along with dtterm what i would like to have is that the output of the command to be shown in the new terminal . Any Idea on how to acheive this? (0 Replies)
Discussion started by: Sayantan
0 Replies

4. UNIX for Advanced & Expert Users

Terminal Output to a File ??

Hey, How can I transfer the terminal output to a file ? For example : command "fuser" returns the "process-id" and prints the output on the terminal, but I want that output to a file as well. How can I do that ? /clocal/mqbrkrs/user/mqsiadm/sanjay/AccessMonitor $ fuser -uf... (2 Replies)
Discussion started by: varungupta
2 Replies

5. AIX

Aix auditing : performance impact

can someone help me find out the impact of enabling audting on the entire root filesystem. does it have a major hit on the overall performance of the system Thanks so much (0 Replies)
Discussion started by: iam
0 Replies

6. Shell Programming and Scripting

Truncate terminal output

Hello Using BASH under Ubuntu 10.4 lts + XMonad My script is almost perfect but i'm stuck at the last hurdle: I need a sort of modified 'echo' which truncates its output to the width of the terminal I can find the terminal's width with 'stty size' but i dont know how to then convert input... (2 Replies)
Discussion started by: scyptnex
2 Replies

7. Shell Programming and Scripting

Long PATH, LD_LIBRARY_PATH, LIBPATH, … – what kind of performance impact do they have?

Hi, there! a long PATH... makes the OS access the disk quite often, hence there is a lot of disk I/O a long PATH... makes the OS compute a lot of ..., hence a high CPU load (Edited/added later: Yes, this is not about the lenght of the env. var., but about the number of directories listed.)... (1 Reply)
Discussion started by: Jochen_Hayek
1 Replies

8. Shell Programming and Scripting

Display-performance in terminal, bash or python?

Heyas I've been working on my project TUI (Text User Interface) for quite some time now, its a hobby project, so nothing i sit in front of 8hrs/day. Since the only 'real' programming language i knw is Visual Basic, based upon early steps with MS-Batch files. When i 'joined' linux 3 years ago,... (7 Replies)
Discussion started by: sea
7 Replies

9. Shell Programming and Scripting

Redirect output from terminal

i make a shell script. There has a line wget https://cisofy.com/files/lynis-2.1.0-88394c1affb9e23bd7390098947b3fd4b04e35e8.tar.gzWhen this line execute terminal show some text like this Resolving cisofy.com (cisofy.com)... 149.*.*.* Connecting to cisofy.com (cisofy.com)|149.*.*.*|:4444...... (4 Replies)
Discussion started by: Devils-ey3
4 Replies

10. Shell Programming and Scripting

Print Terminal Output Exactly how it Appears in the Terminal to a New Text File

Hello All, I have a text file containing output from a command that contains lots of escape/control characters that when viewed using vi or view, looks like jibberish. But when viewed using the cat command the output is formatted properly. Is there any way to take the output from the cat... (7 Replies)
Discussion started by: mrm5102
7 Replies
plot(3x)																  plot(3x)

Name
       openpl, erase, label, line, circle, arc, move, cont, point, linemod, space, closepl, box, color, dot - graphics interface

Syntax
       openpl()

       erase()

       label(s)
       char s[];

       line(x1, y1, x2, y2)

       circle(x, y, r)

       arc(x, y, x0, y0, x1, y1)

       move(x, y)

       cont(x, y)

       point(x, y)

       linemod(s)
       char s[];

       space(x0, y0, x1, y1)

       closepl()

       box(x0, x1, y0, y1)

       color(c)

       dot()

Description
       These  subroutines generate graphic output in a device-independent manner.  See for a description of their effect.  The subroutine precedes
       the other subroutines as it opens the device for writing.  The subroutine flushes the output. The and routines are used by  the	lvp16  and
       hp7475a plotters only.

       String arguments to and are null-terminated and do not contain newlines.

       Many of these functions have additional options for different output devices.  They are accessed by the options as follows:

       -lplot	     device-independent graphics stream on standard output for filters

       -lplotaed     AED 512 color graphics terminal

       -lplotbg      BBN bitgraph graphics terminal

       -lplotdumb    dumb terminals without cursor addressing or line printers

       -lplotgigi    gigi graphics terminal

       -lplotgrn     grn files

       -lplot2648    HP 2648 graphics terminal

       -lplot7221    HP 7221 graphics terminal

       -lplotimagen  Imagen laser printer (default 240 DPI resolution)

       -l300	     GSI 300 terminal

       -l300s	     GSI 300S terminal

       -l450	     DASI 450 terminal

       -l4013	     Tektronix 4013 terminal

       -l4014	     Tektronix 4014 terminal

       -llvp16	     DEC LVP16 and HP7475A plotters

See Also
       graph(1g), plot(1g), plot(5)

																	  plot(3x)
All times are GMT -4. The time now is 12:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy