05-31-2007
Quote:
Originally Posted by matrixmadhan
Am sorry,
what is the need for 2 pipes
[...]
Logical OR.
Quote:
[...]and where do you count the number of instances ?
You don't need it when checking $count == 0 ...
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi!
I'm using a script to start a process that might run forever if some parameters are given wrong (it's part of an optimization). I would now like to have the process killed after a certain walltime in that case. So far I get it done with the following lines
./My_process.e &
pid=`ps -ef |... (3 Replies)
Discussion started by: ciwstevie
3 Replies
2. UNIX for Advanced & Expert Users
I want to find the pid ( by ps ) that has already run over 30 seconds , I know ps only show the minute/hour .
eg. the start time of the below process are 15:19 / 15:20 , but I don't know the exact time ( in term of "second" ) it start to run ( I only know the hour and minute ) , if I want to... (2 Replies)
Discussion started by: ust
2 Replies
3. Shell Programming and Scripting
how to kill the process that are idle over 30 minutes ? thx (2 Replies)
Discussion started by: ust
2 Replies
4. UNIX for Dummies Questions & Answers
Except the command "top" , is there other function / tool is used to check the process status in the system like
1. what process are running ?
2. how the CPU are allocating ?
3. how many swap is using ?
4. "
Thx. (1 Reply)
Discussion started by: ust
1 Replies
5. Shell Programming and Scripting
I want to do some operations provided the pid is active. (6 Replies)
Discussion started by: ScriptDummy
6 Replies
6. Shell Programming and Scripting
Hi..
I have this code which tells me that if a process is running or not. Actually someone on this forum help me to do it. :) But now If i want to check if the process is not running for more than 10 minutes. Does anyone know the code or syntax that checks if a process is not running for some... (1 Reply)
Discussion started by: kanexxx
1 Replies
7. Solaris
Hello guys, I have one script running that I need to keep it running 24x7 so I'd like to know how can I implement a sort of monitoring process I mean if for some reason this process dies somehow it gets automatically started again.
Thanks. (8 Replies)
Discussion started by: cerioni
8 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I am running certain weblogic instance, in which it's hard to find which instance is stopped or running after stopping the weblogic , cause process status is for all the instance is same.
A URL which shows the instance is stopped or running.
But i have major challenge to check it through... (2 Replies)
Discussion started by: posix
2 Replies
9. UNIX for Dummies Questions & Answers
I have process1 running on one machine and generating some log file. Now another process which can be launched on any machine wants to know if process1 is running or not and also in case it is running it wants to stream the logs file generated by process1 on terminal from which process2 is... (2 Replies)
Discussion started by: saurabhnsit2001
2 Replies
10. Tips and Tutorials
For the newbies, I should have posted this years ago....
Here is the standard (tiny) "bread and butter" perl script (on Linux) I use in my crontab files to insure key processes are alive ( just in case ! ) like httpd, named, sshd, etc.
The example below if for named......
... (1 Reply)
Discussion started by: Neo
1 Replies
pipes(6x) XScreenSaver manual pipes(6x)
NAME
pipes - fill the screen with a plumbing system.
SYNOPSIS
pipes [-display host:display.screen] [-visual visual] [-window] [-root] [-count 0] [-count 1] [-cycles number] [-size number] [-factory
number] [-delay number] [-no-fisheye] [-tightturns] [-db] [-fps]
DESCRIPTION
If you've ever been in the same room as a Windows NT machine, you've probably seen this GL hack. It fills the screen with a plumbing sys-
tem.
OPTIONS
-visual visual
Specify which visual to use. Legal values are the name of a visual class, or the id number (decimal or hex) of a specific visual.
-window Draw on a newly-created window. This is the default.
-root Draw on the root window.
-count 0
Curved Pipes.
-count 1
Ball Joints.
-cycles number
Number of pipe systems to draw at once. Default: 5.
-size number
Length of each pipe system. Default: 500.
-factory number
How much gadgetry to create; Useful range is 0-10. Default: 2.
-delay number
How long (in microseconds) to sleep between frames. Default: 10000.
-fisheye | -no-fisheye
Whether to use a fisheye lens.
-tightturns | -no-tightturns
Whether to allow tight turns.
-db | -no-db
Whether to double-buffer.
-fps Display the current frame rate, CPU load, and polygon count.
ENVIRONMENT
DISPLAY to get the default host and display number.
XENVIRONMENT
to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property.
SEE ALSO
X(1), xscreensaver(1)
COPYRIGHT
Copyright (C) 2002 by Marcelo Vianna. Permission to use, copy, modify, distribute, and sell this software and its documentation for any
purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice
and this permission notice appear in supporting documentation. No representations are made about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
AUTHOR
Marcelo Vianna.
X Version 11 5.15 (28-Sep-2011) pipes(6x)