LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-14-2012, 08:48 AM   #1
jayakumar01
Member
 
Registered: Nov 2011
Posts: 106

Rep: Reputation: Disabled
Grep commands hangs in ubuntu 10.04


Dear all,

My Linux box Centos 6.2 Get hangs when i execute grep command .when i hits ps aux it works ,But fails to exe these command ps aux | grep "tomcat"

Even i could int restart any service httpd,tomcat are getting hangs on restart .

Service httpd restart -Get hangs
ps aux | grep "tomcat" -Get hangs
 
Old 06-14-2012, 08:57 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Please post the exact commands and the result (copy and paste from the terminal,and put into [CODE] tags (go to advanced edit mode, select the text, and click on the "#" symbol.)
 
Old 06-14-2012, 09:17 AM   #3
jayakumar01
Member
 
Registered: Nov 2011
Posts: 106

Original Poster
Rep: Reputation: Disabled
I Never Getting result for the following two commands

Service httpd restart -Get hangs and then it never restarts
ps aux | grep "tomcat" -Get hangs and then it delivers no output
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] sed & grep commands help fortran Programming 8 03-26-2012 02:14 PM
LXer: 5 grep like commands LXer Syndicated Linux News 0 06-09-2011 12:40 AM
[SOLVED] grep commands casualzone Linux - Software 4 05-06-2011 04:22 AM
Commands and Common Expressions-ls/grep rtrahan Linux - Newbie 4 02-17-2009 07:48 AM
grep / which commands ptreves Linux - General 9 08-31-2004 05:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration