Monitor: Read from the monitor


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Monitor: Read from the monitor
# 1  
Old 04-02-2009
Monitor: Read from the monitor

Hello,

I would like to write a script that use the display as an input.

In the display there is a list of file. I want to use it as an array and this would be the input in my script. Does somebody know how do I make it?
# 2  
Old 04-02-2009
Can you explain what you mean by "in the display there is a list of files". How did the list of files get there? Did you run another command to get them?
# 3  
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
Login or Register to Ask a Question