If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > How to get nothing but pid?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-03-02, 22:38
zhware zhware is offline
Registered User
 
Join Date: Jan 2002
Posts: 6
Exclamation

For http it is more difficult because usually there are
severel instances (child processes). Typical picture is:
httpd-+-
+- httpd
+- httpd

because httpd fork and child process handle established connection.
Reply With Quote
  #2 (permalink)  
Old 03-07-02, 16:31
bfreeman bfreeman is offline
Registered User
 
Join Date: Mar 2002
Posts: 3
You may want to investigate the "jobs" command when manipulating/stopping your own background jobs.

Cheers,
Brett.
Reply With Quote
  #3 (permalink)  
Old 03-15-02, 08:00
rw13 rw13 is offline
Registered User
 
Join Date: Mar 2002
Posts: 1
Re: How to get nothing but pid?

Hi newpaul,

did you use Solaris 2.7 or higher?
Than take a look (man) to pgrep and pkill !

Ralph
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On