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
04-22-2002 06:23 AM
04-22-2002 06:23 AM
ps -ef|grep ppserver
to get the pid and but I am getting 2 pids one for ppsever and second for grep, anyone give me a electric shock and weak me up how to do it.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 06:27 AM
04-22-2002 06:27 AM
Re: ps help
If i understood correctly, then this is normal. The pid which you are looking for is the one which is listed with the actual process (ppserver). The other one (grep) is the pid of your current process (ps). When you grep it, it will list all the process.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 06:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 06:34 AM
04-22-2002 06:34 AM
Re: ps help
It is definatley a hangover , grep checks for that string in the ps o/p so if the process is running then it will give you 2 o/ps one for the process and the other for the grep < process> name which is run by you and is also present in the process list.And if the process is not running then it will give you only one o/p for the grep
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 06:42 AM
04-22-2002 06:42 AM
Re: ps help
l1:/u/usr/merijn 102 > ps -Cxfs
ps: illegal option -- C
ps: illegal option -- x
ps: illegal option -- s
usage: ps [-edaflP] [-u ulist] [-g glist] [-p plist] [-t tlist] [-R prmgroup]
Exit 1
l1:/u/usr/merijn 103 > env UNIX95=1 ps -Cxfs
PID TTY TIME CMD
16303 ? 00:00 xfs
l1:/u/usr/merijn 104 >
'man ps' will help you further with many nice features you get when you set UNIX95 to 1 :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 07:01 AM
04-22-2002 07:01 AM
Re: ps help
It looks good to me.
It is normal.
I think it will be better to take todays rest of the day off. Take a rest and then you will be normal....:)....
Just kidding...
whenver you give the ps -ef | grep command, it will always return PID of grep process which has been executed. your correct PID for the process is ppserver in the last column (from results of grep out put)
-pap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 07:13 AM
04-22-2002 07:13 AM