Sponsored Content
Top Forums UNIX for Dummies Questions & Answers how much we can pipe in shell prompt ? Post 302354591 by Corona688 on Friday 18th of September 2009 05:45:31 PM
Old 09-18-2009
There's no arbitrary limit beyond whatever limit your system has for how many processes one user is allowed to create, how much memory one user is allowed to use, and how many pipes the kernel can keep around at once. You'd probably be allowed a few dozen at minimum before the system started refusing you, depending on what the processes actually are and what limits your sysop has set.

But that doesn't make it a good idea. Joining dozens of processes in a pipe-chain would be very inefficient since each one would need to take turns running and reading and writing. What is the goal here? There's probably a better way to do it.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

No shell prompt?

When I login to a specific machine (running Solaris 2.8; actually serveral machines behave this way), with a known good account, I don't get any shell prompt, and no screen responses to various commands such as ID and PWD. Any ideas on what is causing this, and how to change this behavior? (2 Replies)
Discussion started by: Mufasa
2 Replies

2. UNIX for Dummies Questions & Answers

prompt in sh shell

Hi, I´m using SCO Unix 5.0.5 and I want to configure de variable PS1, so when I type the command: cd /etc/ the prompt shows /etc/_> Is that possible with sh shell? I´ll appreciate your help. Thanks, a Happy New Year! (1 Reply)
Discussion started by: diegoe
1 Replies

3. UNIX for Dummies Questions & Answers

shell specific prompt

currently, I set my prompt in my .cshrc file as: set prompt = "%B%h %m %P %/ \n% " I have to use certain shells for some specific tasks and would like to set different prompts depending on the type of shell that I am using. Any advice? Thanks (3 Replies)
Discussion started by: dranNfly
3 Replies

4. UNIX for Advanced & Expert Users

Weird in Shell Prompt

Hi, I saw something in weird in Shell prompt. I did the following steps 1) Typed ls -l and pressed ESC without entering 2) Typed "v" (please notice that I did not type "i" after "v"), which opened vi editor 3) I see the "ls -l" command that I typed in shell prompt 4) Without modifying... (6 Replies)
Discussion started by: bobbygsk
6 Replies

5. Shell Programming and Scripting

Interactive shell through a pipe

I'm new to working with pipes, so I don't know whether the following is expected behaviour or a bug on the part of an application. Since Version 0.47, Inkscape provides a non-GUI interactive shell mode of operation. I am trying to time the program's performance in converting SVG files to PNG... (1 Reply)
Discussion started by: ccprog
1 Replies

6. Shell Programming and Scripting

Changing the shell prompt

Hi, I want to change the shell prompt, using the cd command. I have a shell prompt like this - p78-mfx(dgaw1078/9781)$ Now i do this - p78-mfx(dgaw1078/9781)$ cd log4j here the shell prompt should change like this - p78-mfx(dgaw1078/9781)log4j$ (6 Replies)
Discussion started by: arunkumarmc
6 Replies

7. AIX

Shell Scripting (prompt off)

Dear all experts, I have a script written to compress a list of files, during compressing, some of the files are having same name. When the compressing started, the same name file will be prompted with message whether to overwrite the old file. I need to enter "y" to continue. Is there any way I... (7 Replies)
Discussion started by: kwliew999
7 Replies

8. Shell Programming and Scripting

RFC - Korn shell prompt

Hi, I am learning shell scripting for the first time. I use AT&T Korn Shell, Version AJM 93u+ 2012-08-01, compiled from source on NetBSD. So far I have managed to set up what I think is a useful and pleasing shell prompt, which can be seen in the image attached to this post. The prompt is... (2 Replies)
Discussion started by: gezley
2 Replies

9. Homework & Coursework Questions

How to create one's own pipe in one's own shell?

Good evening, I'm trying to do my own shell and I encountered some issues while creating it. Indeed when I try such a command I have DAUPHINE> DAUPHINE> ls -l | grep terminal > fichier DAUPHINE> cat fichier My shell is named DAUPHINE Whereas I should have: Code: ... (0 Replies)
Discussion started by: AntoineCompagni
0 Replies
aio_max_ops(5)							File Formats Manual						    aio_max_ops(5)

NAME
aio_max_ops - maximum number of POSIX async I/O operations that can be queued at any time VALUES
Failsafe Default Allowed values The minimum value allowed is The maximum value allowed is The value is further constrained in that it must be greater than or equal to Specify a positive integer value. DESCRIPTION
This parameter places a limit on the system resources that can be consumed if large numbers of POSIX asynchronous I/O operations are queued on the system at the same time. This parameter limits the ability of competing processes to overwhelm the system with large numbers of asynchronous I/O operations and the memory they require. Each enqueued asynchronous operation requires allocation of system memory for its internal control structure, thus making this limit neces- sary. In addition to the system-wide limit, there is a per-process limit that is controlled using the argument to and calls. limits the number of operations that can be contained in a single call from a given process, and the value of must be sufficient to meet the reasonable needs of all processes that are making simultaneous or nearly simultaneous calls without jeopardizing overall system bal- ance. Who Is Expected to Change This Tunable? System administrators that run applications requiring heavy usage of POSIX AIO to file systems. Restrictions on Changing This tunable is dynamic (tuning will take effect immediately on the running system). What Other Tunables Should Be Changed at the Same Time as This One? The value assigned to must be greater than or equal to WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation, some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun- able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was factory installed on your system, see at AUTHOR
was developed by HP. SEE ALSO
kctune(1M), sam(1M), gettune(2), settune(2), getrlimit(2), setrlimit(2), aio(5), aio_listio_max(5). Tunable Kernel Parameters aio_max_ops(5)
All times are GMT -4. The time now is 03:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy