Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How do you empty an out file while the jvm is still running? Post 302737043 by nosuchluck on Wednesday 28th of November 2012 10:19:46 AM
Old 11-28-2012
How do you empty an out file while the jvm is still running?

How do you empty an out file while the jvm is still running?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Instaling JVM

Hi Everyone I`ve just started with unix can some please help me execute this command via webmin on avirtual server or how do you execute such .bin file this is the error ./j2sdk-1_3_1_15-linux-i586.bin: not found > ls -l total 69124 -rw------- 1 root wheel 8380 May 15 18:01... (2 Replies)
Discussion started by: J.Carlos MC05
2 Replies

2. UNIX for Dummies Questions & Answers

Trying to empty file using > but the file size increasing when next append

AIX 5.3 / KSH I have a Java application which creates a log file a.log. I have a KSH script which does the following action cp a.log /directory2/b.log > a.log After this the file size goes to 0 as per "ls -l" Then next time when the application writes into this file, the file size... (4 Replies)
Discussion started by: firdousamir
4 Replies

3. AIX

JVM Setting

What should be the idle JVM setting for the LPAR having 16 GB of memory? Currently the JVM setting is set to -Xms1024M -Xmx10240M (1 Reply)
Discussion started by: aajmani
1 Replies

4. AIX

AIX JVM -32 or 64?

Friends, Can any one tell me what command should be used to check whether the JVM in AIX is 32 bit or 64 bit? Thanks, Govindh (2 Replies)
Discussion started by: Govindh.v
2 Replies

5. UNIX for Dummies Questions & Answers

Getting same exit status for empty and non empty file

Hi All, I am checking for a empty input file to do some further action , but I am getting exit status 0 in both the cases , for empty and non empty file both. The value of $? is coming 0 in if part also and else part too. #!/bin/ksh if ]; then echo "data" # exit 0 echo "$?" else... (4 Replies)
Discussion started by: mavesum
4 Replies

6. Web Development

need help about jvm

hi all i want to install apache and tomcat in unix solaris 10 so i need to konw about heap and jvm memory architecture in jdk version 4 and 5 and 6 i want one help me i searched alot and i can't find something helo me (1 Reply)
Discussion started by: maxim42
1 Replies

7. Shell Programming and Scripting

Script stops running after assigning empty string for a variable

Hi, This is the first time I see something like this, and I don't why it happens. Please give me some help. I am really appreciate it. Basically I am trying to remove all empty lines of an input.. #!/bin/bash set -e set -x str1=`echo -e "\nhaha" | grep -v ^$` #str2=`echo -e "\n" |... (4 Replies)
Discussion started by: yoyomano
4 Replies

8. UNIX for Dummies Questions & Answers

JVM Memory

Hi all, I am starting a JVM in unix and when I use ps command on the pid of process starting JVM the output is something like this :- java -Xms32M -Xmx64M -Xmx128M I need to know what would be the value of Xmx in this case. And how to check that this value be picked while starting JVM... (3 Replies)
Discussion started by: Raj999
3 Replies

9. AIX

JVM Process Name

Hi - In AIX, how do I find the Java Virtual Machine Process Name running on a particular machine? I tried ps -ef | grep java but it does not return a process name. Please help. (4 Replies)
Discussion started by: ocbit
4 Replies

10. Shell Programming and Scripting

awk to reformat output if input file is empty, but not if file has data in it

The below awk improved bu @MadeInGermany, works great as long as the input file has data in it in the below format: input chrX 25031028 25031925 chrX:25031028-25031925 ARX 631 18 chrX 25031028 25031925 chrX:25031028-25031925 ARX 632 14... (3 Replies)
Discussion started by: cmccabe
3 Replies
Scilab(1)						      General Commands Manual							 Scilab(1)

NAME
scilab-adv-cli - Scientific software package - Advanced Command Line Interpreter SYNOPSIS
scilab [ -h | -f file | -e instruction | -l lang | -mem n | -nb | -ns | -nouserstartup | -version ] This manual page documents briefly the scilab commands. scilab-adv-cli provides Scilab as a computing engine with many features. It is similar to call scilab -nw. All options of Scilab are available in this mode. OPTIONS
A complete list of options is included below. -h Show the list of options. -f file Execute the scilab script given in file argument. Note that -e and -f options are mutually exclusive. -e instruction Execute the scilab instruction given in instruction argument. Note that -e and -f options are mutually exclusive. -l lang Launch Scilab in the specified language. The lang must be the locale code (ie fr_FR, en_US...) -nb Do not display the Scilab banner at starting time. -ns Do not execute scilab.start startup file -mem N Set the initial stacksize -nouserstartup Do not execute the user startup files SCIHOME/.scilab or SCIHOME/scilab.ini. -version Print product version and exit. FILES
~/.Scilab/<Scilab_version>/.scilab The user startup script. ~/.Scilab/<Scilab_version>/scilab.ini The user startup script. ~/.Scilab/<Scilab_version>/configuration.xml The configuration of the GUI ~/.Scilab/<Scilab_version>/.history.scilab The history of commands SCI/modules/jvm/etc/jvm_options.xml Options given to the JVM SCI/etc/modules.xml List of Scilab modules SCI/etc/classpath.xml Where Scilab should load the Java libraries SCI/etc/librarypath.xml Where Scilab should look for JNI libraries AUTHOR
Scilab was written by the Scilab Consortium. This manual page was written by Sylvestre Ledru <sylvestre@debian.org>. November 18, 2008 Scilab(1)
All times are GMT -4. The time now is 10:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy