PLEX86  x86- Virtual Machine (VM) Program
 Plex86  |  CVS  |  Mailing List  |  Download  |  Linux  |  Newsgroups

Registering values at Proc area


Your Ad Here

Your Ad Here

Sun and said:

Please don't top-post, and trim your posts. Message rearranged and trimmed for easier reading:

I'd say you're totally missing the point. proc is a pseudofilesystem designed to show-store information about currently running processes, although it now has some system configuration settings in it. Lew's comments are accurate and sensible AFAICT. Make a directory calledvar-run-$APPNAME, write stuff to individual files within that directory. It'll be a whole lot easier to do it that way. Depending on exactly what you need to store, another directory may be more appropriate thanvar-run.

Or you could use Unix shared memory if you don't want to use the filesystem--if Java provides an interface to shmopen() and other shm* functions that doesn't totally suck. Shared memory is one of the main

devolopin a mew lang........ 1751
On Thursday 29 June 2006 19:08, prashant stood up and spoke the following words to the mbuttes incomp.os.linux.misc...: Could it be that you are simply inquiring about a...

you use it at all in a Java program, you lose any hope of having that "platform independence" that Sun tried to sell everybody on. And if you know your Java program is going to run only on Linux machines, you could write it in C(++), Perl, Python, or Ruby, and have it run twice as fast and use 1-4 of the system resources. HTH,

-- Matt GThere is no Darkness in Eternity-But only Light too dim for us to see Brainbench MVP for Linux Admin mail: TRAP + SPAN don't belong ----------------------------- penguins, is Tux." --MegaHAL



Your Ad Here

List | Previous | Next

devolopin a mew lang........ 1751

Linux groups from Newsgroups

The #1 Usenet Provider on the Internet

All Businesses EVERYWHERE 1749