"PS -ef" not getting server name with this command


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers "PS -ef" not getting server name with this command
# 1  
Old 06-17-2013
Oracle "PS -ef" not getting server name with this command

Hi All,

i am using "ps -ef|grep java" to see all process related java. Output of this command on my machine is

bash-3.00$ ps -ef|grep java
noaccess 845 1 0 Apr 12 ? 1486:31 /usr/java/bin/java -server -Xmx128m -XX:+BackgroundCompilation -XX:PermSize=32m
oracle 25678 25643 0 04:14:29 ? 8:22 /kenanudt/AIRCEL_MWT/Vishal_Baghla/Bea/jdk160_05/bin/java -server -Xms256m -Xmx
oracle 27975 27875 0 04:32:50 ? 5:03 /kenanudt/AIRCEL_MWT/Vishal_Baghla/Bea/jdk160_05/bin/java -server -Xms256m -Xmx

But its not showing name of server. Because of this i am not able to find process is related to manage server or Admin server.

Note:- While running this command on other servers showing server name properly. output on another machine is :-

bash-3.00$ ps -ef|grep java
noaccess 825 1 0 May 15 ? 74:16 /usr/java/bin/java -server -Xmx128m -XX:+UseParallelGC -XX:ParallelGCThreads=4
oracle 14794 14776 1 01:32:15 pts/8 23:58 /eaiapp1/bea10/jdk150_11/bin/java -server -Dnode.name=Cla_MS9 -Xms3072m -Xmx
oracle 16781 14748 0 01:51:58 pts/8 0:00 grep java
oracle 17205 17187 0 06:09:32 ? 308:58 /eaiapp1/bea10/jdk150_11/bin/java -server -Dnode.name=OS_MS9 -Xms3072m -Xmx307


Please help
Vishal Baghla
Vishal.Baghla@gmail.com
# 2  
Old 06-17-2013
"ps -ef" very much only reports what it sees and nothing else ... it is more likely that the oracle process running on your machine was not started with the same command line options as the oracle process running on the other machine ... you are also running different versions of the jdk which could also be a factor ...
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

2. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

3. UNIX for Dummies Questions & Answers

"Help with bash script" - "License Server and Patch Updates"

Hi All, I'm completely new to bash scripting and still learning my way through albeit vey slowly. I need to know where to insert my server names', my ip address numbers through out the script alas to no avail. I'm also searching on how to save .sh (bash shell) script properly.... (25 Replies)
Discussion started by: profileuser
25 Replies

4. UNIX for Dummies Questions & Answers

Unix "look" Command "File too large" Error Message

I am trying to find lines in a text file larger than 3 Gb that start with a given string. My command looks like this: $ look "string" "/home/patrick/filename.txt" However, this gives me the following message: "look: /home/patrick/filename.txt: File too large" So, I have two... (14 Replies)
Discussion started by: shishong
14 Replies

5. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

6. Linux

"at" command at RHEL 4.4 server is not being executed

I have Red Hat Linux 4.4 OS where i wanted to run a shell at a particular time using "at" command but the shell is not being executed and no error message is appearing on the screen. Please help Thanks in advance to all. (5 Replies)
Discussion started by: VISHAL SHARMA
5 Replies

7. Shell Programming and Scripting

Command Character size limit in the "sh" and "bourne" shell

Hi!!.. I would like to know what is maximum character size for a command in the "sh" or "bourne" shell? Thanks in advance.. Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies

8. UNIX for Advanced & Expert Users

Command Character size limit in the "sh" and "bourne" shell

Hi!!.. I would like to know what is maximum character size for a command in the "sh" or "bourne" shell? Thanks in advance.. Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies

9. UNIX for Dummies Questions & Answers

Command Character size limit in the "sh" and "bourne" shell

Hi!!.. I would like to know what is maximum character size for a command in the "sh" or "bourne" shell? Thanks in advance.. Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies
Login or Register to Ask a Question