Sponsored Content
Full Discussion: I-node and sessions
Top Forums UNIX for Dummies Questions & Answers I-node and sessions Post 302488435 by hurricane on Monday 17th of January 2011 06:28:37 AM
Old 01-17-2011
This is the situation.

I wrote a very simple and small program that closes its standard output and redirects it on a file.

Another program (called "analyzer" in the previous post) does some statistics, as words' number, characters' number, ...

If I edit the file from the first process, the second process (the "analyzer") updates its statistics, while if I edit the file from editors (as TextEdit, or nano, ...), the "analyzer" doesn't update its results as long as the edited file is not explicitly saved.

Why?
 

10 More Discussions You Might Find Interesting

1. Programming

C programming sessions

Hey guys, i'm in trouble, i'm high school teacher, and a student ask me for help, he want's to know where he can study C language for his application exam. Somebody could help us? (1 Reply)
Discussion started by: eleia
1 Replies

2. UNIX for Dummies Questions & Answers

stuborn screen sessions

Being new to screen I am having real trouble with some basics. Actually when I login to a machine and type sharan :: screen -list I see the following There are screens on: 11001.pts-11.hcllnx2 (Attached) 10615.pts-11.hcllnx2 (Attached) 2 Sockets in... (0 Replies)
Discussion started by: sharanbr
0 Replies

3. Shell Programming and Scripting

script : How many sessions are there ?

Hi everybody, I need a script that shows the total number of sessions there are ... This shows how many sessions are open... echo "Number of open sessions: " w | grep :0 | wc | awk '{print $1} But how can I see how many sessions there are in total?? I hope someone can help me... ... (3 Replies)
Discussion started by: xaviraan
3 Replies

4. Solaris

Switching between sessions

Unix sys admin in training here and I was performing a rollout of java code. While rolling out my connection to the server was broken. I logged back on to the box and performed a ps -ef | grep 'user' . I could see that session and pid number. My question is was there anyway to resume or... (1 Reply)
Discussion started by: vedder191
1 Replies

5. UNIX for Dummies Questions & Answers

Automatic logging (capture screen output) of telnet/ssh sessions on a Solaris node

Hi I am working in Solaris 10 and I want to monitor logs for every telnet/ssh session that tries to connect to the server. I need these logs to be generated in a file that I can fetch using ftp. I am a new user and a stepwise detail will be great BR saGGee (3 Replies)
Discussion started by: saggee
3 Replies

6. Solaris

SVM metaset on 2 node Solaris cluster storage replicated to non-clustered Solaris node

Hi, Is it possible to have a Solaris cluster of 2 nodes at SITE-A using SVM and creating metaset using say 2 LUNs (on SAN). Then replicating these 2 LUNs to remote site SITE-B via storage based replication and then using these LUNs by importing them as a metaset on a server at SITE-B which is... (0 Replies)
Discussion started by: dn2011
0 Replies

7. Shell Programming and Scripting

Kill sessions

Hi , I am connecting to the linux redhat machine as user : APPS I would like to know how i can kill -9 , all APPS sessions beside me . Please advice Thanks (2 Replies)
Discussion started by: yoavbe
2 Replies

8. HP-UX

Idle sessions.

What kind of problems can be faced if any session which connects to unix server is open for longer time? How to find out from how much time that session is idle? :) (1 Reply)
Discussion started by: anandgodse
1 Replies

9. Homework & Coursework Questions

Accessing one UNIX node from another node of the same server

Hi Experts, I am in need of running a script from one node say node 1 via node 2. My scheduling tool dont have access to node2 , so i need to invoke the list file from node1 but the script needs to run from node2. because the server to which i am hitting, is having access only for the node... (5 Replies)
Discussion started by: arun1377
5 Replies

10. HP-UX

Mount FIle systems from node-1 onto node-2

Hi, We have HP UX service guard cluster on OS 11.23. Recently 40+ LUNs presented to both nodes by SAN team but I was asked to mount them on only one node. I created required VGs/LVs, created VxFS and mounted all of them and they are working fine. Now client requested those FS on 2nd node as... (4 Replies)
Discussion started by: prvnrk
4 Replies
JLEX(1) 						      General Commands Manual							   JLEX(1)

NAME
jlex - lexical analyser generator for Java(tm) SYNOPSIS
jlex specfile DESCRIPTION
JLex takes the language specification in specfile and generates Java(tm) source code for a lexical analyser corresponding to the specifica- tion. The lexical analyzer source code is placed in a file whose name is the name of the JLex specification file, with the string ".java" added to the end. For example, if the JLex specification file is called foo.lex, the lexical analyzer source code file that JLex produces will be called foo.lex.java.) The resulting lexical analyzer source code should be compiled with a Java compiler. This produces a lexical analyzer class file, which can then be used in your application. If the default settings have not been changed, the lexical analyzer class will be called Yylex and the class files will named Yylex.class and Yytoken.class. For more information, see the JLex manual in /usr/share/doc/jlex/manual.html. SEE ALSO
/usr/share/doc/jlex/manual.html, /usr/share/doc/jlex/bugs.html, /usr/share/doc/jlex/README. DIAGNOSTICS
jlex produces diagnostic output to inform you of its progress. BUGS
See /usr/share/doc/jlex/bugs.html for information about known bugs in JLex. Please report bugs in the Debian version of JLex to the Debian bug tracking system in the first instance. Otherwise, please contact A. Appel <appel@princeton.edu>. AUTHOR
JLex was written by Elliot Joel Berk at Princeton University. It is now maintained by C. Scott Ananian. This manual page was written by Charles Briscoe-Smith <cpbs@debian.org>, modified by Colin Watson <cjwatson@debian.org>, and is hereby con- tributed to the Public Domain. Please see the file /usr/share/doc/jlex/copyright for more information. TRADEMARK ACKNOWLEDGEMENTS
"Java" is a trademark or registered trademark of Sun Microsystems, Inc. 6 Aug 2001 JLEX(1)
All times are GMT -4. The time now is 08:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy