Sponsored Content
Top Forums Shell Programming and Scripting Monitor: Read from the monitor Post 302303554 by mig8 on Friday 3rd of April 2009 01:35:59 AM
Old 04-03-2009
In my workplace a team works in the same project. So many files are created.

When I want to write something to a file, firstly I ask a list the last modificated files - this is on the monitor with ordial number. I only need to use this number if I want to compile my file because the list creator script uses only one tempfile to save this list (my editor script uses this file).

My problem is that there is ONLY ONE tempfile. So if another colleauge ask another list than the file is changing. It means that sometimes I open not that file what I want.

A solution is that if the editor script wouldn't use the tempfile but uses the monitor as input.
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Monitor Resolution

Guys, We are going to order the wide screen monitor with 1920*1200 resolution for one U60 in our client side, that their current graphic card is Elite3D-m6 and the higher resolution which this card supports is 1280*1024. I just want to make sure wehther we are able to work with this monitor via... (1 Reply)
Discussion started by: nikk
1 Replies

2. Solaris

PC monitor

In order to use a regular PC monitor would I need to do any configuration changes to my Ultra 5 box running Solaris 8 ? (1 Reply)
Discussion started by: mangolinux
1 Replies

3. SCO

temperature monitor

Is there command in sco unixware 7.1.3 from which i can find the temperature of the system/hardware. Something equivalent to prtdiag in solaris maybe thanks (1 Reply)
Discussion started by: gsb81
1 Replies

4. UNIX for Dummies Questions & Answers

Monitor files

I have just started UNIX administration..I want to monitor files with a specific extensions.. ie, I want to monitor .doc or .DOC files created in particular directory..The script should display (every minute) a list of those filenames created after the previous display. (1 Reply)
Discussion started by: aadi_uni
1 Replies

5. Red Hat

How can I monitor network in CentOS .5.5 , my application refuse to read sockets

Hi I have wired problem with one of my applications (servers ) , its suddenly starts to read socket and before it written back , the connection is closed this is what I see in my logs . is there any took in Linux centos that lets me see what is happening in this time frame ? (1 Reply)
Discussion started by: umen
1 Replies

6. Hardware

Fedora 16 dual monitor - dual head - automatic monitor shutdown

Hi, I am experiencing troubles with dual monitors in fedora 16. During boot time both monitors are working, but when system starts one monitor automatically shut down. It happend out of the blue. Some time before when I updated system this happend but then I booted older kernel release and... (0 Replies)
Discussion started by: wakatana
0 Replies

7. Shell Programming and Scripting

Ping Monitor

Hello, I need a simple shell script. If you can help I'd appreciate it. I'm sorry for my English. I want to send ping to 3 web site I want to send 5 ping to 3 web site result: 1- www.google.com UP 2- www.yahoo.com UP 3- www.myserver.com DOWN If myserver.com is down I want to 10... (12 Replies)
Discussion started by: tara123
12 Replies

8. Solaris

No Display on Monitor

I recently had a Sun Ultra 45 shipped to me, when it was shipped it worked fine, but now I cannot get a display on the monitor. It did get a little banged up in shipping. I monitored the POST by connecting to the TTYa port and the only thing that looks like anything is wrong is: Probing I/O... (1 Reply)
Discussion started by: Madrox72
1 Replies

9. Infrastructure Monitoring

Searching for Saas Monitor service which monitor my servers which are sitting in different providers

Sorry if this is the wrong forum Searching for Saas Monitor service which monitor my servers which are sitting in different providers . This monitor tool will take as less CPU as possible , and will send info about the server to main Dashboard. The info I need is CPU / RAM / my servers status (... (1 Reply)
Discussion started by: umen
1 Replies
ppmquantall(1)						      General Commands Manual						    ppmquantall(1)

NAME
ppmquantall - run ppmquant on a bunch of files all at once, so they share a common colormap SYNOPSIS
ppmquantall [-ext extension] ncolors ppmfile ... DESCRIPTION
Takes a bunch of portable pixmap as input. Chooses ncolors colors to best represent all of the images, maps the existing colors to the new ones, and overwrites the input files with the new quantized versions. If you don't want to overwrite your input files, use the -ext option. The output files are then named the same as the input files, plus a period and the extension text you specify. Verbose explanation: Let's say you've got a dozen pixmaps that you want to display on the screen all at the same time. Your screen can only display 256 different colors, but the pixmaps have a total of a thousand or so different colors. For a single pixmap you solve this problem with ppmquant; this script solves it for multiple pixmaps. All it does is concatenate them together into one big pixmap, run ppmquant on that, and then split it up into little pixmaps again. (Note that another way to solve this problem is to pre-select a set of colors and then use ppmquant's -map option to separately quantize each pixmap to that set.) SEE ALSO
ppmquant(1), ppm(5) BUGS
It's a csh script. Csh scripts are not portable to System V. Scripts in general are not portable to non-Unix environments. AUTHOR
Copyright (C) 1991 by Jef Poskanzer. 27 July 1990 ppmquantall(1)
All times are GMT -4. The time now is 07:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy