Sponsored Content
Full Discussion: I need your help.
Operating Systems Solaris I need your help. Post 302233364 by jlliagre on Sunday 7th of September 2008 09:15:31 AM
Old 09-07-2008
Quote:
Originally Posted by matrixmadhan
Yes, thats right. But in the most of the cases the systems are loosely coupled by design such that each of the unit performs their job so seldom you could control the functionality or add functionality to process that is creating the log messages.
I agree it is uncommon but the OP stated he didn't want to read the output file for some reason.

If there are valid reasons not to read the file and then not to use the usual and sensible ways suggested elsewhere ("tail -f" or custom equivalent), then Solaris allows to still fulfill the requirement in at least one of these ways. The last two suggestions aren't intrusive to the process creating the log messages.

- patching the code that writes the data (only if source code is available).
- interpose a library that intercept the pattern write
- use a dtrace script to do the same

Of course, my suggestions probably do not make that much sense in this particular case as there are probably no valid reason not to read data appended to the output file. I would however support them should a very fast response time (<1s) is expected.

Eventing is faster and less demanding than polling.
 
install-solaris(1M)													       install-solaris(1M)

NAME
install-solaris - install the Solaris operating system SYNOPSIS
install-solaris install-solaris invokes the Solaris Install program. Depending on graphical capability and available memory at the time of invocation, install-solaris invokes either a text-based installer or a graphical installer. The following minimum requirements for physical memory dictate which features are available during installation: For SPARC machines: 128 MB Minimum physical memory for all installation types 128 MB Minimum physical memory required for windowing system 384 MB Minimum physical memory required for graphical-based installation For x86 machines: 256 MB Minimum physical memory for all installation types 256 MB Minimum physical memory required for windowing system 512 MB Minimum physical memory required for graphical-based installation In some cases, even if the minimum physical memory is present, available virtual memory after system startup can limit the number of fea- tures available. install-solaris exists only on the Solaris installation media (CD or DVD) and should be invoked only from there. Refer to the for more details. install-solaris allows installation of the operating system onto any standalone system. install-solaris loads the software available on the installation media. Refer to the for disk space requirements. Refer to the for more information on the various menus and selections. See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcdrom (Solaris instal- | | |lation media) | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ pkginfo(1), install(1M), pkgadd(1M), attributes(5) It is advisable to exit install-solaris by means of the exit options in the install-solaris menus. 23 Sep 2005 install-solaris(1M)
All times are GMT -4. The time now is 11:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy