Search Results

Search: Posts Made By: Raj999
Forum: Linux 02-22-2016
1,641
Posted By Raj999
Arrange output of a command
Hi,

I am using a command :-
ps -auxwww 2> /dev/null | awk 'match ($0, GIN:[^ ]*/) {print substr($0, RSTART+3, RLENGTH-3)}' | sort | grep -v -F '[^' | uniq
which gives output as

3 aruau...
1,241
Posted By Raj999
Copy command
Hi ,

I am trying to take a backup of file before overwriting it with cp command, I am using the command cp -b.

-rw-rw-r-- 1 autoengine murex 0 Jan 22 07:08 a
-rw-rw-r-- 1 autoengine murex ...
1,520
Posted By Raj999
Exit status in the script
Hi all,

I am trying to use a script (a.sh) which is calling another script(b.sh).
And I want to use the exit code(set by me) of b.sh in a.sh.
I am using this in b.sh

#!/bin/sh
<-- code -->...
3,032
Posted By Raj999
Hi Ravi, It gives me the 64 bit. But...
Hi Ravi,

It gives me the 64 bit.

But why isainfo is showing both amd64 and i386 wheras uname is showin only i386.

Thanks
3,032
Posted By Raj999
Determine whether OS is 32 bit 0r 64
Hi Team,

I need to determine whether my OS is 32 bit or 64 bit.
For linux I am running :-
bash$ uname -a
Linux xxxx 2.6.32-358.el6.x86_64 #1 SMP Tue Jan 29 11:47:41 EST 2013 x86_64 x86_64...
1,578
Posted By Raj999
Default JVM Memory
Hi ,

Whenever I am starting JVM it is getting started with Xms as 256MB, which is 1/64 of the Memory available and by default this should happen.
But I want to change and start the every JVM with...
1,292
Posted By Raj999
JVM for Solaris and Linux
Hi

I am using 2 servers Linux and Solaris both 32 bits.
If I start the jvm using -Xmx2g, How much the actual heap space I will have condiering I give 128M to permGen on both Solaris and Linux.
...
12,912
Posted By Raj999
Change directory for core file
Hi,

Some of the process in th environment are producing a core file.
These core files are produced by default in the directory from which they were launched.
I want to change the default...
1,425
Posted By Raj999
Basic help
Hi ,

I need to know the difference between $((command)) and $(command) and $(($(command))).
"" and '' and ``.
I have tried searching the help files but cant able to find this.
Could you let me...
5,535
Posted By Raj999
I am getting this error:- Unrecognized...
I am getting this error:-

Unrecognized option: -XshowSettings:vm
Could not create the Java virtual machine.

I am using java 1.6 and this option is available in java 1.7
5,535
Posted By Raj999
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...
1,388
Posted By Raj999
I am using Linux(2.6.32-358.el6.x86_64) and Bash.
I am using Linux(2.6.32-358.el6.x86_64) and Bash.
1,388
Posted By Raj999
Dynamic Variable creation
I am trying to create some variables based on the input by the user, say if user entered 3 then 3 variables and if 5 then 5 variables.

I am using a for loop

for (( i=1; i <= $num; i++ ))
do...
1,416
Posted By Raj999
Hi Cragun I have used the tar -u but it is...
Hi Cragun

I have used the tar -u but it is adding the file if u specify to the tar file.
It is not updating the whole list of files in the tar.

With both tar -u and -r, I have to specify the...
1,416
Posted By Raj999
.Tar File
Hi

1) I have .tar file which i am going to extract in a particular environment.
Now the files after extracting might be changed over time and I want to take the new tar of these files to put the...
645
Posted By Raj999
Service memory
Hi

I am modifying the arguments for starting a java service.
It has some predefined arguments and I am adding my argument to increase the heap size. When starting the service my argument(Xmx256M)...
2,044
Posted By Raj999
We have created a new server using the server of...
We have created a new server using the server of crash .
We reproduce our case here and the core file is getting generated.
The core file size is around 550MB.(ulimit was unlimited)
We still don't...
1,163
Posted By Raj999
Help in Core File
Hi

I am using Linux and I have Java as well as C++ services running on it.
The ulimit -c is set to around 400Mb.
Whenever any of the service fails they produce a core file.(Actual size of core...
2,044
Posted By Raj999
Core File Generation
Hi

I am using Linux and I am using Java as well as C++ services running on it.
The ulimit -c is set to around 400Mb.
Whenever any of the service fails they produce a core file.(Actual size of...
1,061
Posted By Raj999
Thanks for the quick response. I need to know...
Thanks for the quick response.
I need to know can there be case where ${PID} and $PID be different.(No releation to the for loop).
What is the use of {} around the variable name. Does it affect the...
1,061
Posted By Raj999
Variable usage
Hi ,

I am using a simple loop:-
for PID in `ps -auxww| grep -v grep | awk '{print $2}'`
do
echo "Found : $PID : Killing..."
kill -9 ${PID}
done.

I want to know what...
Showing results 1 to 21 of 21

 
All times are GMT -4. The time now is 01:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy