All,
I have to get the process id for a specified ruby program.
(e.x) $0 returns the current process name Process.pid returns the
current
process id.So how can i get the specified program’s pid.
All,
I have to get the process id for a specified ruby program.
(e.x) $0 returns the current process name Process.pid returns the
current
process id.So how can i get the specified program’s pid.
I have to get the process id for a specified ruby program.
(e.x) $0 returns the current process name Process.pid returns the
current
process id.So how can i get the specified program’s pid.
So you want something like “lookup some other ruby program’s PID”?
-r
On Feb 5, 9:28 am, Roger P. [email protected] wrote:
I have to get the process id for a specified ruby program.
(e.x) $0 returns the current process name Process.pid returns the
current
process id.So how can i get the specified program’s pid.So you want something like “lookup some other ruby program’s PID”?
-r
Presumably, in which case you want sys-proctable.
gem install sys-proctable
Regards,
Dan
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs