LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-16-2006, 05:31 AM   #1
lilili
Member
 
Registered: Jan 2006
Location: SantaBarbara
Distribution: Slackware 12.1
Posts: 196

Rep: Reputation: 30
ps command?


why do when i have opera running and i type ps in konsole i only see bash and ps?
 
Old 01-16-2006, 05:39 AM   #2
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
Try ps aux and see if that helps. Try man ps for in-depth details.

Baldrick
 
Old 01-16-2006, 07:03 AM   #3
Boby
Member
 
Registered: Feb 2004
Location: Sighisoara/Cluj-Napoca (Romania)
Distribution: CentOS 4, Fedora Core 6
Posts: 781

Rep: Reputation: 32
Try this

ps -ux | grep opera

And like Baldrick65 mentioned, read the manual
man ps
ps --help

Greetz, Boby.
 
Old 01-22-2006, 06:10 PM   #4
lilili
Member
 
Registered: Jan 2006
Location: SantaBarbara
Distribution: Slackware 12.1
Posts: 196

Original Poster
Rep: Reputation: 30
Ok I see
I have another linux machine in the house. It's running dsl and when I ps, it list all the running process so I think when I ps in slackware it should give me the same result, instead of needing aux
Thanks
 
Old 01-22-2006, 06:33 PM   #5
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
The other box is not using the intended behavior for ps. In "man ps":

Code:
By default, ps selects all processes with the same effective user ID
(EUID) as the curent user and associated with the same terminal as the
invoker.
If you'd like it to work otherwise, you can always create an alias. I'd guess that's what the other box is doing.
 
Old 01-22-2006, 09:32 PM   #6
tmillard
Member
 
Registered: Sep 2003
Distribution: Gentoo
Posts: 74

Rep: Reputation: 15
Bash Alias

Its possible your Slackware has a BASH alias setup so when you type 'ps' it translates it to 'ps ax'.

Try typing alias in a terminal window (like konsole).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 08:19 PM
Require Linux/Perl equivalent command for windows Command alix123 Programming 7 08-19-2005 03:23 AM
Why after start of a command the invitation for input next command has not appeared. ukrainet Linux - General 3 06-24-2005 09:16 AM
Key stroke/command to shut down x and go into the command prompt screen? Fear58 Linux - General 1 07-14-2004 08:14 PM
Where is Command line utility for Cups and command tutorial mossy Linux - Software 8 01-16-2004 01:24 AM


All times are GMT -5. The time now is 05:09 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration