- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ps ax
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2003 03:01 AM
11-09-2003 03:01 AM
a select all processes on a terminal, includÂing those of other users
x select processes without controlling ttys
can anybody explain to me what these two mean, i don't understand what man page says.
thanks,
on redhat, but should be same on hpux.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2003 03:35 AM
11-09-2003 03:35 AM
Solution-a Select all processes except process group leaders and processes not associated with a terminal.
This option selects those processes who are not process group leaders and having a controlling terminal. The suitable example is a daemon. Since daemon needs to run the background and should not be affected by any signals generated for the shells/terminals. Say, if you start a daemon from a termainal and quit that terminal, the daemon continues to run. They are indicated by the ? mark in 6th column.
-x represents the extended format of the ps command where you can see the full command line. Before that we used to get only 255 chars max.
In RH Linux, -a selects all except session leaders and -x selects all except controlling ttys which is when combined equivalent to -a of hpux.
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2003 02:54 AM
11-11-2003 02:54 AM
Re: ps ax
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2003 03:01 AM
11-11-2003 03:01 AM
Re: ps ax
I think Umapathy did about as good a job of explaining as you're going to get when you post a Linux question on an HP-UX forum. You might want to try the Linux forum and see what they can contribute.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2003 03:04 AM
11-11-2003 03:04 AM
Re: ps ax
but I'm not so clean on Linux. if I type:
ps ax | grep rpc
rpc.stad will be listed, which is not expected, since it is a daemon, and not a particular tty assoicated.
Also, I checked manpage, and there is no "x" option on HPUX.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2003 03:05 AM
11-11-2003 03:05 AM
Re: ps ax
Imho ps -ax under linux doesnt give the same as on HPUX, its what I used to type on my slackware some time ago or on SUNOS4.XX, its closest output HPUX point of view would be:
ps -ef...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2003 03:08 AM
11-11-2003 03:08 AM
Re: ps ax
You must have an older system. My man page for ps says:
" -x Shows the command line in extended format."
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2003 04:56 AM
11-11-2003 04:56 AM
Re: ps ax
The command ps -ef is right.
In my old system (if remember good) i have used ps -edalf.
Bruno