11-21-2008
cheers Minkie youre a legend
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I would like to run a process in my gentoo machine from a consolte (putty) in
Windows and would like that this process keep on going when I close the console in Windows (i.e closing this session).
The process should take a long time and I do not want to leave the Windows machine running... (3 Replies)
Discussion started by: pbasil
3 Replies
2. UNIX for Advanced & Expert Users
if i have a script in my system which i need to run on remote system using ssh, how shall i do it?
One easy way to to first scp it to remote machine and then run it on remote machine using ssh.
Is there any one step way to do it. Preferably one in which i should give password only once (3 Replies)
Discussion started by: vickylife
3 Replies
3. UNIX for Advanced & Expert Users
Hi All,
This was an interview question
" There is a clean-up shell-script in one UNIX machine and it is connected to 100 other UNIX machines.
Howe can we run the script on all the 100 machines without ftping/copying the script to target machines ?
I was unable to answer, please answer if... (5 Replies)
Discussion started by: coolbhai
5 Replies
4. Shell Programming and Scripting
Hi ,
How to check whether web server is running from remote machine
How to check whether web server is running on web server itself
Can any one help me soon (1 Reply)
Discussion started by: satheeshkr_cse
1 Replies
5. Shell Programming and Scripting
I have a script called startWebLogic.sh which I was running in the background but the problem is which I used the command :- ps -elf | grep "startWebLogic.sh" | grep -v grep to find the process id but I was unable to find the process id for this script and when I checked from the front end the... (3 Replies)
Discussion started by: maitree
3 Replies
6. Shell Programming and Scripting
I am trying to run the follow command. I am running this from a korn shell script.
rsh foobar ps -fu dram | grep sshd: | grep -v grep | awk '{print $2}' | xargs -I xx kill xx
I get the PID back excluding the xargs part but after adding on the xargs part it fails to locate the PID and is... (2 Replies)
Discussion started by: juredd1
2 Replies
7. Shell Programming and Scripting
Hi,
I have an shell script program in a remote linux machine which will do some specific monitoring functionality. Also, have some C executables in that machine.
From a windows machine, I want to run the shell script program (If possible using java).
I tried with SSH for this. but, in... (1 Reply)
Discussion started by: ram.sj
1 Replies
8. OS X (Apple)
I'm in a situation where I am executing a shell script(Bash) on another machine remotely using ssh, and for various reasons sometimes need to quit it and restart it. The shell script being run does many different things, so its hard to know what process to kill on the remote machine, and even if I... (2 Replies)
Discussion started by: TheDrizzle
2 Replies
9. Shell Programming and Scripting
Hi,
I'm using expect to ssh into remote machine (i know its not the best practice), and run script "script.sh".
This "script.sh" checks whether an other process (some another script) is running and if not, it runs it as some other user.
#!/bin/bash
/usr/bin/expect << EOD
set... (5 Replies)
Discussion started by: oseri
5 Replies
10. Shell Programming and Scripting
Hi,
I wrote a KSH script and running it on HP-UX machine
I am running one script in background.
My script is at location
$HOME/myScript/test/background_sh
When I view my script in background with psu commend
> psu | grep background_sh
I see following output
UID PID PPID C ... (1 Reply)
Discussion started by: vaibhav
1 Replies
LEARN ABOUT OSF1
falsecolor
FALSECOLOR(1) FALSECOLOR(1)
NAME
falsecolor - make a false color RADIANCE picture
SYNOPSIS
falsecolor [ -i input ][ -p picture ][ -cb | -cl | -cp ][ -e ][ -s scale ][ -l label ][ -n ndivs ][ -lw lwidth ][ -lh lheight ][ -log
decades ][ -m mult ][ -pal palette ][ -r redv ][ -g grnv ][ -b bluv ]
falsecolor -palettes
DESCRIPTION
Falsecolor produces a false color picture for lighting analysis. Input is a rendered Radiance picture.
By default, luminance is displayed on a linear scale from 0 to 1000 cd/m2, where dark areas are purple and brighter areas move through
blue, green, red to yellow. A different scale can be given with the -s option. If the argument given to -s begins with an "a" for "auto,"
then the maximum is used for scaling the result. The default multiplier is 179, which converts from radiance or irradiance to luminance or
illuminance, respectively. A different multiplier can be given with -m to get daylight factors or whatever. For a logarithmic rather than
a linear mapping, the -log option can be used, where decades is the number of decades below the maximum scale desired.
A legend is produced for the new image with a label given by the -l option. The default label is "cd/m2", which is appropriate for stan-
dard Radiance images. If the -i option of rpict(1) was used to produce the image, then the appropriate label would be "Lux".
If contour lines are desired rather than just false color, the -cl option can be used. These lines can be placed over another Radiance
picture using the -p option. If the input picture is given with -ip instead of -i, then it will be used both as the source of values and
as the picture to overlay with contours. The -cb option produces contour bands instead of lines, where the thickness of the bands is
related to the rate of change in the image. The -cp option creates a posterization effect where colours are banded without the background
image showing through. The -n option can be used to change the number of contours (and corresponding legend entries) from the default
value of 8. The -lw and -lh options may be used to change the legend dimensions from the default width and height of 100x200. A value of
zero in either eliminates the legend in the output.
The -e option causes extrema points to be printed on the brightest and darkest pixels of the input picture.
The -pal option provides different color palettes for falsecolor. The current choices are spec for the old spectral mapping, hot for a
thermal scale, and pm3d for a variation of the default mapping, def. A Radiance HDR image of all available palettes can be created with
the -palettes option. The remaining options, -r, -g, and -b are for changing the mapping of values to colors. These are expressions of
the variable v, where v varies from 0 to 1. These options are not recommended for the casual user.
If no -i or -ip option is used, input is taken from the standard input. The output image is always written to standard output, which
should be redirected.
EXAMPLES
To create a false color image directly from rpict(1):
rpict -vf default.vp scene.oct | falsecolor > scene.hdr
To create a logarithmic contour plot of illuminance values on a Radiance image:
rpict -i -vf default.vp scene.oct > irrad.hdr
rpict -vf default.vp scene.oct > rad.hdr
falsecolor -i irrad.hdr -p rad.hdr -cl -log 2 -l Lux > lux.hdr
AUTHOR
Greg Ward
Axel Jacobs (Perl translation and -pal options)
ACKNOWLEDGEMENT
Work on this program was initiated and sponsored by the LESO group at EPFL in Switzerland.
SEE ALSO
getinfo(1), pcomb(1), pcompos(1), pextrem(1), pfilt(1), pflip(1), protate(1), psign(1), rpict(1), ximage(1)
RADIANCE
12/12/11 FALSECOLOR(1)